From 3cf7c3ef441822c889356fd1812ebf2944a59851 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 25 Aug 2020 10:45:55 +0100 Subject: gentoo resync : 25.08.2020 --- dev-python/python-jose/Manifest | 6 ++-- dev-python/python-jose/python-jose-3.0.1.ebuild | 40 ------------------------- dev-python/python-jose/python-jose-3.1.0.ebuild | 2 +- dev-python/python-jose/python-jose-3.2.0.ebuild | 35 ++++++++++++++++++++++ 4 files changed, 39 insertions(+), 44 deletions(-) delete mode 100644 dev-python/python-jose/python-jose-3.0.1.ebuild create mode 100644 dev-python/python-jose/python-jose-3.2.0.ebuild (limited to 'dev-python/python-jose') diff --git a/dev-python/python-jose/Manifest b/dev-python/python-jose/Manifest index a240d6d40c55..101fb15b9645 100644 --- a/dev-python/python-jose/Manifest +++ b/dev-python/python-jose/Manifest @@ -1,5 +1,5 @@ -DIST python-jose-3.0.1.tar.gz 86726 BLAKE2B 82ad3cd1139b367d179e965aaf0e33f3592883da6b21ecb3a91e9fe98ff05dbe358e56156a3d34366ffc0d7bfa9efbcdef67c41307d803ac16144a0c0ac3570b SHA512 a39c3aa9acc6bcc0030e4435e499581043a820c54aa1a4b67ae478cf95f96f28755b03fa4453e484932a64865a61613a1ff4afe30249216e8f392638485693d7 DIST python-jose-3.1.0.tar.gz 101693 BLAKE2B 1ee43ac5aef673f32c3d56e492784e28939b8f74a8232a83d31381b3f978d96ab132c94527df686b52f60c2865936ce022c2cd31ea66f009a83772d1389a7d4a SHA512 c4a04bed8fc17d65cb8fc9b2cf37996edb50fa0dcdc2dedd76a97c784f8af34a9c86748ea2f9ea348955ce780035fbe3a756abc8e1eb5e9b77ad57d411622c6b -EBUILD python-jose-3.0.1.ebuild 1204 BLAKE2B dc1a25484f1a36581090967e8dadaffe471cbe37360043b0ffaf88be4f3d7013bc4d3e436595de859ea0d6e66dcc951d6de326acbe5efd412286f735e7713af0 SHA512 2f892d605794ad628653fe3f2a99e713eb8caf27b50a5360253085f2eec14d56093ddfa584ec5b162264c169b3ecd5075062f998e2fcbf6c912f755180675544 -EBUILD python-jose-3.1.0.ebuild 1079 BLAKE2B a52062825ed82531ab6e9c4796ee353493f667dfed9089bcdfd137d6c5feed3c806c3a5b19ded642bbf93c1777953d8e05683721d8bd6db621c409789e322864 SHA512 61f341ad530731e41de7741d6aa88c805d06e422369a77c052965de76d98f0ff38f517d9c2ea618477adf8b60836cc42889d5c964bcbbfaf6a9d055156070fff +DIST python-jose-3.2.0.tar.gz 102183 BLAKE2B edc0b0e651ec63333345eb29e0c08649823d8c59e88e2f39127081a04c2afedee0ae1c83709dc45bd81f4143cc0e1e76d22117ea11160ab6418372c69f1b216a SHA512 f81e0284ef2df05a5b2dfc5448f3cce0c8988c4ba5d40f935666ee1693a964db3db62609a38192e317bab6b3945fc5c3122b59f373dbc308363d123ea9752efa +EBUILD python-jose-3.1.0.ebuild 1077 BLAKE2B 1671774b5403290ae752bcfc1e5f1194093687dbef6895936d15d07885c637853d01ed69adb2f1535081490b6253e90322383cdaa1171fda0f75d116f2405ddc SHA512 62cac143d24c40a91a1abf8f05de81fb5ef9e5a11851217366001b686d6b0273d3542c2ebb166c25114d41af6be34a58389bbfa3cc7827afa8701d40a51ddb16 +EBUILD python-jose-3.2.0.ebuild 1079 BLAKE2B e50eed8b6c4a6f107f5bd73523d1ee2956cc6133a6c21afdf110e6b7b4452ef4f88f995e9251e09045ce9a1e7646ebe62b0749959754c56a3bd8e493b9544935 SHA512 1d5d82f7c2b2cbce20871699f69217b36c75f9c30588693dcd1a032fb1657fee12a4244d201f5a9e98d006792c5b719165e343803622cb6a1f4c1d7393c28ed8 MISC metadata.xml 545 BLAKE2B 239d505d9411dc5e1f129f6f7c922d9e2ceb541b1d1706f75aee921862af80c94372100145eea73b3d25649c97371f83d6278ef4ef9de65fc1049eaca1f4bf88 SHA512 8192d2511a4a14c938f5a6e877b83ddc850982a9f2e07212bad1da48e7eab9a698466caa8a31780f37bb82135eca7383eee62553f21b5b7304bbae8e2eaba1d5 diff --git a/dev-python/python-jose/python-jose-3.0.1.ebuild b/dev-python/python-jose/python-jose-3.0.1.ebuild deleted file mode 100644 index fd1f877acda6..000000000000 --- a/dev-python/python-jose/python-jose-3.0.1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) - -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="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" -SRC_URI="https://github.com/mpdavis/python-jose/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" -IUSE="test" -RESTRICT="!test? ( test )" -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}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-cov[${PYTHON_USEDEP}] - )" - -python_prepare_all() { - sed -e 's|'\''pytest-runner'\'',\?||' -i setup.py || die - distutils-r1_python_prepare_all -} - -python_test() { - py.test -v || die "tests failed with ${EPYTHON}" -} diff --git a/dev-python/python-jose/python-jose-3.1.0.ebuild b/dev-python/python-jose/python-jose-3.1.0.ebuild index 58a59dfc0efc..78bc93ccf8ee 100644 --- a/dev-python/python-jose/python-jose-3.1.0.ebuild +++ b/dev-python/python-jose/python-jose-3.1.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/mpdavis/python-jose/archive/${PV}.tar.gz -> ${P}.tar LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" RDEPEND=" dev-python/cryptography[${PYTHON_USEDEP}] diff --git a/dev-python/python-jose/python-jose-3.2.0.ebuild b/dev-python/python-jose/python-jose-3.2.0.ebuild new file mode 100644 index 000000000000..f46dbd7c1edc --- /dev/null +++ b/dev-python/python-jose/python-jose-3.2.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6..9} ) +DISTUTILS_USE_SETUPTOOLS=bdepend +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}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" + +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 + +python_prepare_all() { + sed -e '/pytest-runner/d' -i setup.py || die + sed -e '/addopts/d' -i setup.cfg || die + sed -e 's:test_key_too_short:_&:' \ + -i tests/algorithms/test_EC.py || die + distutils-r1_python_prepare_all +} -- cgit v1.2.3