commit:     0c5b306f1c59bab8f4b78ee83312b3e056c92eff
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 27 04:20:38 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Dec 27 04:20:38 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c5b306f

dev-python/jwcrypto: Bump to 1.5.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/jwcrypto/Manifest              |  1 +
 dev-python/jwcrypto/jwcrypto-1.5.1.ebuild | 37 +++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/dev-python/jwcrypto/Manifest b/dev-python/jwcrypto/Manifest
index 9c81f01d3e75..a2224b960f77 100644
--- a/dev-python/jwcrypto/Manifest
+++ b/dev-python/jwcrypto/Manifest
@@ -1 +1,2 @@
 DIST jwcrypto-1.5.0.gh.tar.gz 95669 BLAKE2B 
c8a408e3bdd929a939562eeebe59b33eb422fdf3251b8572b362a08286975220810bf7b2d0d937ef4f20c76ff133b5246f810a3cb7fa7caf685ecd03729ba5e0
 SHA512 
92c8c735dffe3664e93ead9a5764139f188d349b78c45d09ea9ede68b271f19f4cd16418f9184df49f2f9def16864624edc3d08bda30fd73fbf3daa2b12157a4
+DIST jwcrypto-1.5.1.gh.tar.gz 96563 BLAKE2B 
13b39b27825031d4f30e1399bac085ba846551b5e50c49ae2a1ff31182e47a896ef9bfdd1705a40e59ddeb6850ba7bafd19ccf83d9f8177c47936e220df881db
 SHA512 
fecb993a1157b6e689d3e845c8839f3178e32ab7fc920bf6b7328705293dae5e3d1424532b066f6dedd9c25a5cdeec91089ed4b83c4592cf6e1690419b5a5539

diff --git a/dev-python/jwcrypto/jwcrypto-1.5.1.ebuild 
b/dev-python/jwcrypto/jwcrypto-1.5.1.ebuild
new file mode 100644
index 000000000000..e2992177e823
--- /dev/null
+++ b/dev-python/jwcrypto/jwcrypto-1.5.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2023 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/deprecated[${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
+}

Reply via email to