pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/py-JWT
Module Name: pkgsrc
Committed By: adam
Date: Sun Aug 4 07:30:12 UTC 2024
Modified Files:
pkgsrc/textproc/py-JWT: Makefile PLIST distinfo
Log Message:
py-JWT: updated to 2.9.0
v2.9.0
Changed
- Drop support for Python 3.7 (EOL)
- Allow JWT issuer claim validation to accept a list of strings too
Fixed
- Fix unnecessary string concatenation
- Fix docs for ``jwt.decode_complete`` to include ``strict_aud`` option
- Fix docs step
- Fix: Remove an unused variable from example code block
Added
- Add support for Python 3.12
- Improve performance of ``is_ssh_key`` + add unit test
- Allow ``jwt.decode()`` to accept a PyJWK object
- Make ``algorithm_name`` attribute available on PyJWK
- Raise ``InvalidKeyError`` on invalid PEM keys to be compatible with cryptography 42.x.x
- Raise an exception when required cryptography dependency is missing
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/textproc/py-JWT/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/textproc/py-JWT/PLIST
cvs rdiff -u -r1.21 -r1.22 pkgsrc/textproc/py-JWT/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/py-JWT/Makefile
diff -u pkgsrc/textproc/py-JWT/Makefile:1.24 pkgsrc/textproc/py-JWT/Makefile:1.25
--- pkgsrc/textproc/py-JWT/Makefile:1.24 Wed Jul 19 08:35:33 2023
+++ pkgsrc/textproc/py-JWT/Makefile Sun Aug 4 07:30:12 2024
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.24 2023/07/19 08:35:33 adam Exp $
+# $NetBSD: Makefile,v 1.25 2024/08/04 07:30:12 adam Exp $
-DISTNAME= PyJWT-2.8.0
-PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/Py//}
+DISTNAME= pyjwt-2.9.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/pyjwt/JWT/}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=P/PyJWT/}
@@ -10,16 +10,17 @@ HOMEPAGE= https://github.com/jpadilla/py
COMMENT= JSON Web Token implementation in Python
LICENSE= mit
-TEST_DEPENDS+= ${PYPKGPREFIX}-test>=6.0.0:../../devel/py-test
+WHEEL_NAME= ${DISTNAME:S/pyjwt/PyJWT/}
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
-do-test:
- cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
-
-.include "../../lang/python/egg.mk"
+# crypto
PYTHON_VERSIONED_DEPENDENCIES+= cryptography
.include "../../lang/python/versioned_dependencies.mk"
+.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/py-JWT/PLIST
diff -u pkgsrc/textproc/py-JWT/PLIST:1.6 pkgsrc/textproc/py-JWT/PLIST:1.7
--- pkgsrc/textproc/py-JWT/PLIST:1.6 Wed May 10 09:55:38 2023
+++ pkgsrc/textproc/py-JWT/PLIST Sun Aug 4 07:30:12 2024
@@ -1,10 +1,10 @@
-@comment $NetBSD: PLIST,v 1.6 2023/05/10 09:55:38 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.7 2024/08/04 07:30:12 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS.rst
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/jwt/__init__.py
${PYSITELIB}/jwt/__init__.pyc
${PYSITELIB}/jwt/__init__.pyo
Index: pkgsrc/textproc/py-JWT/distinfo
diff -u pkgsrc/textproc/py-JWT/distinfo:1.21 pkgsrc/textproc/py-JWT/distinfo:1.22
--- pkgsrc/textproc/py-JWT/distinfo:1.21 Wed Jul 19 08:35:33 2023
+++ pkgsrc/textproc/py-JWT/distinfo Sun Aug 4 07:30:12 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.21 2023/07/19 08:35:33 adam Exp $
+$NetBSD: distinfo,v 1.22 2024/08/04 07:30:12 adam Exp $
-BLAKE2s (PyJWT-2.8.0.tar.gz) = 1d31e06b518d0608dd9801c0f47e52507c23f36d712c36b10992cbefbba532b2
-SHA512 (PyJWT-2.8.0.tar.gz) = 74e74cf8c78494a9e51a2a186347361388031d5c0d0864df2a5d051621d9d31dff617ab1d7ebb4a829cc7d409d196e1bdb3b361ec888b6c14f1abea77544475e
-Size (PyJWT-2.8.0.tar.gz) = 78313 bytes
+BLAKE2s (pyjwt-2.9.0.tar.gz) = 3a6b7fa5bdb842b336364e75e9457e1ee215e9e2ef7ed822673f496891c8717e
+SHA512 (pyjwt-2.9.0.tar.gz) = 10d0344e05a142b3edadc970dd5cebc5eada1f638a599ca0f566c00149d67626c7fa1bbe668a56bc93048669df3af266c581f4872bf5756a4cc526f4b831dfc1
+Size (pyjwt-2.9.0.tar.gz) = 78825 bytes
Home |
Main Index |
Thread Index |
Old Index