1 |
commit: 8e82003afd9e8d274901ec226af53a64c365740a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 22 12:11:05 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 22 12:15:37 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e82003a |
7 |
|
8 |
dev-python/tenacity: Bump to 8.1.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.1.0.ebuild | 41 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 42 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/tenacity/Manifest b/dev-python/tenacity/Manifest |
17 |
index 78bbcb10f9a9..b63e79787328 100644 |
18 |
--- a/dev-python/tenacity/Manifest |
19 |
+++ b/dev-python/tenacity/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST tenacity-8.0.1.tar.gz 37492 BLAKE2B 10438b3877862baa88d164837b201773c287e7ce11b6213c677c227cbddda02434b423c0f331746495e68ab130ff9a9c720cccd2def3efa8ca6df8eef441eee9 SHA512 b5a615306e25c93d2734d408cc73f4db5361d92b713c1e7bbb57cd7bf635f82c5ccffafe9c0a6bc0da4057d11c92012d2337a5e4f15465bf4e6839d1fa97b877 |
22 |
+DIST tenacity-8.1.0.tar.gz 37658 BLAKE2B 4f9e2ea44ac0f0ed8b694b0f60e938fadbcf65bd989e9d641f7a40750f499aa9635a70d80e406aa2ebf436ebd37cde0d88e8ecb6cb3436ba755c2d921541c8e8 SHA512 194312e80233d6edcdf30496a355b272a4de4809bbe187948a7ce9c1382958845d12401498569f2b8d4251ede2857317820779f13a65bb2e69dcb97dde9bb501 |
23 |
|
24 |
diff --git a/dev-python/tenacity/tenacity-8.1.0.ebuild b/dev-python/tenacity/tenacity-8.1.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..f26d4e37358c |
27 |
--- /dev/null |
28 |
+++ b/dev-python/tenacity/tenacity-8.1.0.ebuild |
29 |
@@ -0,0 +1,41 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..11} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="General-purpose retrying library" |
41 |
+HOMEPAGE=" |
42 |
+ https://github.com/jd/tenacity/ |
43 |
+ https://pypi.org/project/tenacity/ |
44 |
+" |
45 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="Apache-2.0" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86" |
50 |
+ |
51 |
+BDEPEND=" |
52 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
53 |
+ test? ( |
54 |
+ www-servers/tornado[${PYTHON_USEDEP}] |
55 |
+ ) |
56 |
+" |
57 |
+ |
58 |
+distutils_enable_tests pytest |
59 |
+ |
60 |
+python_test() { |
61 |
+ local EPYTEST_DESELECT=() |
62 |
+ |
63 |
+ if ! has_version "dev-python/typeguard[${PYTHON_USEDEP}]"; then |
64 |
+ EPYTEST_DESELECT+=( |
65 |
+ tests/test_tenacity.py::TestRetryTyping::test_retry_type_annotations |
66 |
+ ) |
67 |
+ fi |
68 |
+ |
69 |
+ epytest |
70 |
+} |