public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-backoff/
Date: Tue,  2 Mar 2021 01:19:47 +0000 (UTC)	[thread overview]
Message-ID: <1614647977.ad55379c9fa7a04654ed009ad256b0ec942648da.sam@gentoo> (raw)

commit:     ad55379c9fa7a04654ed009ad256b0ec942648da
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  2 01:10:32 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar  2 01:19:37 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad55379c

dev-python/python-backoff: enable tests via github distfile

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/python-backoff/Manifest                     |  2 +-
 dev-python/python-backoff/python-backoff-1.10.0.ebuild | 15 +++++++--------
 2 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/dev-python/python-backoff/Manifest b/dev-python/python-backoff/Manifest
index 444d511fa6d..fa8b50b220b 100644
--- a/dev-python/python-backoff/Manifest
+++ b/dev-python/python-backoff/Manifest
@@ -1,2 +1,2 @@
-DIST backoff-1.10.0.tar.gz 13652 BLAKE2B 15b9381fc83cce4559c3402cb214d8cf41651a1a72f7231a61a576e9a48ca7a4367b7823043c6540bd15d3d2b8c185be3ec3533bbc61d5f2dcebefaab013945b SHA512 87f64612ec1d6f80d2f173846af196bd347f1fcc6c6f93275dd1cb3b5486789f3c6e98e1080ed6f3b13e28c1b056fb1baa6da73639d4b9b460fedf68bb012422
 DIST backoff-1.6.0.tar.gz 10474 BLAKE2B 64e4b4a9cb8a1ac5a888aae78f50111400bb57f46bb0c123ecfeb4d660393a9786945d83b838599479e70244f2aa9b667428be2f0d57958b084ed8a045d0ea7d SHA512 a9bb5477d8a84397df61bd3904ad0914c5b214e46da9b55a2286ca8a81508184483e99a6703551dfcd1147e3e656396171ab7133f9e0cf2bff1bc17e6da49444
+DIST python-backoff-1.10.0.gh.tar.gz 15546 BLAKE2B 4e2ff1f63a4659c9dbf3135f32da44d4c127909178ffe0fe6935cef43558d61087498d0cd31260396da0ccdff360ee1025db2c0347fb865468abffed2f4adf49 SHA512 9a874a12462c56e8559d2d3d85508f546c397c9d419d1d9ab81d9a046d27b338068f6baeb768fa78b43eccd299de71ec7d1471c4fb153f8c02e6f7292f56b285

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 48d4a2f8dce..24b5e8e5e65 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}
 
 DOCS=( README.rst )
 
-python_test() {
-	emake test
-}
+BDEPEND="test? ( dev-python/pytest-asyncio[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest


             reply	other threads:[~2021-03-02  1:19 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-02  1:19 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-08-16  6:13 [gentoo-commits] repo/gentoo:master commit in: dev-python/python-backoff/ Michał Górny
2021-08-16  5:13 Agostino Sarubbo
2021-07-13  6:35 Michał Górny
2021-03-02  9:00 Michał Górny
2021-03-02  9:00 Michał Górny
2021-03-02  7:38 Sam James
2021-03-02  1:19 Sam James
2021-02-07 21:34 Zac Medico
2021-01-19 18:07 Zac Medico
2021-01-19 18:07 Zac Medico
2020-10-15  1:44 Zac Medico
2019-06-05 15:17 Manuel Rüger
2018-08-09  1:01 Zac Medico

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1614647977.ad55379c9fa7a04654ed009ad256b0ec942648da.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox