diff options
author | adam <adam@pkgsrc.org> | 2017-10-28 06:52:56 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2017-10-28 06:52:56 +0000 |
commit | c750f5ebb4b85652f622110f4589f623feeadd30 (patch) | |
tree | 69a4d8b4a3462dc6a32a689ce51739c3f0a45ec1 /net | |
parent | 316f541262dd5337e03c3737b7b47a01cca2e0ce (diff) | |
download | pkgsrc-c750f5ebb4b85652f622110f4589f623feeadd30.tar.gz |
py-responses: added version 0.8.1
A utility library for mocking out the requests Python library.
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 3 | ||||
-rw-r--r-- | net/py-responses/DESCR | 1 | ||||
-rw-r--r-- | net/py-responses/Makefile | 35 | ||||
-rw-r--r-- | net/py-responses/PLIST | 13 | ||||
-rw-r--r-- | net/py-responses/distinfo | 6 |
5 files changed, 57 insertions, 1 deletions
diff --git a/net/Makefile b/net/Makefile index cbca11f4429..1e293c487f6 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1188 2017/10/23 15:49:12 minskim Exp $ +# $NetBSD: Makefile,v 1.1189 2017/10/28 06:52:56 adam Exp $ # COMMENT= Networking tools @@ -668,6 +668,7 @@ SUBDIR+= py-portend SUBDIR+= py-ptt SUBDIR+= py-py3dns SUBDIR+= py-pydns +SUBDIR+= py-responses SUBDIR+= py-s3cmd SUBDIR+= py-s3transfer SUBDIR+= py-scp diff --git a/net/py-responses/DESCR b/net/py-responses/DESCR new file mode 100644 index 00000000000..399f8da4c4b --- /dev/null +++ b/net/py-responses/DESCR @@ -0,0 +1 @@ +A utility library for mocking out the requests Python library. diff --git a/net/py-responses/Makefile b/net/py-responses/Makefile new file mode 100644 index 00000000000..a62a21cd9eb --- /dev/null +++ b/net/py-responses/Makefile @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1 2017/10/28 06:52:56 adam Exp $ + +DISTNAME= responses-0.8.1 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= net python +MASTER_SITES= ${MASTER_SITE_PYPI:=r/responses/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/getsentry/responses +COMMENT= Utility library for mocking out the requests Python library +LICENSE= apache-2.0 + +DEPENDS+= ${PYPKGPREFIX}-cookies-[0-9]*:../../www/py-cookies +DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six +DEPENDS+= ${PYPKGPREFIX}-requests>=2.0:../../devel/py-requests + +.include "../../lang/python/pyversion.mk" + +.if "${PYPKGPREFIX}" == "py27" +DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock +.endif + +BUILD_DEPENDS+= ${PYPKGPREFIX}-coverage>=3.7.1:../../devel/py-coverage +BUILD_DEPENDS+= ${PYPKGPREFIX}-flake8-[0-9]*:../../devel/py-flake8 +BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test +BUILD_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov +BUILD_DEPENDS+= ${PYPKGPREFIX}-test-localserver-[0-9]*:../../devel/py-test-localserver + +USE_LANGUAGES= # none + +#post-install: +# cd ${DESTDIR}${PREFIX}/bin && ${MV} tldextract tldextract${PYVERSSUFFIX} || ${TRUE} + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/py-responses/PLIST b/net/py-responses/PLIST new file mode 100644 index 00000000000..cb292ec2863 --- /dev/null +++ b/net/py-responses/PLIST @@ -0,0 +1,13 @@ +@comment $NetBSD: PLIST,v 1.1 2017/10/28 06:52:56 adam Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/not-zip-safe +${PYSITELIB}/${EGG_INFODIR}/requires.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/responses.py +${PYSITELIB}/responses.pyc +${PYSITELIB}/responses.pyo +${PYSITELIB}/test_responses.py +${PYSITELIB}/test_responses.pyc +${PYSITELIB}/test_responses.pyo diff --git a/net/py-responses/distinfo b/net/py-responses/distinfo new file mode 100644 index 00000000000..35e2b268f11 --- /dev/null +++ b/net/py-responses/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2017/10/28 06:52:56 adam Exp $ + +SHA1 (responses-0.8.1.tar.gz) = 1b0f92227fe3241dbc6513f21909d96d881c5eb1 +RMD160 (responses-0.8.1.tar.gz) = 3979da32aab3daaaf31d10d74afade7c55acc038 +SHA512 (responses-0.8.1.tar.gz) = e0a12ad864674dfae38dad031dc842821eb1a9f3d623cacca4df16d6589d168ede2630afb2577b794929d5b5f16ccd2786a04c38aabe27aa93cc939ac71c4229 +Size (responses-0.8.1.tar.gz) = 16681 bytes |