public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/nose_warnings_filters/
Date: Mon,  8 Jun 2020 17:36:41 +0000 (UTC)	[thread overview]
Message-ID: <1591637798.3a9cc50ba54c301d2a892eedf3aba49d049d88af.mgorny@gentoo> (raw)

commit:     3a9cc50ba54c301d2a892eedf3aba49d049d88af
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  8 17:35:57 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jun  8 17:36:38 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a9cc50b

dev-python/nose_warnings_filters: Port to py3.9, fix tests

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../nose_warnings_filters-0.1.5-r3.ebuild               | 17 +++--------------
 1 file changed, 3 insertions(+), 14 deletions(-)

diff --git a/dev-python/nose_warnings_filters/nose_warnings_filters-0.1.5-r3.ebuild b/dev-python/nose_warnings_filters/nose_warnings_filters-0.1.5-r3.ebuild
index 3f1dac54216..e54eb569025 100644
--- a/dev-python/nose_warnings_filters/nose_warnings_filters-0.1.5-r3.ebuild
+++ b/dev-python/nose_warnings_filters/nose_warnings_filters-0.1.5-r3.ebuild
@@ -3,7 +3,8 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6..9} )
 
 inherit distutils-r1
 
@@ -14,19 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="amd64 ~arm64 ~ppc x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
 
 RDEPEND="dev-python/nose[${PYTHON_USEDEP}]"
-DEPEND="
-	dev-python/setuptools[${PYTHON_USEDEP}]
-	test? ( ${RDEPEND} )"
 
-python_test() {
-	# nose_warnings_filters doesn't have a proper
-	# testing suite, hence we run the only testing
-	# script available
-	distutils_install_for_testing
-	cd "${TEST_DIR}"/lib || die
-	"${EPYTHON}" "${S}"/${PN}/testing/test_config.py || die "Failed running test script"
-}
+distutils_enable_tests nose


             reply	other threads:[~2020-06-08 17:36 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-08 17:36 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-01-28 23:28 [gentoo-commits] repo/gentoo:master commit in: dev-python/nose_warnings_filters/ James Le Cuirot
2021-11-18  8:10 Sam James
2021-11-14  3:43 Sam James
2021-09-08 16:19 Sam James
2021-08-24 23:21 Sam James
2021-08-10  5:00 Sam James
2021-07-11 10:14 Georgy Yakovlev
2021-07-01 12:27 Michał Górny
2021-06-20  1:45 Sam James
2020-10-16 18:22 Michał Górny
2020-08-03  3:11 Sam James
2020-05-04 11:26 Michał Górny
2020-03-01  4:42 Andrey Grozin
2020-02-05 16:53 Michał Górny
2018-05-16 12:28 Agostino Sarubbo
2018-04-22  1:35 Thomas Deutschmann
2018-03-12  0:51 Matt Turner
2017-06-19 18:12 Alexis Ballier
2017-05-02 17:43 Michał Górny
2017-03-12 11:15 Zac Medico
2017-03-10 12:43 David Seifert
2017-03-10 10:16 David Seifert
2017-03-10 10:12 David Seifert
2016-10-28 20:56 Patrick Lauer
2016-09-05 21:10 David Seifert

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=1591637798.3a9cc50ba54c301d2a892eedf3aba49d049d88af.mgorny@gentoo \
    --to=mgorny@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