dev-python/tenacity: new package, add 8.0.1-r1
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
3
dev-python/tenacity/Manifest
Normal file
3
dev-python/tenacity/Manifest
Normal file
@@ -0,0 +1,3 @@
|
||||
DIST tenacity-8.0.1.tar.gz 37492 BLAKE2B 10438b3877862baa88d164837b201773c287e7ce11b6213c677c227cbddda02434b423c0f331746495e68ab130ff9a9c720cccd2def3efa8ca6df8eef441eee9 SHA512 b5a615306e25c93d2734d408cc73f4db5361d92b713c1e7bbb57cd7bf635f82c5ccffafe9c0a6bc0da4057d11c92012d2337a5e4f15465bf4e6839d1fa97b877
|
||||
EBUILD tenacity-8.0.1-r1.ebuild 813 BLAKE2B ef4522a950cbd2a2ea88d1e7a2189682d3b59aace1e385ebe36577bba27fb6db1aa4620d254a2e77c443df90129615e75fd65092f7ba02498557fcf730878e04 SHA512 b7b2e54b6271c7bb4aed7cc20ba1e3b7c41c06db027a74eae8a8f9786b46a9a24c776d8f22f3bc0f7c9b7199b2f093bd81b690cb16c9ae14d54312cabae9b388
|
||||
MISC metadata.xml 452 BLAKE2B a50d5e3961856c3e1b3f8e16a8553baa0d472bce453862584c85ac36cf5e6e87b57831393bf6d48702270de20e18fa513554e52e875cfa688ad965ae6f2fd6e3 SHA512 0c42bda6a31915c60e10738da6363e1866e2603be394b81dd0a80cf4c3219cae92876c78397f04abe5c2547a98a66863e975aa7307d2891c7ab0f2bc96cf3ca1
|
||||
15
dev-python/tenacity/metadata.xml
Normal file
15
dev-python/tenacity/metadata.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>b@edevau.net</email>
|
||||
<name>Andreas Billmeier</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">tenacity</remote-id>
|
||||
<maintainer status="unknown">
|
||||
<email>julien@danjou.info</email>
|
||||
<name>Julien Danjou</name>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
41
dev-python/tenacity/tenacity-8.0.1-r1.ebuild
Normal file
41
dev-python/tenacity/tenacity-8.0.1-r1.ebuild
Normal file
@@ -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? (
|
||||
dev-python/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
|
||||
}
|
||||
Reference in New Issue
Block a user