pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel requests-mock provides a building block to stub ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4b3ea94a8795
branches:  trunk
changeset: 362293:4b3ea94a8795
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed May 10 17:54:09 2017 +0000

description:
requests-mock provides a building block to stub out the HTTP requests portions
of your testing code. You should checkout the docs for more information.

diffstat:

 devel/Makefile                  |   3 +-
 devel/py-requests-mock/DESCR    |   2 +
 devel/py-requests-mock/Makefile |  21 +++++++++++++
 devel/py-requests-mock/PLIST    |  62 +++++++++++++++++++++++++++++++++++++++++
 devel/py-requests-mock/distinfo |   6 +++
 5 files changed, 93 insertions(+), 1 deletions(-)

diffs (124 lines):

diff -r 58d9a5b15f6d -r 4b3ea94a8795 devel/Makefile
--- a/devel/Makefile    Wed May 10 17:42:09 2017 +0000
+++ b/devel/Makefile    Wed May 10 17:54:09 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2430 2017/05/04 07:41:47 taca Exp $
+# $NetBSD: Makefile,v 1.2431 2017/05/10 17:54:09 adam Exp $
 #
 
 COMMENT=       Development utilities
@@ -1991,6 +1991,7 @@
 SUBDIR+=       py-requests
 SUBDIR+=       py-requests-file
 SUBDIR+=       py-requests-ftp
+SUBDIR+=       py-requests-mock
 SUBDIR+=       py-requests-toolbelt
 SUBDIR+=       py-rope
 SUBDIR+=       py-rply
diff -r 58d9a5b15f6d -r 4b3ea94a8795 devel/py-requests-mock/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-requests-mock/DESCR      Wed May 10 17:54:09 2017 +0000
@@ -0,0 +1,2 @@
+requests-mock provides a building block to stub out the HTTP requests portions
+of your testing code. You should checkout the docs for more information.
diff -r 58d9a5b15f6d -r 4b3ea94a8795 devel/py-requests-mock/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-requests-mock/Makefile   Wed May 10 17:54:09 2017 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2017/05/10 17:54:10 adam Exp $
+
+DISTNAME=      requests-mock-1.3.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel www
+MASTER_SITES=  ${MASTER_SITE_PYPI:=r/requests-mock/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://requests-mock.readthedocs.org/
+COMMENT=       Mock out responses from the requests package
+LICENSE=       apache-2.0
+
+USE_LANGUAGES=         # none
+
+DEPENDS+=      ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
+DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+# TEST_DEPENDS
+#BUILD_DEPENDS+=       ${PYPKGPREFIX}-testtools-[0-9]*:../../devel/py-testtools
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 58d9a5b15f6d -r 4b3ea94a8795 devel/py-requests-mock/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-requests-mock/PLIST      Wed May 10 17:54:09 2017 +0000
@@ -0,0 +1,62 @@
+@comment $NetBSD: PLIST,v 1.1 2017/05/10 17:54:10 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}/pbr.json
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/requests_mock/__init__.py
+${PYSITELIB}/requests_mock/__init__.pyc
+${PYSITELIB}/requests_mock/__init__.pyo
+${PYSITELIB}/requests_mock/adapter.py
+${PYSITELIB}/requests_mock/adapter.pyc
+${PYSITELIB}/requests_mock/adapter.pyo
+${PYSITELIB}/requests_mock/compat.py
+${PYSITELIB}/requests_mock/compat.pyc
+${PYSITELIB}/requests_mock/compat.pyo
+${PYSITELIB}/requests_mock/contrib/__init__.py
+${PYSITELIB}/requests_mock/contrib/__init__.pyc
+${PYSITELIB}/requests_mock/contrib/__init__.pyo
+${PYSITELIB}/requests_mock/contrib/fixture.py
+${PYSITELIB}/requests_mock/contrib/fixture.pyc
+${PYSITELIB}/requests_mock/contrib/fixture.pyo
+${PYSITELIB}/requests_mock/exceptions.py
+${PYSITELIB}/requests_mock/exceptions.pyc
+${PYSITELIB}/requests_mock/exceptions.pyo
+${PYSITELIB}/requests_mock/mocker.py
+${PYSITELIB}/requests_mock/mocker.pyc
+${PYSITELIB}/requests_mock/mocker.pyo
+${PYSITELIB}/requests_mock/request.py
+${PYSITELIB}/requests_mock/request.pyc
+${PYSITELIB}/requests_mock/request.pyo
+${PYSITELIB}/requests_mock/response.py
+${PYSITELIB}/requests_mock/response.pyc
+${PYSITELIB}/requests_mock/response.pyo
+${PYSITELIB}/requests_mock/tests/__init__.py
+${PYSITELIB}/requests_mock/tests/__init__.pyc
+${PYSITELIB}/requests_mock/tests/__init__.pyo
+${PYSITELIB}/requests_mock/tests/base.py
+${PYSITELIB}/requests_mock/tests/base.pyc
+${PYSITELIB}/requests_mock/tests/base.pyo
+${PYSITELIB}/requests_mock/tests/test_adapter.py
+${PYSITELIB}/requests_mock/tests/test_adapter.pyc
+${PYSITELIB}/requests_mock/tests/test_adapter.pyo
+${PYSITELIB}/requests_mock/tests/test_custom_matchers.py
+${PYSITELIB}/requests_mock/tests/test_custom_matchers.pyc
+${PYSITELIB}/requests_mock/tests/test_custom_matchers.pyo
+${PYSITELIB}/requests_mock/tests/test_fixture.py
+${PYSITELIB}/requests_mock/tests/test_fixture.pyc
+${PYSITELIB}/requests_mock/tests/test_fixture.pyo
+${PYSITELIB}/requests_mock/tests/test_matcher.py
+${PYSITELIB}/requests_mock/tests/test_matcher.pyc
+${PYSITELIB}/requests_mock/tests/test_matcher.pyo
+${PYSITELIB}/requests_mock/tests/test_mocker.py
+${PYSITELIB}/requests_mock/tests/test_mocker.pyc
+${PYSITELIB}/requests_mock/tests/test_mocker.pyo
+${PYSITELIB}/requests_mock/tests/test_request.py
+${PYSITELIB}/requests_mock/tests/test_request.pyc
+${PYSITELIB}/requests_mock/tests/test_request.pyo
+${PYSITELIB}/requests_mock/tests/test_response.py
+${PYSITELIB}/requests_mock/tests/test_response.pyc
+${PYSITELIB}/requests_mock/tests/test_response.pyo
diff -r 58d9a5b15f6d -r 4b3ea94a8795 devel/py-requests-mock/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-requests-mock/distinfo   Wed May 10 17:54:09 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/05/10 17:54:10 adam Exp $
+
+SHA1 (requests-mock-1.3.0.tar.gz) = d8ba2998a5ca63890bac41ca6944ac6d6da53e74
+RMD160 (requests-mock-1.3.0.tar.gz) = dc5ca05919f0f6cce52f5e7af8aed2baa3513462
+SHA512 (requests-mock-1.3.0.tar.gz) = a6de4474e3b6c3bae9e8cfefbe501842a3ca93cabec193c80cbcbf20b05fea66d6a683e3a2380697edfb77249db8a18fdc5ed51256f585c45949c0b0fbe52860
+Size (requests-mock-1.3.0.tar.gz) = 42399 bytes



Home | Main Index | Thread Index | Old Index