pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-requests-mock py-requests-mock: updated to 1.4.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/da26235b002a
branches:  trunk
changeset: 372551:da26235b002a
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Dec 10 08:45:40 2017 +0000

description:
py-requests-mock: updated to 1.4.0

1.4.0
-----
* allow an adapter to be passed to a Mocker object
* Rename [wheel] section to [bdist\_wheel] as the former is legacy
* Include license file in the generated wheel package
* Add testing for newer Python versions 3.5 and 3.6
* Return a separate copy for each call to decorator
* Add string representation to \_RequestObjectProxy

diffstat:

 devel/py-requests-mock/Makefile |  22 ++++++++++++----------
 devel/py-requests-mock/distinfo |  10 +++++-----
 2 files changed, 17 insertions(+), 15 deletions(-)

diffs (54 lines):

diff -r bf35978c15a1 -r da26235b002a devel/py-requests-mock/Makefile
--- a/devel/py-requests-mock/Makefile   Sun Dec 10 08:30:01 2017 +0000
+++ b/devel/py-requests-mock/Makefile   Sun Dec 10 08:45:40 2017 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2017/05/19 14:56:40 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2017/12/10 08:45:40 adam Exp $
 
-DISTNAME=      requests-mock-1.3.0
+DISTNAME=      requests-mock-1.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
-CATEGORIES=    devel www
+CATEGORIES=    devel www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/requests-mock/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -11,13 +10,16 @@
 COMMENT=       Mock out responses from the requests package
 LICENSE=       apache-2.0
 
-USE_LANGUAGES=         # none
+DEPENDS+=      ${PYPKGPREFIX}-requests>=1.1:../../devel/py-requests
+DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-pbr-[0-9]*:../../devel/py-pbr
+# TEST_DEPENDS
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-fixtures-[0-9]*:../../devel/py-fixtures
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-sphinx>=1.1.2:../../textproc/py-sphinx
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-testtools-[0-9]*:../../devel/py-testtools
 
-DEPENDS+=      ${PYPKGPREFIX}-pbr-[0-9]*:../../devel/py-pbr
-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
+USE_LANGUAGES= # none
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r bf35978c15a1 -r da26235b002a devel/py-requests-mock/distinfo
--- a/devel/py-requests-mock/distinfo   Sun Dec 10 08:30:01 2017 +0000
+++ b/devel/py-requests-mock/distinfo   Sun Dec 10 08:45:40 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2017/05/10 17:54:10 adam Exp $
+$NetBSD: distinfo,v 1.2 2017/12/10 08:45:40 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
+SHA1 (requests-mock-1.4.0.tar.gz) = 219fcfa5a33eeafc12ab5a8bf006ddbe6d7c11f4
+RMD160 (requests-mock-1.4.0.tar.gz) = 890a00cb22569b7a89fbf5145bae518587bfe1bb
+SHA512 (requests-mock-1.4.0.tar.gz) = 35c75b246126eae3acf88227300b5cfcd430b7e55a1578c47e12a85db41f0fa9920f73254ef327baaf5ff3ac4067315c35b5de76515500fa0f8379969065b9e7
+Size (requests-mock-1.4.0.tar.gz) = 42169 bytes



Home | Main Index | Thread Index | Old Index