public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/atomiclong/
Date: Mon,  2 Mar 2020 19:45:19 +0000 (UTC)	[thread overview]
Message-ID: <1583178313.a6d75a4b98f37d7bda74e8cbcff201bcccbd16cb.andrewammerlaan@gentoo> (raw)

commit:     a6d75a4b98f37d7bda74e8cbcff201bcccbd16cb
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Mon Mar  2 19:45:13 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon Mar  2 19:45:13 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a6d75a4b

dev-python/atomiclong: Deploy distutils_enable_tests

Package-Manager: Portage-2.3.91, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-python/atomiclong/atomiclong-0.1.1.ebuild | 16 +++-------------
 dev-python/atomiclong/atomiclong-9999.ebuild  | 13 ++-----------
 2 files changed, 5 insertions(+), 24 deletions(-)

diff --git a/dev-python/atomiclong/atomiclong-0.1.1.ebuild b/dev-python/atomiclong/atomiclong-0.1.1.ebuild
index 7b15a08..5b110c1 100644
--- a/dev-python/atomiclong/atomiclong-0.1.1.ebuild
+++ b/dev-python/atomiclong/atomiclong-0.1.1.ebuild
@@ -2,29 +2,19 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
+
 PYTHON_COMPAT=( python3_{6,7} )
 
 inherit distutils-r1
 
-SRC_URI="https://files.pythonhosted.org/packages/86/8c/70aea8215c6ab990f2d91e7ec171787a41b7fbc83df32a067ba5d7f3324f/${P}.tar.gz"
-
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 DESCRIPTION="An AtomicLong type using CFFI."
 HOMEPAGE="https://github.com/dreid/atomiclong"
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="test"
-RESTRICT="!test? ( test )"
 
 RDEPEND="virtual/python-cffi[${PYTHON_USEDEP}]"
 
-DEPEND="${RDEPEND}
-	test? (
-		dev-python/pytest[${PYTHON_USEDEP}]
-	)
-"
-
-python_test() {
-	pytest -vv || die
-}
+distutils_enable_tests pytest

diff --git a/dev-python/atomiclong/atomiclong-9999.ebuild b/dev-python/atomiclong/atomiclong-9999.ebuild
index 788043a..87c8abf 100644
--- a/dev-python/atomiclong/atomiclong-9999.ebuild
+++ b/dev-python/atomiclong/atomiclong-9999.ebuild
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
+
 PYTHON_COMPAT=( python3_{6,7} )
 
 inherit distutils-r1
@@ -16,17 +17,7 @@ HOMEPAGE="https://github.com/dreid/atomiclong"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS=""
-IUSE="test"
-RESTRICT="!test? ( test )"
 
 RDEPEND="virtual/python-cffi[${PYTHON_USEDEP}]"
 
-DEPEND="${RDEPEND}
-	test? (
-		dev-python/pytest[${PYTHON_USEDEP}]
-	)
-"
-
-python_test() {
-	pytest -vv || die
-}
+distutils_enable_tests pytest


             reply	other threads:[~2020-03-02 19:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-02 19:45 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-05-28  2:36 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/atomiclong/ Alessandro Barbieri
2021-05-28  2:36 Alessandro Barbieri
2021-05-16 15:20 Alessandro Barbieri
2021-04-13 13:22 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-04-13 13:15 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-05-18 15:41 Alessandro Barbieri
2020-03-15 11:29 Andrew Ammerlaan
2020-02-23  3:33 Alessandro Barbieri

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=1583178313.a6d75a4b98f37d7bda74e8cbcff201bcccbd16cb.andrewammerlaan@gentoo \
    --to=andrewammerlaan@riseup.net \
    --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