diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-09-15 20:49:27 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-09-15 22:55:51 +0300 |
commit | f7616ad7506ff47fb53f279f6e250726f2231835 (patch) | |
tree | de8c6e6cec7c6780d7b4e28771e53787b5247a50 /dev-python/jwcrypto | |
parent | dev-python/immutables: add 0.19 (diff) | |
download | gentoo-f7616ad7506ff47fb53f279f6e250726f2231835.tar.gz gentoo-f7616ad7506ff47fb53f279f6e250726f2231835.tar.bz2 gentoo-f7616ad7506ff47fb53f279f6e250726f2231835.zip |
dev-python/jwcrypto: add 1.4.2
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/jwcrypto')
-rw-r--r-- | dev-python/jwcrypto/Manifest | 1 | ||||
-rw-r--r-- | dev-python/jwcrypto/jwcrypto-1.4.2.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/jwcrypto/Manifest b/dev-python/jwcrypto/Manifest index 4e8c6ddbec0a..65646925d193 100644 --- a/dev-python/jwcrypto/Manifest +++ b/dev-python/jwcrypto/Manifest @@ -1 +1,2 @@ DIST jwcrypto-1.3.1.gh.tar.gz 91903 BLAKE2B 49fb3cb9548c85d406d47074a410f6bc89cbc32f16a0244b4ac5e3fa219bc66fc1e4ed32056f5c9885608b5225c2ed3423555813938465924e60dabb8f39749b SHA512 bc43a1acdb12a4e25251a3c5f9c85286c5a4234bd098efe69b7e3bd3da9ec72e80d7239cc20b1f971e17218cce9a7febe6a92efca33da2f2e1479fe64150bb71 +DIST jwcrypto-1.4.2.gh.tar.gz 94465 BLAKE2B 23b3a18694793cdbdd1875bd9b107ecab8248ac2c6cbf1bf142144633f7dc6efea91b693b808a4a6153b78c1117dbb2fe1f831f7f2558d2476e146961a501c17 SHA512 9967e626bc4a13a12ef09bbf3dada589c2c5374f4addff743c3ca9762c66659f59ca2e0f495cda6bc5821b6ed62aae95d478bf14de0acd6b2696bf0e1a9e7a49 diff --git a/dev-python/jwcrypto/jwcrypto-1.4.2.ebuild b/dev-python/jwcrypto/jwcrypto-1.4.2.ebuild new file mode 100644 index 000000000000..e6056edc5f0d --- /dev/null +++ b/dev-python/jwcrypto/jwcrypto-1.4.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{8..11} ) + +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-2.3[${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 +} |