pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/py-josepy py-josepy: updated to 1.10.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/c1cb58c67a4b
branches: trunk
changeset: 458988:c1cb58c67a4b
user: adam <adam%pkgsrc.org@localhost>
date: Tue Sep 28 05:33:57 2021 +0000
description:
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.
diffstat:
security/py-josepy/Makefile | 8 ++++--
security/py-josepy/PLIST | 56 +-------------------------------------------
security/py-josepy/distinfo | 10 ++++----
3 files changed, 12 insertions(+), 62 deletions(-)
diffs (135 lines):
diff -r fc01433890d1 -r c1cb58c67a4b security/py-josepy/Makefile
--- a/security/py-josepy/Makefile Tue Sep 28 05:27:05 2021 +0000
+++ b/security/py-josepy/Makefile Tue Sep 28 05:33:57 2021 +0000
@@ -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 @@
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 @@
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"
diff -r fc01433890d1 -r c1cb58c67a4b security/py-josepy/PLIST
--- a/security/py-josepy/PLIST Tue Sep 28 05:27:05 2021 +0000
+++ b/security/py-josepy/PLIST Tue Sep 28 05:33:57 2021 +0000
@@ -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/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
diff -r fc01433890d1 -r c1cb58c67a4b security/py-josepy/distinfo
--- a/security/py-josepy/distinfo Tue Sep 28 05:27:05 2021 +0000
+++ b/security/py-josepy/distinfo Tue Sep 28 05:33:57 2021 +0000
@@ -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