summaryrefslogtreecommitdiff
path: root/dev-python/pyjwt
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pyjwt')
-rw-r--r--dev-python/pyjwt/Manifest2
-rw-r--r--dev-python/pyjwt/pyjwt-2.15.1.ebuild42
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/pyjwt/Manifest b/dev-python/pyjwt/Manifest
index 80dce51637df..1fd2669ee6a3 100644
--- a/dev-python/pyjwt/Manifest
+++ b/dev-python/pyjwt/Manifest
@@ -4,3 +4,5 @@ DIST pyjwt-2.14.0.tar.gz 113177 BLAKE2B 1d742b2fab9d551defeb05236ac9a2bed44f7fd1
DIST pyjwt-2.14.0.tar.gz.provenance 9988 BLAKE2B ac5810b7f29e21ced6fbb5baba8353cc6538b60b5bf9da6a718324ee0a7efe1430e0b525a4840a6943cf3008dabfe49106c74614a4ba682cc0059be508333790 SHA512 288729fa3a1b194519e3a3c3f2c93709814d16ed1c551eda876214484477107d4e80940e0bbbe2773281235e9bf770de43ad178b47c8e8c7dc6639136cc7a064
DIST pyjwt-2.15.0.tar.gz 120513 BLAKE2B e700576ac11eae74c506d334b93b1eb4a83661c7343f0410b04c091a3610631e656078cce4ded8f500ac8b9e5812c4f7a9ddf1e465601380a912eb221975845e SHA512 ede90c35e667924a2749083d726e9f8af6fa86c215d64433819b36d14a28059d68ba062d3a6b04a1aaac94505362e52a888d92adf8ce0b80599a223de5850692
DIST pyjwt-2.15.0.tar.gz.provenance 10078 BLAKE2B 0c9ae24fad7a7eff9fb45c22de18bb050c7744ebca1f6b759390901956a57c6541820c210fe6bd93e5e7784606033f15c37305e7fac4be668770824c661aa2cb SHA512 44a7d49dd3509a0aed536db901071589376b8d0b889c398e2d54bc9cd629e0bb7cdf7a850570abd225920a653e65f00c408093ab62a423d10fbce65c3383ef4f
+DIST pyjwt-2.15.1.tar.gz 121252 BLAKE2B 6c3afc947db15fb8dcccd4e3f8a411857148b6db8f28a51a7d3a8dae64abb5f1226002e88e6f9e0b4d0793f4d19885dfdce398e7332f08e7d6f4573248f1f735 SHA512 261b07563f1a290f71c6b14806cd92c5b32cf85d3e9d2b96997825ac214546eba61a24c0f1aeaa6ccc5d554135f5870de97565bd2c44aaa36adc00cc08ffcb2e
+DIST pyjwt-2.15.1.tar.gz.provenance 9984 BLAKE2B 4101582dcc6a63698d59eb9ad8b1df0f29e24b9ce3e95338fe28ee9c47c86a46983c8a06a72da7a156001bed2f5582026c596a921682c3a69977c6a3acdf19af SHA512 12f38cafed2cb9194e7af2a19165184995817647c7eafbc4294f9a333a79c5d6d0aff73ccfb471895c4e6e008ce03b4d0a1b0d337130c43a632a988f91fa39ea
diff --git a/dev-python/pyjwt/pyjwt-2.15.1.ebuild b/dev-python/pyjwt/pyjwt-2.15.1.ebuild
new file mode 100644
index 000000000000..c74b8e2a878d
--- /dev/null
+++ b/dev-python/pyjwt/pyjwt-2.15.1.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_{13..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
+}