pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel devel/py-responses: Import py-responses 0.12.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8fc201fbc271
branches:  trunk
changeset: 442990:8fc201fbc271
user:      riastradh <riastradh%pkgsrc.org@localhost>
date:      Fri Dec 04 23:24:56 2020 +0000

description:
devel/py-responses: Import py-responses 0.12.1

A utility library for mocking out the requests Python library.

diffstat:

 devel/Makefile              |   3 ++-
 devel/py-responses/DESCR    |   1 +
 devel/py-responses/Makefile |  34 ++++++++++++++++++++++++++++++++++
 devel/py-responses/PLIST    |  10 ++++++++++
 devel/py-responses/distinfo |   6 ++++++
 5 files changed, 53 insertions(+), 1 deletions(-)

diffs (84 lines):

diff -r 585e88e6d191 -r 8fc201fbc271 devel/Makefile
--- a/devel/Makefile    Fri Dec 04 22:08:22 2020 +0000
+++ b/devel/Makefile    Fri Dec 04 23:24:56 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3280 2020/12/04 09:25:33 bsiegert Exp $
+# $NetBSD: Makefile,v 1.3281 2020/12/04 23:24:56 riastradh Exp $
 #
 
 COMMENT=       Development utilities
@@ -2544,6 +2544,7 @@
 SUBDIR+=       py-requests-mock
 SUBDIR+=       py-requests-toolbelt
 SUBDIR+=       py-requests-unixsocket
+SUBDIR+=       py-responses
 SUBDIR+=       py-restructuredtext_lint
 SUBDIR+=       py-retry_decorator
 SUBDIR+=       py-rlp
diff -r 585e88e6d191 -r 8fc201fbc271 devel/py-responses/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-responses/DESCR  Fri Dec 04 23:24:56 2020 +0000
@@ -0,0 +1,1 @@
+A utility library for mocking out the requests Python library.
diff -r 585e88e6d191 -r 8fc201fbc271 devel/py-responses/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-responses/Makefile       Fri Dec 04 23:24:56 2020 +0000
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 2020/12/04 23:24:56 riastradh Exp $
+
+GITHUB_PROJECT=        responses
+GITHUB_TAG=    0.12.1
+DISTNAME=      ${GITHUB_TAG}
+PKGNAME=       ${PYPKGPREFIX}-${GITHUB_PROJECT}-${DISTNAME}
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=getsentry/}
+DIST_SUBDIR=   ${GITHUB_PROJECT}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://pypi.org/project/responses/
+COMMENT=       Python utility library for mocking out requests
+LICENSE=       apache-2.0
+
+DEPENDS+=      ${PYPKGPREFIX}-cookies>=0:../../www/py-cookies
+DEPENDS+=      ${PYPKGPREFIX}-mock>=0:../../devel/py-mock
+DEPENDS+=      ${PYPKGPREFIX}-requests>=2.0:../../devel/py-requests
+DEPENDS+=      ${PYPKGPREFIX}-six>=0:../../lang/py-six
+DEPENDS+=      ${PYPKGPREFIX}-urllib3>=1.25.10:../../www/py-urllib3
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
+
+TEST_DEPENDS+= ${PYPKGPREFIX}-flake8>=0:../../devel/py-flake8
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-localserver>=0:../../devel/py-test-localserver
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=4.6:../../devel/py-test
+
+do-test:
+       ${RUN} \
+       cd ${WRKSRC} && \
+       ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m pytest
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 585e88e6d191 -r 8fc201fbc271 devel/py-responses/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-responses/PLIST  Fri Dec 04 23:24:56 2020 +0000
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2020/12/04 23:24:56 riastradh Exp $
+${PYSITELIB}/responses-${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/responses-${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/responses-${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/responses-${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/responses-${EGG_INFODIR}/requires.txt
+${PYSITELIB}/responses-${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/responses.py
+${PYSITELIB}/responses.pyc
+${PYSITELIB}/responses.pyo
diff -r 585e88e6d191 -r 8fc201fbc271 devel/py-responses/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-responses/distinfo       Fri Dec 04 23:24:56 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/12/04 23:24:56 riastradh Exp $
+
+SHA1 (responses/0.12.1.tar.gz) = 33297769a0b48b9be26aa18efec858d6d0caa203
+RMD160 (responses/0.12.1.tar.gz) = 0ff54d4a2ec3494802aa8ba4bd6376e570b90856
+SHA512 (responses/0.12.1.tar.gz) = f99e9a127328bd000c78d160fdd0cf8288999c47c933b185e9cce323697f2728ec28dc6dd8a4e29b55797e7fff94076190165bc63e1bc36e050027f875d95775
+Size (responses/0.12.1.tar.gz) = 24690 bytes



Home | Main Index | Thread Index | Old Index