summaryrefslogtreecommitdiff
path: root/dev-python/python-backoff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-08-12 06:32:46 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-08-12 06:32:46 +0100
commit28e3d252dc8ac8a5635206dfefe1cfe05058d1db (patch)
treee75bce604750fb72e53ed3684059e2e5d2094509 /dev-python/python-backoff
parentf625b9919a60a30f1bd860f7d1b2eac183ced593 (diff)
gentoo resync : 12.08.2018
Diffstat (limited to 'dev-python/python-backoff')
-rw-r--r--dev-python/python-backoff/Manifest3
-rw-r--r--dev-python/python-backoff/metadata.xml11
-rw-r--r--dev-python/python-backoff/python-backoff-1.6.0.ebuild25
3 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/python-backoff/Manifest b/dev-python/python-backoff/Manifest
new file mode 100644
index 000000000000..b860d1fe8074
--- /dev/null
+++ b/dev-python/python-backoff/Manifest
@@ -0,0 +1,3 @@
+DIST backoff-1.6.0.tar.gz 10474 BLAKE2B 64e4b4a9cb8a1ac5a888aae78f50111400bb57f46bb0c123ecfeb4d660393a9786945d83b838599479e70244f2aa9b667428be2f0d57958b084ed8a045d0ea7d SHA512 a9bb5477d8a84397df61bd3904ad0914c5b214e46da9b55a2286ca8a81508184483e99a6703551dfcd1147e3e656396171ab7133f9e0cf2bff1bc17e6da49444
+EBUILD python-backoff-1.6.0.ebuild 593 BLAKE2B 064acac6283d0cc04f695e85a9f6865c157e4d67c55abc057702bd833fb45ddc124d222111892076d409cdfcbadf0a8ddf4b7cad37211f817c110bf60160f409 SHA512 13345666c261084f61ba53e0ac5bf859d33dbbfdf650769321a3438f4b3da89e48f9f3951e6d62752d4a7425ceab75a08e297087b2122e62cb52e9d1d1e39287
+MISC metadata.xml 340 BLAKE2B a920195ff15b57c43e2ada5474cec497fa16c1914dea631b88c5e84942c5dd7a5d22d80dd2a162dc347153563274fe5e25d34dca0a9f0a3d22e12b0057e8ef22 SHA512 7dff40ae5c42b76769febb0b76b7e44b605daf77c0bd4cb1446e2e7f3414a6a539dc24a523970e90ef9695ec87982f12ccdde4f63c625895667d4880e27933e8
diff --git a/dev-python/python-backoff/metadata.xml b/dev-python/python-backoff/metadata.xml
new file mode 100644
index 000000000000..d05b80a0f2d9
--- /dev/null
+++ b/dev-python/python-backoff/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zmedico@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">litl/backoff</remote-id>
+ <remote-id type="pypi">backoff</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/python-backoff/python-backoff-1.6.0.ebuild b/dev-python/python-backoff/python-backoff-1.6.0.ebuild
new file mode 100644
index 000000000000..74d97cd9e39e
--- /dev/null
+++ b/dev-python/python-backoff/python-backoff-1.6.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
+
+inherit distutils-r1
+
+MY_PN=${PN#python-}
+MY_P=${MY_PN}-${PV}
+DESCRIPTION="Function decoration for backoff and retry"
+HOMEPAGE="https://github.com/litl/backoff https://pypi.org/project/backoff/"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="test"
+S=${WORKDIR}/${MY_P}
+
+DOCS=( README.rst )
+
+python_test() {
+ emake test || die "tests failed under ${EPYTHON}"
+}