diff options
Diffstat (limited to 'dev-python/josepy')
-rw-r--r-- | dev-python/josepy/Manifest | 1 | ||||
-rw-r--r-- | dev-python/josepy/josepy-1.10.0.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/josepy/Manifest b/dev-python/josepy/Manifest index c8f90be892de..5bb546b5e9c5 100644 --- a/dev-python/josepy/Manifest +++ b/dev-python/josepy/Manifest @@ -1,2 +1,3 @@ +DIST josepy-1.10.0.tar.gz 58662 BLAKE2B 367d97a316c3adb33b9e3e2cc8400fc95fef09c5640c9747da852c0c1913dc6db3341e5b40bf1bd54d5f4619ee05642de1a72566f0d41c44aed731da8e341540 SHA512 517476c4b4df35b066f48e20e2c31bf458b998553a740dbfa4a682a94353db1cc9d706cee9429cb34b9347e8d78b97bf4a8f930334b86febfe56f5c9f779b42f DIST josepy-1.8.0.tar.gz 57507 BLAKE2B d395f08db9c46d37555f2cc540ab7af79356e32b60763acfa2116cdc08a46e51d75f56e6d393dd28c7dfda5f2012db5f4d5b5cddecf74809a01ca3dfebeb598d SHA512 50cdedfa4cf67055ae65dfeef2328ba7bb369fb8b763b425e4ca73108555c9cd04f12a644309c2f2e1db50e1d227be3bdbd00037e509d2b2d82565c213b81e4e DIST josepy-1.9.0.tar.gz 56932 BLAKE2B 0de67823c5015f3665323d33c96a97a8611d333e98a8229e847f41ebb6bb81c948001ecd3cbd46220237f40270dbb0e0418676b3c130f1765fe8d420abbd73b7 SHA512 b3a64a579d23aa87323f01ae3859fcb2cd9a699f160e43ebe58c93e11e5d5c5031cd257af1fd0400d982929eb4c06495c9d4fa09580ffcb4f6a4c09d0f191bd8 diff --git a/dev-python/josepy/josepy-1.10.0.ebuild b/dev-python/josepy/josepy-1.10.0.ebuild new file mode 100644 index 000000000000..80ada4d0e18a --- /dev/null +++ b/dev-python/josepy/josepy-1.10.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( pypy3 python3_{8..10} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="JOSE protocol implementation in Python" +HOMEPAGE="https://github.com/certbot/josepy" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +RDEPEND=" + >=dev-python/cryptography-0.8[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}] +" +BDEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +python_prepare_all() { + # Remove coverage/flake8 options + sed -i -e '/^addopts =/d' -e '/^flake8-ignore/d' pytest.ini || die + distutils-r1_python_prepare_all +} |