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/treq/
Date: Mon,  9 Aug 2021 09:20:16 +0000 (UTC)	[thread overview]
Message-ID: <1628500801.f28fe386fcdf19be9cf37e3095cdcbe68b33ca61.mgorny@gentoo> (raw)

commit:     f28fe386fcdf19be9cf37e3095cdcbe68b33ca61
Author:     Arthur Zamarin <arthurzam <AT> gmail <DOT> com>
AuthorDate: Mon Aug  9 08:07:18 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Aug  9 09:20:01 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f28fe386

dev-python/treq: enable py3.10, enable tests

Signed-off-by: Arthur Zamarin <arthurzam <AT> gmail.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/treq/treq-21.5.0.ebuild | 18 ++++--------------
 1 file changed, 4 insertions(+), 14 deletions(-)

diff --git a/dev-python/treq/treq-21.5.0.ebuild b/dev-python/treq/treq-21.5.0.ebuild
index b5f62bffd38..f81142924b6 100644
--- a/dev-python/treq/treq-21.5.0.ebuild
+++ b/dev-python/treq/treq-21.5.0.ebuild
@@ -2,8 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_{7,8,9} )
-DISTUTILS_USE_SETUPTOOLS="bdepend"
+
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1
 
@@ -47,17 +47,7 @@ python_install_all() {
 	distutils-r1_python_install_all
 }
 
-test_instructions() {
-	ewarn "The 'test' USE flag and FEATURE only ensures that the correct"
-	ewarn "dependenciess are installed for this package."
-	ewarn "Please run eg:"
-	ewarn "$ python3.7 /usr/bin/trial treq"
-	ewarn "as a user for each of the python versions it is installed to"
-	ewarn "to correctly test this package."
-}
-
 python_test() {
-	# Tests fail when run via emerge
-	# they need proper network access
-	test_instructions
+	distutils_install_for_testing
+	"${EPYTHON}" trial treq || die "Tests failed with ${EPYTHON}"
 }


             reply	other threads:[~2021-08-09  9:20 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-09  9:20 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-24  7:40 [gentoo-commits] repo/gentoo:master commit in: dev-python/treq/ Arthur Zamarin
2024-10-24  0:12 Jakov Smolić
2024-10-21 18:41 Arthur Zamarin
2024-10-21 13:41 Sam James
2024-10-21 12:19 Michał Górny
2024-10-05  9:36 Michał Górny
2024-10-05  9:21 Arthur Zamarin
2024-09-20  5:12 Michał Górny
2024-08-13 20:41 Michał Górny
2023-11-29 10:35 Michał Górny
2023-11-29 10:33 Michał Górny
2023-11-04 17:14 Arthur Zamarin
2023-05-29 12:26 Michał Górny
2022-10-28 13:34 Sam James
2022-09-22  7:42 Agostino Sarubbo
2022-07-10 18:41 Arthur Zamarin
2022-07-04  6:57 Michał Górny
2022-05-16 13:30 Michał Górny
2022-03-14 10:32 Yixun Lan
2022-02-09  9:39 Michał Górny
2022-01-30  7:42 Michał Górny
2022-01-30  7:07 Michał Górny
2022-01-30  7:07 Michał Górny
2021-10-17  9:41 Michał Górny
2021-08-09  9:20 Michał Górny
2021-08-09  9:20 Michał Górny
2021-08-09  9:20 Michał Górny
2021-06-20 16:07 Brian Dolbec
2021-05-04 19:23 Sam James
2021-01-29 21:46 Brian Dolbec
2020-10-21 22:51 Michał Górny
2020-10-10 18:56 Brian Dolbec
2020-05-12 22:07 Brian Dolbec
2020-05-12 18:15 Brian Dolbec
2020-03-17  8:08 Michał Górny
2020-02-06  6:38 Michał Górny
2019-12-29  8:53 David Seifert
2019-05-21 15:25 Stephen Klimaszewski
2018-03-17  9:24 Pacho Ramos
2018-01-19 22:55 Brian Dolbec
2017-03-29  1:43 Brian Dolbec
2016-12-24 21:54 Brian Dolbec

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=1628500801.f28fe386fcdf19be9cf37e3095cdcbe68b33ca61.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