pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security/py-josepy
Module Name: pkgsrc
Committed By: adam
Date: Tue Sep 28 05:33:57 UTC 2021
Modified Files:
pkgsrc/security/py-josepy: Makefile PLIST distinfo
Log Message:
py-josepy: updated to 1.10.0
1.10.0 (2021-09-27)
-------------------
* josepy is now compliant with PEP-561: type checkers will fetch types from the inline
types annotations when josepy is installed as a dependency in a Python project.
* Added a `field` function to assist in adding type annotations for Fields in classes.
If the field function is used to define a `Field` in a `JSONObjectWithFields` based
class without a type annotation, an error will be raised.
* josepy's tests can no longer be imported under the name josepy, however, they are still
included in the package and you can run them by installing josepy with "tests" extras and
running `python -m pytest`.
1.9.0 (2021-09-09)
------------------
* Removed pytest-cache testing dependency.
* Fixed a bug that sometimes caused incorrect padding to be used when
serializing Elliptic Curve keys as JSON Web Keys.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/security/py-josepy/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/security/py-josepy/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/security/py-josepy/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/security/py-josepy/Makefile
diff -u pkgsrc/security/py-josepy/Makefile:1.11 pkgsrc/security/py-josepy/Makefile:1.12
--- pkgsrc/security/py-josepy/Makefile:1.11 Thu Mar 18 07:33:31 2021
+++ pkgsrc/security/py-josepy/Makefile Tue Sep 28 05:33:57 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2021/03/18 07:33:31 adam Exp $
+# $NetBSD: Makefile,v 1.12 2021/09/28 05:33:57 adam Exp $
-DISTNAME= josepy-1.8.0
+DISTNAME= josepy-1.10.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= security python
MASTER_SITES= ${MASTER_SITE_PYPI:=j/josepy/}
@@ -16,7 +16,6 @@ DEPENDS+= ${PYPKGPREFIX}-setuptools>=1.0
TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=4.0:../../devel/py-coverage
TEST_DEPENDS+= ${PYPKGPREFIX}-flake8-[0-9]*:../../devel/py-flake8
TEST_DEPENDS+= ${PYPKGPREFIX}-test>=2.8.0:../../devel/py-test
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-cache>=1.0:../../devel/py-test-cache
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8>=0.5:../../devel/py-test-flake8
@@ -28,5 +27,8 @@ post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} jws jws-${PYVERSSUFFIX} || ${TRUE}
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/security/py-josepy/PLIST
diff -u pkgsrc/security/py-josepy/PLIST:1.3 pkgsrc/security/py-josepy/PLIST:1.4
--- pkgsrc/security/py-josepy/PLIST:1.3 Sat Feb 13 21:24:06 2021
+++ pkgsrc/security/py-josepy/PLIST Tue Sep 28 05:33:57 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2021/02/13 21:24:06 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2021/09/28 05:33:57 adam Exp $
bin/jws-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -12,80 +12,28 @@ ${PYSITELIB}/josepy/__init__.pyo
${PYSITELIB}/josepy/b64.py
${PYSITELIB}/josepy/b64.pyc
${PYSITELIB}/josepy/b64.pyo
-${PYSITELIB}/josepy/b64_test.py
-${PYSITELIB}/josepy/b64_test.pyc
-${PYSITELIB}/josepy/b64_test.pyo
${PYSITELIB}/josepy/errors.py
${PYSITELIB}/josepy/errors.pyc
${PYSITELIB}/josepy/errors.pyo
-${PYSITELIB}/josepy/errors_test.py
-${PYSITELIB}/josepy/errors_test.pyc
-${PYSITELIB}/josepy/errors_test.pyo
${PYSITELIB}/josepy/interfaces.py
${PYSITELIB}/josepy/interfaces.pyc
${PYSITELIB}/josepy/interfaces.pyo
-${PYSITELIB}/josepy/interfaces_test.py
-${PYSITELIB}/josepy/interfaces_test.pyc
-${PYSITELIB}/josepy/interfaces_test.pyo
${PYSITELIB}/josepy/json_util.py
${PYSITELIB}/josepy/json_util.pyc
${PYSITELIB}/josepy/json_util.pyo
-${PYSITELIB}/josepy/json_util_test.py
-${PYSITELIB}/josepy/json_util_test.pyc
-${PYSITELIB}/josepy/json_util_test.pyo
${PYSITELIB}/josepy/jwa.py
${PYSITELIB}/josepy/jwa.pyc
${PYSITELIB}/josepy/jwa.pyo
-${PYSITELIB}/josepy/jwa_test.py
-${PYSITELIB}/josepy/jwa_test.pyc
-${PYSITELIB}/josepy/jwa_test.pyo
${PYSITELIB}/josepy/jwk.py
${PYSITELIB}/josepy/jwk.pyc
${PYSITELIB}/josepy/jwk.pyo
-${PYSITELIB}/josepy/jwk_test.py
-${PYSITELIB}/josepy/jwk_test.pyc
-${PYSITELIB}/josepy/jwk_test.pyo
${PYSITELIB}/josepy/jws.py
${PYSITELIB}/josepy/jws.pyc
${PYSITELIB}/josepy/jws.pyo
-${PYSITELIB}/josepy/jws_test.py
-${PYSITELIB}/josepy/jws_test.pyc
-${PYSITELIB}/josepy/jws_test.pyo
${PYSITELIB}/josepy/magic_typing.py
${PYSITELIB}/josepy/magic_typing.pyc
${PYSITELIB}/josepy/magic_typing.pyo
-${PYSITELIB}/josepy/magic_typing_test.py
-${PYSITELIB}/josepy/magic_typing_test.pyc
-${PYSITELIB}/josepy/magic_typing_test.pyo
-${PYSITELIB}/josepy/test_util.py
-${PYSITELIB}/josepy/test_util.pyc
-${PYSITELIB}/josepy/test_util.pyo
-${PYSITELIB}/josepy/testdata/README
-${PYSITELIB}/josepy/testdata/cert-100sans.pem
-${PYSITELIB}/josepy/testdata/cert-idnsans.pem
-${PYSITELIB}/josepy/testdata/cert-san.pem
-${PYSITELIB}/josepy/testdata/cert.der
-${PYSITELIB}/josepy/testdata/cert.pem
-${PYSITELIB}/josepy/testdata/critical-san.pem
-${PYSITELIB}/josepy/testdata/csr-100sans.pem
-${PYSITELIB}/josepy/testdata/csr-6sans.pem
-${PYSITELIB}/josepy/testdata/csr-idnsans.pem
-${PYSITELIB}/josepy/testdata/csr-nosans.pem
-${PYSITELIB}/josepy/testdata/csr-san.pem
-${PYSITELIB}/josepy/testdata/csr.der
-${PYSITELIB}/josepy/testdata/csr.pem
-${PYSITELIB}/josepy/testdata/dsa512_key.pem
-${PYSITELIB}/josepy/testdata/ec_p256_key.pem
-${PYSITELIB}/josepy/testdata/ec_p384_key.pem
-${PYSITELIB}/josepy/testdata/ec_p521_key.pem
-${PYSITELIB}/josepy/testdata/rsa1024_key.pem
-${PYSITELIB}/josepy/testdata/rsa2048_cert.pem
-${PYSITELIB}/josepy/testdata/rsa2048_key.pem
-${PYSITELIB}/josepy/testdata/rsa256_key.pem
-${PYSITELIB}/josepy/testdata/rsa512_key.pem
+${PYSITELIB}/josepy/py.typed
${PYSITELIB}/josepy/util.py
${PYSITELIB}/josepy/util.pyc
${PYSITELIB}/josepy/util.pyo
-${PYSITELIB}/josepy/util_test.py
-${PYSITELIB}/josepy/util_test.pyc
-${PYSITELIB}/josepy/util_test.pyo
Index: pkgsrc/security/py-josepy/distinfo
diff -u pkgsrc/security/py-josepy/distinfo:1.9 pkgsrc/security/py-josepy/distinfo:1.10
--- pkgsrc/security/py-josepy/distinfo:1.9 Thu Mar 18 07:33:31 2021
+++ pkgsrc/security/py-josepy/distinfo Tue Sep 28 05:33:57 2021
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.9 2021/03/18 07:33:31 adam Exp $
+$NetBSD: distinfo,v 1.10 2021/09/28 05:33:57 adam Exp $
-SHA1 (josepy-1.8.0.tar.gz) = cb4508f6528d6319755f43da9fb5ed8631a45b25
-RMD160 (josepy-1.8.0.tar.gz) = 29757a70878f3f8a2f3432cf6c9483afc22b210d
-SHA512 (josepy-1.8.0.tar.gz) = 50cdedfa4cf67055ae65dfeef2328ba7bb369fb8b763b425e4ca73108555c9cd04f12a644309c2f2e1db50e1d227be3bdbd00037e509d2b2d82565c213b81e4e
-Size (josepy-1.8.0.tar.gz) = 57507 bytes
+SHA1 (josepy-1.10.0.tar.gz) = ee5dc8ff4e72e0c0fc20ba9d8534aef1a8a4169b
+RMD160 (josepy-1.10.0.tar.gz) = 86a042baff672e731c3b72af6ee6559fd0126e5c
+SHA512 (josepy-1.10.0.tar.gz) = 517476c4b4df35b066f48e20e2c31bf458b998553a740dbfa4a682a94353db1cc9d706cee9429cb34b9347e8d78b97bf4a8f930334b86febfe56f5c9f779b42f
+Size (josepy-1.10.0.tar.gz) = 58662 bytes
Home |
Main Index |
Thread Index |
Old Index