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/terminaltables/
Date: Sun, 20 Nov 2022 06:45:26 +0000 (UTC)	[thread overview]
Message-ID: <1668926712.bd8fab279b57b024101f77363ebdc029b21e51e2.sam@gentoo> (raw)

commit:     bd8fab279b57b024101f77363ebdc029b21e51e2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 20 06:45:12 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 20 06:45:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd8fab27

dev-python/terminaltables: fix tests in some envs; enable py3.11

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

 dev-python/terminaltables/terminaltables-3.1.10-r1.ebuild | 9 ++++++++-
 dev-python/terminaltables/terminaltables-9999.ebuild      | 9 ++++++++-
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/dev-python/terminaltables/terminaltables-3.1.10-r1.ebuild b/dev-python/terminaltables/terminaltables-3.1.10-r1.ebuild
index b08a653b797d..2e78fc2ba3c7 100644
--- a/dev-python/terminaltables/terminaltables-3.1.10-r1.ebuild
+++ b/dev-python/terminaltables/terminaltables-3.1.10-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
 
 inherit distutils-r1
 
@@ -38,3 +38,10 @@ src_prepare() {
 
 	distutils-r1_src_prepare
 }
+
+python_test() {
+	# We override FORCE_COLOR otherwise termcolor
+	# would pick it up from env. and give unexpected
+	# output for tests.
+	FORCE_COLOR=1 epytest
+}

diff --git a/dev-python/terminaltables/terminaltables-9999.ebuild b/dev-python/terminaltables/terminaltables-9999.ebuild
index c5cb790fdd38..5b904f1c7220 100644
--- a/dev-python/terminaltables/terminaltables-9999.ebuild
+++ b/dev-python/terminaltables/terminaltables-9999.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
 
 inherit distutils-r1 git-r3
 
@@ -32,3 +32,10 @@ src_prepare() {
 
 	distutils-r1_src_prepare
 }
+
+python_test() {
+	# We override FORCE_COLOR otherwise termcolor
+	# would pick it up from env. and give unexpected
+	# output for tests.
+	FORCE_COLOR=1 epytest
+}


             reply	other threads:[~2022-11-20  6:45 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-20  6:45 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-19 11:47 [gentoo-commits] repo/gentoo:master commit in: dev-python/terminaltables/ Michał Górny
2023-11-30  2:08 Sam James
2023-10-27 18:28 Michał Górny
2023-10-27 18:27 Michał Górny
2023-10-27 18:27 Michał Górny
2022-02-27 18:52 Michał Górny
2022-01-27 10:02 Michał Górny
2022-01-08 18:23 Michał Górny
2022-01-08 18:03 Jakov Smolić
2021-12-07 22:23 Michał Górny
2021-05-23 13:41 Michał Górny
2020-12-11 15:16 Michał Górny
2020-12-03 11:26 Sam James
2020-12-03 11:20 Sam James
2020-12-03 11:19 Sam James
2020-02-04 15:48 Michał Górny
2019-08-11  8:32 Michał Górny
2019-07-07 13:10 Michał Górny
2019-07-07 13:10 Michał Górny
2019-07-07 13:10 Michał Górny
2019-07-07 13:10 Michał Górny
2017-10-04  8:57 Michał Górny
2017-07-05 15:04 Brian Evans

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=1668926712.bd8fab279b57b024101f77363ebdc029b21e51e2.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