summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2026-01-31 04:10:46 +0100
committerMichał Górny <mgorny@gentoo.org>2026-01-31 04:37:33 +0100
commit7fb734619f64213ce6f3aef8b294ea1a028ac4bf (patch)
tree28cc1aa5b6bf83c7bef7ee12d642a3db1c6441d0 /dev-python
parent7d5db139d147f59672ec8f655699b7299d3a2953 (diff)
downloadgentoo-7fb734619f64213ce6f3aef8b294ea1a028ac4bf.tar.gz
gentoo-7fb734619f64213ce6f3aef8b294ea1a028ac4bf.tar.bz2
gentoo-7fb734619f64213ce6f3aef8b294ea1a028ac4bf.zip
dev-python/pyjwt: Bump to 2.11.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pyjwt/Manifest2
-rw-r--r--dev-python/pyjwt/pyjwt-2.11.0.ebuild42
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/pyjwt/Manifest b/dev-python/pyjwt/Manifest
index 187196bad12a..718a60e04db4 100644
--- a/dev-python/pyjwt/Manifest
+++ b/dev-python/pyjwt/Manifest
@@ -1 +1,3 @@
DIST pyjwt-2.10.1.tar.gz 87785 BLAKE2B 58a1220600179f043179e742ff8d5707bd89aff0ac7f240a2e834b256bcbeaec1e5831e80ccec126876047e5e2cc304efbad57839dbcef1fa1584a999d19b486 SHA512 2ae530750b59ef692ab31bf8bf3506e553b0199f346ddd06afed12304683f254cc924ff7190c5c911af72237dd794c345097de306e79e0fbcfb59958cb8cfbe5
+DIST pyjwt-2.11.0.tar.gz 98019 BLAKE2B b5bf0ffc4b2eb0f14accfc257a525f74a156bc5da0527af34b8809c74a1825916241255d259e68ea070c9649f913763656b1bc2be515080e8f62c3735b3e16bf SHA512 b7bb326dc2006f021068bcf24fafedf922cc6ecef5c40f2debd7020cb9b29d8c4e30a1aa1f5f009f55c7d2cc15732433f797a145eb8ced1c2edefad210d3ac32
+DIST pyjwt-2.11.0.tar.gz.provenance 9448 BLAKE2B e6e71af154c4e6580323a0f9d9a0a640a912393db168308e9add90019994a9f2ac3765a02e4748eaa9bb096eabe49a96afd0a406c27ee0e2f9de03244ac0d716 SHA512 98a0929e50e2c7ae3b7f1d99686317f890ce6b28d59796bb1d20991aba1623077f60ca559e278469702c016664ab2cb1af14da10e548973f5a7bc91cc72675bf
diff --git a/dev-python/pyjwt/pyjwt-2.11.0.ebuild b/dev-python/pyjwt/pyjwt-2.11.0.ebuild
new file mode 100644
index 000000000000..eea2355f195b
--- /dev/null
+++ b/dev-python/pyjwt/pyjwt-2.11.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_PN="PyJWT"
+PYPI_VERIFY_REPO=https://github.com/jpadilla/pyjwt
+PYTHON_COMPAT=( python3_{11..14} )
+
+inherit distutils-r1 optfeature pypi
+
+DESCRIPTION="JSON Web Token implementation in Python"
+HOMEPAGE="
+ https://github.com/jpadilla/pyjwt/
+ https://pypi.org/project/PyJWT/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND="
+ !dev-python/python-jwt
+"
+BDEPEND="
+ test? (
+ >=dev-python/cryptography-3.4.0[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # Internet
+ tests/test_jwks_client.py::TestPyJWKClient::test_get_jwt_set_sslcontext_default
+)
+
+pkg_postinst() {
+ optfeature "cryptography" dev-python/cryptography
+}