summaryrefslogtreecommitdiff
path: root/dev-python/tenacity
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/tenacity')
-rw-r--r--dev-python/tenacity/Manifest2
-rw-r--r--dev-python/tenacity/tenacity-8.0.0.ebuild33
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/tenacity/Manifest b/dev-python/tenacity/Manifest
index 73ae0e7b44d7..e21ab4c95e84 100644
--- a/dev-python/tenacity/Manifest
+++ b/dev-python/tenacity/Manifest
@@ -1,3 +1,5 @@
DIST tenacity-7.0.0.tar.gz 33874 BLAKE2B 485b35058e246ac7c68a2d92a4bd30ae182d382d4258854afb1e61d0b31cd1674bfd92599b83425f4e9a92ca4c38e4a91b72a17d0de6f918474ebe59e6bd2d66 SHA512 a627112df19b9f6d1c53294daad7fe1b0aeaed15e6ec07054228575fbc76ca5c22f560ddd6fc176c5c22141669423547ba17f1e33c7d0e7e92d0188acad065c4
+DIST tenacity-8.0.0.tar.gz 35483 BLAKE2B bde48a9682d1ce661ec6a35387c8a3931e60f61ac605b95637ce88176a5346eed54047623d0ee116e5c6d279f265d9cee0fd69e2b805c50cd7e06390d6952813 SHA512 f9c8b74d53dc4973e833a2d2625d15b7f40b813b1cfe389511c1083e738d62b0793dbfab73ed13a9e88cc65a17d2c6d8b0a571f13732a26f4c957e16dd9bbefc
EBUILD tenacity-7.0.0.ebuild 794 BLAKE2B 68db54a8a2ef401c99e796f4b1d7a25464740e7c12035debc70ec337757d1a828438b9cb926e99498583913afd28f103351e2e2f3ce2b695ac0cdd3e97fe4dbf SHA512 c6f937b7db7bc7c24d21846ad6fddfc9a46d137a2b24011ff9d76cd5ebd14dc9c86410f016fb292011d533112d89a3875576564afbb4961a8bf760f83345b43b
+EBUILD tenacity-8.0.0.ebuild 690 BLAKE2B 51424a9af61aae104788dd382cad89c2b4852ecd19385c878602624fe5214975d1ee457496864851e1462de54e68a0ec4359703183a2c9d2ae26b910919c7e50 SHA512 5f9852a46b8efe768fa02a1082aae3872340bb040736c10d20955a3f9a5a5625daab945393627eb3705d656a01f63118c0c9b0b78fbd2a42f076e7ab454f4afa
MISC metadata.xml 855 BLAKE2B f8202daa921e00bbf7beee306ce1ae06d7a65784945c80417666f6924bad97af08b45fe761e79ea2aac4331552d8d146f45d1e086567791eda1a1bd78f57ce39 SHA512 dcb03bf33c2f0de3e945e0a9aa997c7a8896aa49f1db22c6de4185d16b41fe26e0a28b152b28014c6b4fcf2bef9a143f6d96f8b089d357b6f2b2b128b87cd286
diff --git a/dev-python/tenacity/tenacity-8.0.0.ebuild b/dev-python/tenacity/tenacity-8.0.0.ebuild
new file mode 100644
index 000000000000..4d837bd1e2de
--- /dev/null
+++ b/dev-python/tenacity/tenacity-8.0.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+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"
+
+BDEPEND="
+ dev-python/setuptools_scm[${PYTHON_USEDEP}]
+ test? (
+ www-servers/tornado[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local deselect=(
+ # TODO: package typeguard
+ tests/test_tenacity.py::TestRetryTyping::test_retry_type_annotations
+ )
+
+ epytest ${deselect[@]/#/--deselect }
+}