summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-03-18 07:29:31 +0000
committeradam <adam@pkgsrc.org>2021-03-18 07:29:31 +0000
commitf0b1e07c5fa4272706cd13fa341f0560ee677fdc (patch)
treeee15853380c35cb1e693a82ef872734b4d34c0c1 /net
parentd0a53a53a578ebe86a84362fa2e5c1634419725c (diff)
downloadpkgsrc-f0b1e07c5fa4272706cd13fa341f0560ee677fdc.tar.gz
py-responses: updated to 0.13.1
0.13.1 * Fixed packages not containing type stubs. 0.13.0 * `responses.upsert()` was added. This method will `add()` a response if one has not already been registered for a URL, or `replace()` an existing response. * `responses.registered()` was added. The method allows you to get a list of the currently registered responses. This formalizes the previously private `responses.mock._matches` method. * A more useful `__repr__` has been added to `Response`. * Error messages have been improved.
Diffstat (limited to 'net')
-rw-r--r--net/py-responses/Makefile8
-rw-r--r--net/py-responses/PLIST11
-rw-r--r--net/py-responses/distinfo10
3 files changed, 17 insertions, 12 deletions
diff --git a/net/py-responses/Makefile b/net/py-responses/Makefile
index 529082298f8..62098860f41 100644
--- a/net/py-responses/Makefile
+++ b/net/py-responses/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2020/11/27 19:30:31 adam Exp $
+# $NetBSD: Makefile,v 1.19 2021/03/18 07:29:31 adam Exp $
-DISTNAME= responses-0.12.1
+DISTNAME= responses-0.13.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=r/responses/}
@@ -10,8 +10,8 @@ HOMEPAGE= https://github.com/getsentry/responses
COMMENT= Utility library for mocking out the requests Python library
LICENSE= apache-2.0
-DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
DEPENDS+= ${PYPKGPREFIX}-requests>=2.0:../../devel/py-requests
+DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
DEPENDS+= ${PYPKGPREFIX}-urllib3>=1.25.10:../../www/py-urllib3
.include "../../lang/python/pyversion.mk"
@@ -29,6 +29,8 @@ PYTHON_VERSIONED_DEPENDENCIES= test:test
USE_LANGUAGES= # none
+PYSETUPTESTTARGET= pytest
+
.include "../../lang/python/egg.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/py-responses/PLIST b/net/py-responses/PLIST
index ab1e6963295..ef3379fb5aa 100644
--- a/net/py-responses/PLIST
+++ b/net/py-responses/PLIST
@@ -1,10 +1,13 @@
-@comment $NetBSD: PLIST,v 1.2 2019/03/18 13:01:48 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2021/03/18 07:29:31 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}/responses/__init__.py
+${PYSITELIB}/responses/__init__.pyc
+${PYSITELIB}/responses/__init__.pyo
+${PYSITELIB}/responses/test_responses.py
+${PYSITELIB}/responses/test_responses.pyc
+${PYSITELIB}/responses/test_responses.pyo
diff --git a/net/py-responses/distinfo b/net/py-responses/distinfo
index 1bd57b0b59e..a5b0a03a4ee 100644
--- a/net/py-responses/distinfo
+++ b/net/py-responses/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.17 2020/11/27 19:30:31 adam Exp $
+$NetBSD: distinfo,v 1.18 2021/03/18 07:29:31 adam Exp $
-SHA1 (responses-0.12.1.tar.gz) = 447a31e182e321a7c8eaa4dd8cf7d16c695de575
-RMD160 (responses-0.12.1.tar.gz) = 112ed62b36add6c44d697b739445e693eeadb38c
-SHA512 (responses-0.12.1.tar.gz) = cc840920895c5ab02b546d6441636197e93c4dc7346a801a14d663a30a761d78a0be73e820cdd5963e52d882958d9ea7873df6fcd6c032d99a230109b5c0ddb8
-Size (responses-0.12.1.tar.gz) = 27123 bytes
+SHA1 (responses-0.13.1.tar.gz) = 9ef4dabaefc9a43b1bd429fc8f7c574466feacfa
+RMD160 (responses-0.13.1.tar.gz) = 57e090a7050e2ab62a12c5125028a2d74171f03f
+SHA512 (responses-0.13.1.tar.gz) = b6628c5890a9034c003fe1e7ea656474fa553c56fe29e025645f28d524368d4f4e65268ccb384fd514f620fc5f5d008937697161868efefb0760d56a9174e1d6
+Size (responses-0.13.1.tar.gz) = 30290 bytes