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