pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/py-responses py-responses: updated to 0.13.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/46a8a10f394a
branches:  trunk
changeset: 448920:46a8a10f394a
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Mar 18 07:29:31 2021 +0000

description:
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:

 net/py-responses/Makefile |   8 +++++---
 net/py-responses/PLIST    |  11 +++++++----
 net/py-responses/distinfo |  10 +++++-----
 3 files changed, 17 insertions(+), 12 deletions(-)

diffs (67 lines):

diff -r 691e1df4847b -r 46a8a10f394a net/py-responses/Makefile
--- a/net/py-responses/Makefile Thu Mar 18 06:46:16 2021 +0000
+++ b/net/py-responses/Makefile Thu Mar 18 07:29:31 2021 +0000
@@ -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 @@
 COMMENT=       Utility library for mocking out the requests Python library
 LICENSE=       apache-2.0
 
+DEPENDS+=      ${PYPKGPREFIX}-requests>=2.0:../../devel/py-requests
 DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
-DEPENDS+=      ${PYPKGPREFIX}-requests>=2.0:../../devel/py-requests
 DEPENDS+=      ${PYPKGPREFIX}-urllib3>=1.25.10:../../www/py-urllib3
 
 .include "../../lang/python/pyversion.mk"
@@ -29,6 +29,8 @@
 
 USE_LANGUAGES= # none
 
+PYSETUPTESTTARGET=     pytest
+
 .include "../../lang/python/egg.mk"
 .include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 691e1df4847b -r 46a8a10f394a net/py-responses/PLIST
--- a/net/py-responses/PLIST    Thu Mar 18 06:46:16 2021 +0000
+++ b/net/py-responses/PLIST    Thu Mar 18 07:29:31 2021 +0000
@@ -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 -r 691e1df4847b -r 46a8a10f394a net/py-responses/distinfo
--- a/net/py-responses/distinfo Thu Mar 18 06:46:16 2021 +0000
+++ b/net/py-responses/distinfo Thu Mar 18 07:29:31 2021 +0000
@@ -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



Home | Main Index | Thread Index | Old Index