summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-08-17 13:18:29 +0200
committerMichał Górny <mgorny@gentoo.org>2021-08-18 09:56:58 +0200
commit7c0b74ac7540af316bd23808325a3a2bf6bfcb2e (patch)
treee78988abb6a32d2dd884f3f56b8799aeb382db72 /dev-python/backoff
parentMove dev-python/{fcl → python-fcl} (diff)
downloadgentoo-7c0b74ac7540af316bd23808325a3a2bf6bfcb2e.tar.gz
gentoo-7c0b74ac7540af316bd23808325a3a2bf6bfcb2e.tar.bz2
gentoo-7c0b74ac7540af316bd23808325a3a2bf6bfcb2e.zip
Move dev-python/{python-backoff → backoff}
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/backoff')
-rw-r--r--dev-python/backoff/Manifest1
-rw-r--r--dev-python/backoff/backoff-1.11.0.ebuild22
-rw-r--r--dev-python/backoff/metadata.xml13
3 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/backoff/Manifest b/dev-python/backoff/Manifest
new file mode 100644
index 000000000000..ad9ddf8baa5a
--- /dev/null
+++ b/dev-python/backoff/Manifest
@@ -0,0 +1 @@
+DIST backoff-1.11.0.gh.tar.gz 17566 BLAKE2B 4afed5284eb3cbedf54e06fcd89861701613357c672ebabe2611a4bc28c3a6e4539e206cee24bb6a646f7c16c033f16ef56be3b21867aad760b71410749383b7 SHA512 0f5e176bf9d093a72068cf6e55ada8da3e8ec67b85b4fba2d697117dcb3c563a429ff53c5fe17b4a20a8b5ee0420930b789478bd89de5949b628158263413a60
diff --git a/dev-python/backoff/backoff-1.11.0.ebuild b/dev-python/backoff/backoff-1.11.0.ebuild
new file mode 100644
index 000000000000..50f63c524f6b
--- /dev/null
+++ b/dev-python/backoff/backoff-1.11.0.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml
+inherit distutils-r1
+
+DESCRIPTION="Function decoration for backoff and retry"
+HOMEPAGE="https://github.com/litl/backoff https://pypi.org/project/backoff/"
+SRC_URI="https://github.com/litl/backoff/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ~x86"
+
+DOCS=( README.rst )
+
+BDEPEND="test? ( dev-python/pytest-asyncio[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest
diff --git a/dev-python/backoff/metadata.xml b/dev-python/backoff/metadata.xml
new file mode 100644
index 000000000000..35eef87e5b77
--- /dev/null
+++ b/dev-python/backoff/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="github">litl/backoff</remote-id>
+ <remote-id type="pypi">backoff</remote-id>
+ </upstream>
+</pkgmetadata>