1 |
commit: 5406ad3f3c2ea1dc13e5733d8ab0adf697a84239 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 13 06:29:16 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 13 06:34:59 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5406ad3f |
7 |
|
8 |
dev-python/tenacity: Bump to 8.0.1 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/tenacity/Manifest | 1 + |
13 |
dev-python/tenacity/tenacity-8.0.1.ebuild | 33 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 34 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/tenacity/Manifest b/dev-python/tenacity/Manifest |
17 |
index 615a34b4522..99961be7e11 100644 |
18 |
--- a/dev-python/tenacity/Manifest |
19 |
+++ b/dev-python/tenacity/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST tenacity-7.0.0.tar.gz 33874 BLAKE2B 485b35058e246ac7c68a2d92a4bd30ae182d382d4258854afb1e61d0b31cd1674bfd92599b83425f4e9a92ca4c38e4a91b72a17d0de6f918474ebe59e6bd2d66 SHA512 a627112df19b9f6d1c53294daad7fe1b0aeaed15e6ec07054228575fbc76ca5c22f560ddd6fc176c5c22141669423547ba17f1e33c7d0e7e92d0188acad065c4 |
22 |
DIST tenacity-8.0.0.tar.gz 35483 BLAKE2B bde48a9682d1ce661ec6a35387c8a3931e60f61ac605b95637ce88176a5346eed54047623d0ee116e5c6d279f265d9cee0fd69e2b805c50cd7e06390d6952813 SHA512 f9c8b74d53dc4973e833a2d2625d15b7f40b813b1cfe389511c1083e738d62b0793dbfab73ed13a9e88cc65a17d2c6d8b0a571f13732a26f4c957e16dd9bbefc |
23 |
+DIST tenacity-8.0.1.tar.gz 37492 BLAKE2B 10438b3877862baa88d164837b201773c287e7ce11b6213c677c227cbddda02434b423c0f331746495e68ab130ff9a9c720cccd2def3efa8ca6df8eef441eee9 SHA512 b5a615306e25c93d2734d408cc73f4db5361d92b713c1e7bbb57cd7bf635f82c5ccffafe9c0a6bc0da4057d11c92012d2337a5e4f15465bf4e6839d1fa97b877 |
24 |
|
25 |
diff --git a/dev-python/tenacity/tenacity-8.0.1.ebuild b/dev-python/tenacity/tenacity-8.0.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..4d837bd1e2d |
28 |
--- /dev/null |
29 |
+++ b/dev-python/tenacity/tenacity-8.0.1.ebuild |
30 |
@@ -0,0 +1,33 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="General-purpose retrying library" |
40 |
+HOMEPAGE="https://github.com/jd/tenacity" |
41 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="Apache-2.0" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
46 |
+ |
47 |
+BDEPEND=" |
48 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
49 |
+ test? ( |
50 |
+ www-servers/tornado[${PYTHON_USEDEP}] |
51 |
+ ) |
52 |
+" |
53 |
+ |
54 |
+distutils_enable_tests pytest |
55 |
+ |
56 |
+python_test() { |
57 |
+ local deselect=( |
58 |
+ # TODO: package typeguard |
59 |
+ tests/test_tenacity.py::TestRetryTyping::test_retry_type_annotations |
60 |
+ ) |
61 |
+ |
62 |
+ epytest ${deselect[@]/#/--deselect } |
63 |
+} |