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/metadata.xml21
-rw-r--r--dev-python/tenacity/tenacity-9.1.4.ebuild36
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/tenacity/Manifest b/dev-python/tenacity/Manifest
new file mode 100644
index 000000000000..26f87bdb7b3b
--- /dev/null
+++ b/dev-python/tenacity/Manifest
@@ -0,0 +1,2 @@
+DIST tenacity-9.1.4.tar.gz 49413 BLAKE2B 730bcf23e2b96e7de78c128e9f8efcf84f2fde4a2c08e065f41a2e43523047aacb203f2aa910dd5f082908699747aecc20c823cfb563f4bc81bdbea897648a25 SHA512 2d99c144f1bdc7f69a044f400debbd30d8fa66416b9cab268d3f506e86ca5c20d38cf10f6b8c8a9f63814295d24dc93d0109c1eaacacf1734347c983f0b7b327
+DIST tenacity-9.1.4.tar.gz.provenance 9457 BLAKE2B 8551640e69d297de6aeaa5ee10f2b006df717252e6733bc9094722bd34cb0ac886ce0325d0b82ca4b9088f371a61d373354e89e6aa521ff208df2e1e59be47e2 SHA512 ecb6e0f01086d13c154558e582685c486b804dd21e5612093299c60a8e8ed5da55380f7f72af0af106cf17a0bf3f0c8c02c75e3206cfe946f9c3554bb708a3c8
diff --git a/dev-python/tenacity/metadata.xml b/dev-python/tenacity/metadata.xml
new file mode 100644
index 000000000000..227c5949b604
--- /dev/null
+++ b/dev-python/tenacity/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>prometheanfire@gentoo.org</email>
+ <name>Matthew Thode</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>openstack@gentoo.org</email>
+ <name>Openstack</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <longdescription lang="en">
+ Tenacity is an Apache 2.0 licensed general-purpose retrying library, written in Python, to simplify the task of adding retry behavior to just about anything. It originates from a fork of Retrying.
+ </longdescription>
+ <stabilize-allarches />
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
diff --git a/dev-python/tenacity/tenacity-9.1.4.ebuild b/dev-python/tenacity/tenacity-9.1.4.ebuild
new file mode 100644
index 000000000000..209fb78d0eba
--- /dev/null
+++ b/dev-python/tenacity/tenacity-9.1.4.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_VERIFY_REPO=https://github.com/jd/tenacity
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="General-purpose retrying library"
+HOMEPAGE="
+ https://github.com/jd/tenacity/
+ https://pypi.org/project/tenacity/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ppc ppc64 ~riscv ~sparc x86"
+
+BDEPEND="
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+ test? (
+ >=dev-python/tornado-6.4-r1[${PYTHON_USEDEP}]
+ dev-python/typeguard[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # fragile to timing
+ tests/test_asyncio.py::TestContextManager::test_sleeps
+)