pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-JWT py-JWT: updated to 1.7.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f3cc698e862d
branches:  trunk
changeset: 316000:f3cc698e862d
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Dec 02 16:21:40 2018 +0000

description:
py-JWT: updated to 1.7.0

v1.7.0
Changed
* Remove CRLF line endings

Fixed
* Update usage.rst

Added
* Support for Python 3.7

diffstat:

 textproc/py-JWT/Makefile               |  13 +++++++------
 textproc/py-JWT/distinfo               |  11 ++++++-----
 textproc/py-JWT/patches/patch-setup.py |  19 +++++++++++++++++++
 3 files changed, 32 insertions(+), 11 deletions(-)

diffs (69 lines):

diff -r bd4075dc3b46 -r f3cc698e862d textproc/py-JWT/Makefile
--- a/textproc/py-JWT/Makefile  Sun Dec 02 15:04:12 2018 +0000
+++ b/textproc/py-JWT/Makefile  Sun Dec 02 16:21:40 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2018/05/24 06:33:41 adam Exp $
+# $NetBSD: Makefile,v 1.11 2018/12/02 16:21:40 adam Exp $
 
-DISTNAME=      PyJWT-1.6.4
+DISTNAME=      PyJWT-1.7.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/Py//}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=P/PyJWT/}
@@ -11,12 +11,13 @@
 LICENSE=       mit
 
 DEPENDS+=      ${PYPKGPREFIX}-cryptography>=1.4:../../security/py-cryptography
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.7.1:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=2.5.1:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner>=4.2:../../devel/py-test-runner
 
 post-install:
-       cd ${DESTDIR}${PREFIX}/bin && ${MV} pyjwt jwt-${PYVERSSUFFIX} || ${TRUE}
+       cd ${DESTDIR}${PREFIX}/bin && \
+               ${MV} pyjwt jwt-${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r bd4075dc3b46 -r f3cc698e862d textproc/py-JWT/distinfo
--- a/textproc/py-JWT/distinfo  Sun Dec 02 15:04:12 2018 +0000
+++ b/textproc/py-JWT/distinfo  Sun Dec 02 16:21:40 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.8 2018/05/24 06:33:41 adam Exp $
+$NetBSD: distinfo,v 1.9 2018/12/02 16:21:40 adam Exp $
 
-SHA1 (PyJWT-1.6.4.tar.gz) = af424e0851954b6f2cdbdf7b561b5ffae7c38464
-RMD160 (PyJWT-1.6.4.tar.gz) = 7bd2cb64beb0801068c10222ae1e0499d4b0f152
-SHA512 (PyJWT-1.6.4.tar.gz) = 28c448d473f0409d11c2a97bef9f878800a78691250f55a46d79009b09faab0ac179133c4d4795ed9910dd7176adc9d6912189a5b4938f27ae441308e98d5e11
-Size (PyJWT-1.6.4.tar.gz) = 41694 bytes
+SHA1 (PyJWT-1.7.0.tar.gz) = 9187dbcfdcb48421622377dc177c3d15d95a29b8
+RMD160 (PyJWT-1.7.0.tar.gz) = 627a029d8f0f2b23b15d3155673fd8235582c58a
+SHA512 (PyJWT-1.7.0.tar.gz) = 4729a7bd34fc3ea133f48cd90f0d4a474e22c8851c7888c16f49ef20e5281f805f676eecd78107c3574e4dac72ceefe53d60bddf87d740219f6b141a0ec557e0
+Size (PyJWT-1.7.0.tar.gz) = 41883 bytes
+SHA1 (patch-setup.py) = e0f96a37ab77ce35426223b4a62f76afef449ad4
diff -r bd4075dc3b46 -r f3cc698e862d textproc/py-JWT/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-JWT/patches/patch-setup.py    Sun Dec 02 16:21:40 2018 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-setup.py,v 1.1 2018/12/02 16:21:40 adam Exp $
+
+Relax test requirements.
+
+--- setup.py.orig      2018-12-02 16:17:06.000000000 +0000
++++ setup.py
+@@ -33,9 +33,9 @@ if sys.argv[-1] == 'publish':
+     sys.exit()
+ 
+ tests_require = [
+-    'pytest==3.7.1',
+-    'pytest-cov==2.5.1',
+-    'pytest-runner==4.2',
++    'pytest>=3.7.1',
++    'pytest-cov>=2.5.1',
++    'pytest-runner>=4.2',
+ ]
+ 
+ needs_pytest = set(('pytest', 'test', 'ptr')).intersection(sys.argv)



Home | Main Index | Thread Index | Old Index