hello, On 2019/02/11 12:46, Stuart Henderson wrote: > On 2019/02/07 16:44, Pamela Mosiejczuk wrote: >> >> >> On 1/30/19 12:10 PM, Johan Huldtgren wrote: >>> On 2019-01-20 17:41, Johan Huldtgren wrote: >>>> hello, >>>> >>>> minor update of py-jwt from 1.6.4 to 1.7.1, built, >>>> packaged, and tested with py-discogs-client on >>>> amd64. >>> >>> ping? >>> >>> .jh >>> >> >> Hi Johan, >> With this release's new test dependency version ranges, the tests now >> download them from pypi, rather than using ours. Perhaps it is better to >> simply disable tests? > > Best fix is to port or update the dependencies (it will only try to fetch from > pypi if they are not present or too old) .. though even if they're not updated > I think I'd rather not just knock out the tests completely because they are > still useful. Maybe leave them enabled but with an XXX comment.
I had never seen the original mail from Pamela (guess I have to take a closer look at what is being blocked by my mailserver - make sure to cc my gmail for the time being). I will look into this during the week and see if I can come up with a better diff. Thanks for seeing this. .jh > >> Index: Makefile >> =================================================================== >> RCS file: /cvs/ports/www/py-jwt/Makefile,v >> retrieving revision 1.12 >> diff -u -p -r1.12 Makefile >> --- Makefile 1 Jul 2018 06:26:52 -0000 1.12 >> +++ Makefile 7 Feb 2019 21:03:27 -0000 >> @@ -2,7 +2,7 @@ >> >> COMMENT = JSON Web Token implementation in Python >> >> -MODPY_EGG_VERSION = 1.6.4 >> +MODPY_EGG_VERSION = 1.7.1 >> DISTNAME = PyJWT-${MODPY_EGG_VERSION} >> PKGNAME = py-jwt-${MODPY_EGG_VERSION} >> CATEGORIES = www >> @@ -23,9 +23,8 @@ MODPY_SETUPTOOLS = Yes >> >> RUN_DEPENDS = security/py-cryptography${MODPY_FLAVOR}>=1.4.0 >> >> -TEST_DEPENDS = devel/py-test${MODPY_FLAVOR} \ >> - devel/py-test-cov${MODPY_FLAVOR} \ >> - devel/py-test-runner${MODPY_FLAVOR} >> +# Attempts to download dependencies from pypi >> +NO_TEST = Yes >> >> post-install: >> mv ${PREFIX}/bin/pyjwt ${PREFIX}/bin/pyjwt${MODPY_BIN_SUFFIX} >> Index: distinfo >> =================================================================== >> RCS file: /cvs/ports/www/py-jwt/distinfo,v >> retrieving revision 1.8 >> diff -u -p -r1.8 distinfo >> --- distinfo 1 Jul 2018 06:26:52 -0000 1.8 >> +++ distinfo 7 Feb 2019 21:03:27 -0000 >> @@ -1,2 +1,2 @@ >> -SHA256 (PyJWT-1.6.4.tar.gz) = TuQTs1fVP9P7RHBFd6+siOcuh4cWEWJw1yJyPWW0IXY= >> -SIZE (PyJWT-1.6.4.tar.gz) = 41694 >> +SHA256 (PyJWT-1.7.1.tar.gz) = jVmpdvt3Pz5qOchWNjV8Tw4kJwc5TK2t2YFPXLqiDpY= >> +SIZE (PyJWT-1.7.1.tar.gz) = 41979 >> Index: pkg/PLIST >> =================================================================== >> RCS file: /cvs/ports/www/py-jwt/pkg/PLIST,v >> retrieving revision 1.3 >> diff -u -p -r1.3 PLIST >> --- pkg/PLIST 24 Apr 2017 09:30:00 -0000 1.3 >> +++ pkg/PLIST 7 Feb 2019 21:03:27 -0000 >> @@ -1,4 +1,4 @@ >> -@comment $OpenBSD: PLIST,v 1.3 2017/04/24 09:30:00 sthen Exp $ >> +@comment $OpenBSD: PLIST,v$ >> bin/pyjwt${MODPY_BIN_SUFFIX} >> >> lib/python${MODPY_VERSION}/site-packages/PyJWT-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/ >> >> lib/python${MODPY_VERSION}/site-packages/PyJWT-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO >> @@ -18,6 +18,7 @@ lib/python${MODPY_VERSION}/site-packages >> >> lib/python${MODPY_VERSION}/site-packages/jwt/${MODPY_PYCACHE}api_jwt.${MODPY_PYC_MAGIC_TAG}pyc >> >> lib/python${MODPY_VERSION}/site-packages/jwt/${MODPY_PYCACHE}compat.${MODPY_PYC_MAGIC_TAG}pyc >> >> lib/python${MODPY_VERSION}/site-packages/jwt/${MODPY_PYCACHE}exceptions.${MODPY_PYC_MAGIC_TAG}pyc >> +lib/python${MODPY_VERSION}/site-packages/jwt/${MODPY_PYCACHE}help.${MODPY_PYC_MAGIC_TAG}pyc >> >> lib/python${MODPY_VERSION}/site-packages/jwt/${MODPY_PYCACHE}utils.${MODPY_PYC_MAGIC_TAG}pyc >> lib/python${MODPY_VERSION}/site-packages/jwt/algorithms.py >> lib/python${MODPY_VERSION}/site-packages/jwt/api_jws.py >> @@ -36,4 +37,5 @@ lib/python${MODPY_VERSION}/site-packages >> lib/python${MODPY_VERSION}/site-packages/jwt/contrib/algorithms/py_ecdsa.py >> lib/python${MODPY_VERSION}/site-packages/jwt/contrib/algorithms/pycrypto.py >> lib/python${MODPY_VERSION}/site-packages/jwt/exceptions.py >> +lib/python${MODPY_VERSION}/site-packages/jwt/help.py >> lib/python${MODPY_VERSION}/site-packages/jwt/utils.py >