commit: c5084a940a1fa3deba9219d25cc65a9fef300677
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 8 04:13:05 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Feb 8 04:22:40 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5084a94
dev-python/jwcrypto: Bump to 1.5.3
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/jwcrypto/Manifest | 1 +
dev-python/jwcrypto/jwcrypto-1.5.3.ebuild | 37 +++++++++++++++++++++++++++++++
2 files changed, 38 insertions(+)
diff --git a/dev-python/jwcrypto/Manifest b/dev-python/jwcrypto/Manifest
index af441ffde511..fd2731ced7db 100644
--- a/dev-python/jwcrypto/Manifest
+++ b/dev-python/jwcrypto/Manifest
@@ -1 +1,2 @@
DIST jwcrypto-1.5.1.gh.tar.gz 96563 BLAKE2B
13b39b27825031d4f30e1399bac085ba846551b5e50c49ae2a1ff31182e47a896ef9bfdd1705a40e59ddeb6850ba7bafd19ccf83d9f8177c47936e220df881db
SHA512
fecb993a1157b6e689d3e845c8839f3178e32ab7fc920bf6b7328705293dae5e3d1424532b066f6dedd9c25a5cdeec91089ed4b83c4592cf6e1690419b5a5539
+DIST jwcrypto-1.5.3.gh.tar.gz 96597 BLAKE2B
6efffce256f7652ca79316c0a4148df61bec65d74f275ffad6f665cfb26c14137ecc7ec219fa30c0f8dcdc3de8468a94dc158ed0b1f973b8d5a451fa1081fcae
SHA512
90081959ebd3ff0d003e8bfb6f25e51243c6f7d522d085f5fa63e2a810707b070069a387fbf067c16e8bf3d8e84f9387c399a49a23e20c4d2007ab53e99f041d
diff --git a/dev-python/jwcrypto/jwcrypto-1.5.3.ebuild
b/dev-python/jwcrypto/jwcrypto-1.5.3.ebuild
new file mode 100644
index 000000000000..4ecae46ff05f
--- /dev/null
+++ b/dev-python/jwcrypto/jwcrypto-1.5.3.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[${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
+}