commit:     8e82003afd9e8d274901ec226af53a64c365740a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 22 12:11:05 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Sep 22 12:15:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e82003a

dev-python/tenacity: Bump to 8.1.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/tenacity/Manifest              |  1 +
 dev-python/tenacity/tenacity-8.1.0.ebuild | 41 +++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/dev-python/tenacity/Manifest b/dev-python/tenacity/Manifest
index 78bbcb10f9a9..b63e79787328 100644
--- a/dev-python/tenacity/Manifest
+++ b/dev-python/tenacity/Manifest
@@ -1 +1,2 @@
 DIST tenacity-8.0.1.tar.gz 37492 BLAKE2B 
10438b3877862baa88d164837b201773c287e7ce11b6213c677c227cbddda02434b423c0f331746495e68ab130ff9a9c720cccd2def3efa8ca6df8eef441eee9
 SHA512 
b5a615306e25c93d2734d408cc73f4db5361d92b713c1e7bbb57cd7bf635f82c5ccffafe9c0a6bc0da4057d11c92012d2337a5e4f15465bf4e6839d1fa97b877
+DIST tenacity-8.1.0.tar.gz 37658 BLAKE2B 
4f9e2ea44ac0f0ed8b694b0f60e938fadbcf65bd989e9d641f7a40750f499aa9635a70d80e406aa2ebf436ebd37cde0d88e8ecb6cb3436ba755c2d921541c8e8
 SHA512 
194312e80233d6edcdf30496a355b272a4de4809bbe187948a7ce9c1382958845d12401498569f2b8d4251ede2857317820779f13a65bb2e69dcb97dde9bb501

diff --git a/dev-python/tenacity/tenacity-8.1.0.ebuild 
b/dev-python/tenacity/tenacity-8.1.0.ebuild
new file mode 100644
index 000000000000..f26d4e37358c
--- /dev/null
+++ b/dev-python/tenacity/tenacity-8.1.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="General-purpose retrying library"
+HOMEPAGE="
+       https://github.com/jd/tenacity/
+       https://pypi.org/project/tenacity/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+
+BDEPEND="
+       dev-python/setuptools_scm[${PYTHON_USEDEP}]
+       test? (
+               www-servers/tornado[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+       local EPYTEST_DESELECT=()
+
+       if ! has_version "dev-python/typeguard[${PYTHON_USEDEP}]"; then
+               EPYTEST_DESELECT+=(
+                       
tests/test_tenacity.py::TestRetryTyping::test_retry_type_annotations
+               )
+       fi
+
+       epytest
+}

Reply via email to