diff options
Diffstat (limited to 'dev-python/tenacity')
-rw-r--r-- | dev-python/tenacity/Manifest | 4 | ||||
-rw-r--r-- | dev-python/tenacity/metadata.xml | 4 | ||||
-rw-r--r-- | dev-python/tenacity/tenacity-7.0.0.ebuild | 38 |
3 files changed, 45 insertions, 1 deletions
diff --git a/dev-python/tenacity/Manifest b/dev-python/tenacity/Manifest index ac532633987b..fbad50619b84 100644 --- a/dev-python/tenacity/Manifest +++ b/dev-python/tenacity/Manifest @@ -1,3 +1,5 @@ DIST tenacity-6.2.0.tar.gz 35213 BLAKE2B 830953463ef9d7ee9e99fc0c9d3f55910754f4c2c777110ad8af65b0af186b2aada25ec3d9ae80f266ad9200080db1af70b80bb77f1edc51148001ca49e0bd08 SHA512 3753ab44390810458c559d243bdc5e3c0092a0c2af7eb4e6fa43d5e6e215a58d4bf3ff6e81800db2f517796b501fff038964b424e364ac417ddd3e70b57bc6c8 +DIST tenacity-7.0.0.tar.gz 33874 BLAKE2B 485b35058e246ac7c68a2d92a4bd30ae182d382d4258854afb1e61d0b31cd1674bfd92599b83425f4e9a92ca4c38e4a91b72a17d0de6f918474ebe59e6bd2d66 SHA512 a627112df19b9f6d1c53294daad7fe1b0aeaed15e6ec07054228575fbc76ca5c22f560ddd6fc176c5c22141669423547ba17f1e33c7d0e7e92d0188acad065c4 EBUILD tenacity-6.2.0.ebuild 704 BLAKE2B ff5d11501625024e51347afa95f35552ae55b3e07dce5cd36a0bb4a795d287e850cf354666005a7872dfec86e5ff68342fcf9f42772afd0273b4b4f03a5838e2 SHA512 6574e583f86e7cd8c283578033211b20a384d086b554401a096ab4000fe04f1ecf9a35a834a07144d3924390aedf7fdb374b7fddbe92b094273606b35a8928f6 -MISC metadata.xml 754 BLAKE2B 7300bb786325e869b59e66b8c88f27019a7f8070054bb1319f5c9ada25302ee1f58e78f1eef727bb5e2b18185e6d9b0b3fd4c30574ef977966ace62bae50e170 SHA512 ad8d24dc0b57cd2ca3df9239fd0e122902b0e0ec2769748672601601aa320c81644e682b9776c21b7672a7b654a190999a159f4122ef868f9eb8d0a2edaeec3d +EBUILD tenacity-7.0.0.ebuild 796 BLAKE2B 3c5ac096de6e1a1d663da50360ef9f602dd5f2b266744e0363f5c18aead42cf8feeb51352737be47add6421c5c5559b1852eeb29da89ca3213b777e67b8a032d SHA512 031361aa3b66f955144a214917f0d4b1f97782d4042b70f0e9ba932753f54fc3475ae278e8431b3fa80a3b6440020b6fedf048cc57ff884b983a3168362759d6 +MISC metadata.xml 855 BLAKE2B f8202daa921e00bbf7beee306ce1ae06d7a65784945c80417666f6924bad97af08b45fe761e79ea2aac4331552d8d146f45d1e086567791eda1a1bd78f57ce39 SHA512 dcb03bf33c2f0de3e945e0a9aa997c7a8896aa49f1db22c6de4185d16b41fe26e0a28b152b28014c6b4fcf2bef9a143f6d96f8b089d357b6f2b2b128b87cd286 diff --git a/dev-python/tenacity/metadata.xml b/dev-python/tenacity/metadata.xml index 3d16ac1b7563..c825b59653f9 100644 --- a/dev-python/tenacity/metadata.xml +++ b/dev-python/tenacity/metadata.xml @@ -9,6 +9,10 @@ <email>openstack@gentoo.org</email> <name>Openstack</name> </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> <longdescription lang="en"> Tenacity is an Apache 2.0 licensed general-purpose retrying library, written in Python, to simplify the task of adding retry behavior to just about anything. It originates from a fork of Retrying. </longdescription> diff --git a/dev-python/tenacity/tenacity-7.0.0.ebuild b/dev-python/tenacity/tenacity-7.0.0.ebuild new file mode 100644 index 000000000000..dcd22bfad3dd --- /dev/null +++ b/dev-python/tenacity/tenacity-7.0.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +inherit distutils-r1 + +DESCRIPTION="General-purpose retrying library" +HOMEPAGE="https://github.com/jd/tenacity" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/six-1.9.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + www-servers/tornado[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local deselect=( + # TODO: package typeguard + tenacity/tests/test_tenacity.py::TestRetryTyping::test_retry_type_annotations + ) + + pytest -vv ${deselect[@]/#/--deselect } || + die "Tests failed with ${EPYTHON}" +} |