summaryrefslogtreecommitdiff
path: root/dev-python/python-backoff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-03 10:28:17 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-03 10:28:17 +0000
commitd99093fb4bb5652015c06274d64083daa2439e4f (patch)
treecf61513204d97974179580065e85df5c8009087c /dev-python/python-backoff
parent463397cf1e064185110fe57c568d73f99a06f5d1 (diff)
gentoo resync : 03.03.2021
Diffstat (limited to 'dev-python/python-backoff')
-rw-r--r--dev-python/python-backoff/Manifest8
-rw-r--r--dev-python/python-backoff/metadata.xml6
-rw-r--r--dev-python/python-backoff/python-backoff-1.10.0.ebuild17
-rw-r--r--dev-python/python-backoff/python-backoff-1.6.0.ebuild26
4 files changed, 16 insertions, 41 deletions
diff --git a/dev-python/python-backoff/Manifest b/dev-python/python-backoff/Manifest
index 2206b2e5104d..86fb94f95d63 100644
--- a/dev-python/python-backoff/Manifest
+++ b/dev-python/python-backoff/Manifest
@@ -1,5 +1,3 @@
-DIST backoff-1.10.0.tar.gz 13652 BLAKE2B 15b9381fc83cce4559c3402cb214d8cf41651a1a72f7231a61a576e9a48ca7a4367b7823043c6540bd15d3d2b8c185be3ec3533bbc61d5f2dcebefaab013945b SHA512 87f64612ec1d6f80d2f173846af196bd347f1fcc6c6f93275dd1cb3b5486789f3c6e98e1080ed6f3b13e28c1b056fb1baa6da73639d4b9b460fedf68bb012422
-DIST backoff-1.6.0.tar.gz 10474 BLAKE2B 64e4b4a9cb8a1ac5a888aae78f50111400bb57f46bb0c123ecfeb4d660393a9786945d83b838599479e70244f2aa9b667428be2f0d57958b084ed8a045d0ea7d SHA512 a9bb5477d8a84397df61bd3904ad0914c5b214e46da9b55a2286ca8a81508184483e99a6703551dfcd1147e3e656396171ab7133f9e0cf2bff1bc17e6da49444
-EBUILD python-backoff-1.10.0.ebuild 567 BLAKE2B 6bcfd6b0ace8d4e42a3eb9568becab8a736f02e1fc955fbf44127cbf8fb5b25f4849672b306ca9be9a43abb486c04f9d7c70e823452c9389ca007eb6a6b09598 SHA512 bb8ce711c1b4d74cca8adf197195b04201eae8d4e3f95eecf624318ef75e599d20aeaf255097ed001373c74fe67e5e667cfbe1d5ece041ff2a39b0827659e95b
-EBUILD python-backoff-1.6.0.ebuild 564 BLAKE2B fe3a403b0a998a3515978492eb91d05855c2d1ad3fbf05c71d61d83a775ded8954e1ade69c69397bc7a866c80e582d2faa300fb1a47fe858cb73352c82c063bc SHA512 8331f1dd6bb5a01ceb26a5f124f69e26f5cd8bc4580ba27edcb77b877c3003919a6132b200cf3a637bad51fec4e432f0a72811abe15ab85e25cc58e8dbd203b8
-MISC metadata.xml 289 BLAKE2B 05f8c0d55061a70998b9685ccbec22edac5bb7d5567ead2e5dde57ad87fdc581aa1b3fd75642117c9ecec899256f542386437d04f6c439a2225c5644cbe260ed SHA512 3e252bdf24d43bd9529d7062551bf939fbfe94fd17c3286c7816b24564f3615af3de250aae50d670bf5c6e8b2a1f49e203a7c4139a315a463a8cd4b0bad2e163
+DIST python-backoff-1.10.0.gh.tar.gz 15546 BLAKE2B 4e2ff1f63a4659c9dbf3135f32da44d4c127909178ffe0fe6935cef43558d61087498d0cd31260396da0ccdff360ee1025db2c0347fb865468abffed2f4adf49 SHA512 9a874a12462c56e8559d2d3d85508f546c397c9d419d1d9ab81d9a046d27b338068f6baeb768fa78b43eccd299de71ec7d1471c4fb153f8c02e6f7292f56b285
+EBUILD python-backoff-1.10.0.ebuild 650 BLAKE2B 35dc9679fe73c508d9195200938545769084c06a61e08c2f52d3640743da205f0a3ab4730fb3137334388ea01c873a3a6ac1adf90326bf281fc015ec65e8d870 SHA512 523df6c47ad667885884ff686175244f555a7804eb073ea00ec0955030fa7a05ca9b9f4eb00ec1c3eee88826a5659d27f805e4d749911d122f960d6995c1dd32
+MISC metadata.xml 386 BLAKE2B ad575b5fbec1d1816f4405f05e092307346a49ea9d70f38ac2429823efd2dd5538a5b5c039014e948bc1e1bc4b7695c62dc90345a232389c185645f11120bdad SHA512 83267ec512b870806fd0cd9d0c8bec3d9a42c8e54b0121b6345f1188626812efff0978cdc727f955bc2b02901741e69a9b20e9370454ecd7a6d8ef562b94a520
diff --git a/dev-python/python-backoff/metadata.xml b/dev-python/python-backoff/metadata.xml
index b07fc479ab40..35eef87e5b77 100644
--- a/dev-python/python-backoff/metadata.xml
+++ b/dev-python/python-backoff/metadata.xml
@@ -1,7 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <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>
diff --git a/dev-python/python-backoff/python-backoff-1.10.0.ebuild b/dev-python/python-backoff/python-backoff-1.10.0.ebuild
index 48d4a2f8dcef..9b51a57eed0b 100644
--- a/dev-python/python-backoff/python-backoff-1.10.0.ebuild
+++ b/dev-python/python-backoff/python-backoff-1.10.0.ebuild
@@ -4,23 +4,22 @@
EAPI=7
PYTHON_COMPAT=( python3_{7,8,9} )
-DISTUTILS_USE_SETUPTOOLS=no
-
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml
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"
+SRC_URI="https://github.com/litl/backoff/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
-RESTRICT="test"
-S=${WORKDIR}/${MY_P}
+KEYWORDS="amd64 ~x86"
DOCS=( README.rst )
-python_test() {
- emake test
-}
+BDEPEND="test? ( dev-python/pytest-asyncio[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest
diff --git a/dev-python/python-backoff/python-backoff-1.6.0.ebuild b/dev-python/python-backoff/python-backoff-1.6.0.ebuild
deleted file mode 100644
index 49223f5e319c..000000000000
--- a/dev-python/python-backoff/python-backoff-1.6.0.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_{7,8} )
-DISTUTILS_USE_SETUPTOOLS=no
-
-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
-}