From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/testresources/
Date: Mon, 5 Jul 2021 10:56:26 +0000 (UTC) [thread overview]
Message-ID: <1625482578.5228aaa4b73c861d15c4cd0fb64502e447e27b46.mgorny@gentoo> (raw)
commit: 5228aaa4b73c861d15c4cd0fb64502e447e27b46
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 5 10:14:47 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jul 5 10:56:18 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5228aaa4
dev-python/testresources: Port to py3.10
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/testresources/testresources-2.0.1.ebuild | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/dev-python/testresources/testresources-2.0.1.ebuild b/dev-python/testresources/testresources-2.0.1.ebuild
index 20aab49f408..fac3d7bddf5 100644
--- a/dev-python/testresources/testresources-2.0.1.ebuild
+++ b/dev-python/testresources/testresources-2.0.1.ebuild
@@ -1,10 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} pypy3 )
+EAPI=8
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
inherit distutils-r1
DESCRIPTION="A pyunit extension for managing expensive test resources"
@@ -14,24 +13,19 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux"
-IUSE="test"
-RESTRICT="!test? ( test )"
BDEPEND="
dev-python/pbr[${PYTHON_USEDEP}]
test? (
- dev-python/nose[${PYTHON_USEDEP}]
dev-python/testtools[${PYTHON_USEDEP}]
dev-python/fixtures[${PYTHON_USEDEP}]
)"
+distutils_enable_tests nose
+
python_prepare_all() {
sed \
-e 's:testBasicSortTests:_&:g' \
-i testresources/tests/test_optimising_test_suite.py || die
distutils-r1_python_prepare_all
}
-
-python_test() {
- nosetests --verbose || die "Tests failed under ${EPYTHON}"
-}
next reply other threads:[~2021-07-05 10:56 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-05 10:56 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-18 13:08 [gentoo-commits] repo/gentoo:master commit in: dev-python/testresources/ Michał Górny
2024-06-10 18:57 Michał Górny
2023-07-10 1:38 Michał Górny
2023-05-31 10:50 Michał Górny
2022-11-30 10:18 WANG Xuerui
2022-06-28 8:11 Michał Górny
2022-06-28 6:43 Agostino Sarubbo
2022-06-28 4:03 Michał Górny
2022-06-27 23:32 Sam James
2022-06-27 19:43 Arthur Zamarin
2022-06-27 19:25 Arthur Zamarin
2022-06-27 19:22 Arthur Zamarin
2022-06-27 19:20 Arthur Zamarin
2022-05-28 10:31 Michał Górny
2022-05-21 12:35 Michał Górny
2022-05-21 12:35 Michał Górny
2022-02-02 7:29 Sam James
2021-07-27 11:00 Marek Szuba
2020-05-31 15:42 Michał Górny
2020-03-29 10:13 Michał Górny
2020-03-28 13:37 Michał Górny
2020-03-28 13:34 Michał Górny
2019-12-30 21:54 Piotr Karbowski
2018-07-16 19:57 Michał Górny
2018-07-09 23:30 Mikle Kolyada
2018-03-31 0:59 Matt Thode
2018-02-21 20:18 Michał Górny
2018-02-17 1:47 Matt Thode
2017-07-29 20:38 Matt Thode
2016-03-02 10:46 Patrick Lauer
2015-11-05 11:52 Agostino Sarubbo
2015-11-03 11:38 Justin Lecher
2015-11-02 11:50 Justin Lecher
2015-11-02 11:50 Justin Lecher
2015-10-14 13:40 Justin Lecher
2015-10-11 11:25 Justin Lecher
2015-10-10 18:49 Mikle Kolyada
2015-08-24 10:12 Justin Lecher
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=1625482578.5228aaa4b73c861d15c4cd0fb64502e447e27b46.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