summaryrefslogtreecommitdiff
path: root/dev-python/python-jose
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-11-08 22:21:23 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-11-08 22:21:23 +0000
commit4f8c8df3b07b6ea3556ab2bc7b252213bbdab3f3 (patch)
treeda90388e25f27949d16131813690edb36c53aa81 /dev-python/python-jose
parent413ca4e6c2089d8b5e0844c26cf5671209226b93 (diff)
gentoo auto-resync : 08:11:2023 - 22:21:23
Diffstat (limited to 'dev-python/python-jose')
-rw-r--r--dev-python/python-jose/Manifest2
-rw-r--r--dev-python/python-jose/python-jose-3.3.0-r1.ebuild44
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/python-jose/Manifest b/dev-python/python-jose/Manifest
index fbb5b9cc9e27..bf7ebf41bf7e 100644
--- a/dev-python/python-jose/Manifest
+++ b/dev-python/python-jose/Manifest
@@ -1,3 +1,5 @@
+DIST python-jose-3.3.0.gh.tar.gz 126578 BLAKE2B d1279d2a0788b4d395e760ee3a1b2ce8c9340ad12ebe103cb1ba98aea33566cf0134d5af75be9727fff96adab4fc88f1b471ba9ea7d36c16de10587a9efd1304 SHA512 de7147cc6e12406d6e459c32829acae46395acba727c53e65bc05f4794ee3050eecd355e3ae2e87f4ebdbd871f53822eea08a10f25d7ca6088fc6128dc7d9637
DIST python-jose-3.3.0.tar.gz 126578 BLAKE2B d1279d2a0788b4d395e760ee3a1b2ce8c9340ad12ebe103cb1ba98aea33566cf0134d5af75be9727fff96adab4fc88f1b471ba9ea7d36c16de10587a9efd1304 SHA512 de7147cc6e12406d6e459c32829acae46395acba727c53e65bc05f4794ee3050eecd355e3ae2e87f4ebdbd871f53822eea08a10f25d7ca6088fc6128dc7d9637
+EBUILD python-jose-3.3.0-r1.ebuild 1106 BLAKE2B 4827f26e1dd639f3936aa6dd9158b34e2f512dfd60752cdff7f4f4d3072a1c6f79511c70bbc56201fe833ca424fcf602a3132905606505aa3a5faa9d9f62d708 SHA512 d831f4cc11ca252b5d3369c6612cf2ec1a8c3e53012519658d372f08beb72efdd266d13568af4c59dd9309d492aad92c28a3478adf50651ac9bbb5a62a3b6e41
EBUILD python-jose-3.3.0.ebuild 1057 BLAKE2B 61fa342539b19568c766a9ff326fb76b67ebee5e14474705f7686b46d2ef384c585587c00f9622159b695f6a713c63e54ef41a780f6b94c095dfdd7ae4d7b4e2 SHA512 37eb1a77575bcb9e368b439a45b6d5ad02a1aa0a1fb675d5f408d38218f97808abcfe5b683dfc7935abbbb655c347aa3a5fd847b83ff360cd4c30b321693c1be
MISC metadata.xml 570 BLAKE2B b931b6de4f0dc9a5cefa9b31805590b2c667c5d2bc1ea31aea6f7c4b47db6d861e9fdc4666e66784b25e4dcc84e2d6d257e9ed19a80c1310d83948467cbfdcb2 SHA512 369591ec42b7dcfd9e28f0fb510bfac1212e678e9829f5c8ffbc35993446865b721457d790dbf63551f8247f28e4990bef7e9928600e74541d50cf353f41eafb
diff --git a/dev-python/python-jose/python-jose-3.3.0-r1.ebuild b/dev-python/python-jose/python-jose-3.3.0-r1.ebuild
new file mode 100644
index 000000000000..4c52f00160ac
--- /dev/null
+++ b/dev-python/python-jose/python-jose-3.3.0-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="A JavaScript Object Signing and Encryption (JOSE) implementation in Python"
+HOMEPAGE="
+ https://github.com/mpdavis/python-jose/
+ https://pypi.org/project/python-jose/
+"
+# pypi tarball lacks unit tests
+SRC_URI="
+ https://github.com/mpdavis/python-jose/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+
+# TODO: require only one crypto backend?
+RDEPEND="
+ dev-python/cryptography[${PYTHON_USEDEP}]
+ dev-python/ecdsa[${PYTHON_USEDEP}]
+ dev-python/pyasn1[${PYTHON_USEDEP}]
+ >=dev-python/pycryptodome-3.3.1[${PYTHON_USEDEP}]
+ dev-python/rsa[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs
+
+python_prepare_all() {
+ sed -e '/pytest-runner/d' \
+ -i setup.py || die
+ sed -e '/addopts/d' -i setup.cfg || die
+ distutils-r1_python_prepare_all
+}