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.0.ebuild42
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/pyjwt/Manifest b/dev-python/pyjwt/Manifest
index f3d9392ee671..80dce51637df 100644
--- a/dev-python/pyjwt/Manifest
+++ b/dev-python/pyjwt/Manifest
@@ -2,3 +2,5 @@ DIST pyjwt-2.13.0.tar.gz 107515 BLAKE2B 6d0b35a81b84f244f56b4b7258f2fb3ffdef912a
DIST pyjwt-2.13.0.tar.gz.provenance 9703 BLAKE2B f5dea7b13b251884b447f37a75960a03cbfb6d8b8adc6dbb5068b3972a08bef97df7c22374c17344a7d013c578e7c9eec71fbceb0705869d92c12cca5ab750ab SHA512 a2a63e02619ef49735d9787793ca2805c0ac43ca51a54649f6e11f9801dc761583e7a6b6a303082850e9af6ea006a0f4851050bce9b9b4cae7facaf5da616141
DIST pyjwt-2.14.0.tar.gz 113177 BLAKE2B 1d742b2fab9d551defeb05236ac9a2bed44f7fd14268171d1fa85d11c194026075ad8fac3411d11c1215e8625c56e7ac911b84898d8a737420220765c467a947 SHA512 33b5ea83edb24fd4d73cc471c1d5ecbd0be45eef1d19c873a0a9a5615d2d52d8401176c71287a466c05f1086479dabeded203910c5815927574b8ebd07428936
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
diff --git a/dev-python/pyjwt/pyjwt-2.15.0.ebuild b/dev-python/pyjwt/pyjwt-2.15.0.ebuild
new file mode 100644
index 000000000000..c74b8e2a878d
--- /dev/null
+++ b/dev-python/pyjwt/pyjwt-2.15.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_{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
+}