add justbackoff-0.6.0

This commit is contained in:
2022-07-21 12:07:29 +02:00
committed by Andreas Billmeier
parent d13108057b
commit 5ce34a2d7f
4 changed files with 55 additions and 2 deletions

View File

@@ -0,0 +1,3 @@
DIST justbackoff-0.6.0.tar.gz 2951 BLAKE2B 5d74c3af11555affa89e7dcf9abcc3745f05c86f0ca4a3d20a2886f8ccf7e794ac5698f01c8648fb1b4caef60c0586dd4906de98ba032657208fe2d392f2fdfe SHA512 de48b5167f4a5b5c740ee856aea46aad9a66d4238277eef0d505f6f070369c4bb1a5ecf16526050c859f62f30ff39c64fe54ec0d440c1c5ef1cf9f6caf151ab4
EBUILD justbackoff-0.6.0.ebuild 727 BLAKE2B b415ff66ff91a58f53fd496b0247e0616af40a5bfa956c301cae3f3144bbb84bcfacddee27e4bed9fb82caf5d166670f0aeabcd0d6aea9d4309f21dddf8cba5c SHA512 bfd29be8f05caee68e4ef2eaae5d30356b94f810b473f8e12f7bca4b6e3556755904dbc110b1f992842f61cc0da692e6a34bc66d838503b19a86d07f2f5bbc58
MISC metadata.xml 461 BLAKE2B c7f771135ffb897c67af27965d41ce5a7a0edef4335e8053df1ab2ac1990d42089caa807afae89c640fe739bb95743c2859facddec33ecf5d39822c46b070308 SHA512 47f9ac8c461cb6bc59170df3f811fc041c2ca78b1f74f787353e45b44ab69fd61da2d218dbd9402d7f229382d7d771c73bd82e55186c96e88005a44e9e3ffb91

View File

@@ -0,0 +1,35 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Simple backoff algorithm in Python"
HOMEPAGE="https://github.com/admiralobvious/justbackoff https://pypi.org/project/justbackoff/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND=""
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest

View 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">justbackoff</remote-id>
<maintainer status="unknown">
<email>aferlandqc@gmail.com</email>
<name>Alexandre Ferland</name>
</maintainer>
</upstream>
</pkgmetadata>