commit: 720c4f797bf6319aad8a9f3556ace6597725229f
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 6 21:11:07 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Mar 6 21:18:03 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=720c4f79
dev-python/jwcrypto: Bump to 1.5.6
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/jwcrypto/Manifest | 1 +
dev-python/jwcrypto/jwcrypto-1.5.6.ebuild | 37 +++++++++++++++++++++++++++++++
2 files changed, 38 insertions(+)
diff --git a/dev-python/jwcrypto/Manifest b/dev-python/jwcrypto/Manifest
index 9d2f89de4df3..6a90adf83760 100644
--- a/dev-python/jwcrypto/Manifest
+++ b/dev-python/jwcrypto/Manifest
@@ -1,2 +1,3 @@
DIST jwcrypto-1.5.4.gh.tar.gz 96607 BLAKE2B
a1558c58c26e6ecb3747c6e7d554bd2100fd8f3c9c5804cf2a596c55920399e879dad267bcbc162aab0b956bde129cdb0090af98171eb7cb06970ed0964f47d9
SHA512
085adfd5f894ee8215c70371d2ebc2e97a38efb17be14ee8433858474df906ff963f243f669e209624e7ec78c1eb8b5ccc2077f0fc50b4e5eef25885e338b4e1
DIST jwcrypto-1.5.5.gh.tar.gz 96792 BLAKE2B
3c85f62936da7b69ec5f2aa0452f9696a349288554626c98c9e1c0ef31b5e4098520a588bcacb0d3d34d47c35c8556728551804ea01cca747ceb5e3c15497014
SHA512
a69ae9323a6f6d66cf7f47b57106ca81446627926d0e39223bcde51a1b520b07de823b7c023b7ac3a53a539273a5155c0490e5b4309a6fb81bcefa3685b6258c
+DIST jwcrypto-1.5.6.gh.tar.gz 97053 BLAKE2B
1955cd4289a8f73b29b3fccb73ae25133c5760949051598e03c262be047094e6d2caf9be928f2f32ee93720f28525e42abb5b7f3ee0efade3036a80332c65d98
SHA512
8a20ee05fc6e63fd30742872650511fa0b635a9545223eb5d25d8a11cc65a4c460ce9182b2f30caee99357e8b1f3f0ac08c2c3a6612bb4e7ee5238ef61398bb4
diff --git a/dev-python/jwcrypto/jwcrypto-1.5.6.ebuild
b/dev-python/jwcrypto/jwcrypto-1.5.6.ebuild
new file mode 100644
index 000000000000..aa90a1f6e229
--- /dev/null
+++ b/dev-python/jwcrypto/jwcrypto-1.5.6.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="Implements JWK,JWS,JWE specifications using python-cryptography"
+HOMEPAGE="
+ https://github.com/latchset/jwcrypto/
+ https://pypi.org/project/jwcrypto/
+"
+SRC_URI="
+ https://github.com/latchset/jwcrypto/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+
+RDEPEND="
+ >=dev-python/cryptography-3.4[${PYTHON_USEDEP}]
+ >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}]
+"
+
+distutils_enable_sphinx docs/source
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ # Do not install doc in non-standard paths
+ sed -e "/data_files/d" -i setup.py || die
+ distutils-r1_python_prepare_all
+}