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/pbr/
Date: Sat, 21 May 2022 06:47:18 +0000 (UTC)	[thread overview]
Message-ID: <1653115631.1f5d302eadccdfbc16c392b6191242df292879e8.mgorny@gentoo> (raw)

commit:     1f5d302eadccdfbc16c392b6191242df292879e8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May 21 06:03:57 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 21 06:47:11 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f5d302e

dev-python/pbr: Enable py3.11

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

 dev-python/pbr/pbr-5.9.0.ebuild | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/dev-python/pbr/pbr-5.9.0.ebuild b/dev-python/pbr/pbr-5.9.0.ebuild
index c78b5363efe1..35ac02ee250f 100644
--- a/dev-python/pbr/pbr-5.9.0.ebuild
+++ b/dev-python/pbr/pbr-5.9.0.ebuild
@@ -4,12 +4,18 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
+PYTHON_TESTED=( python3_{8..10} )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_11 pypy3 )
 PYTHON_REQ_USE="threads(+)"
+
 inherit distutils-r1
 
 DESCRIPTION="Inject some useful and sensible default behaviors into setuptools"
-HOMEPAGE="https://github.com/openstack/pbr/"
+HOMEPAGE="
+	https://opendev.org/openstack/pbr/
+	https://github.com/openstack/pbr/
+	https://pypi.org/project/pbr/
+"
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
@@ -35,22 +41,18 @@ BDEPEND="
 			>=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
 			>=dev-python/virtualenv-20.0.3[${PYTHON_USEDEP}]
 			dev-vcs/git
-		' 'python*')
+		' "${PYTHON_TESTED[@]}")
 	)"
 
 distutils_enable_tests unittest
 
-# This normally actually belongs here.
 python_prepare_all() {
 	# TODO: investigate
 	sed -e s':test_console_script_develop:_&:' \
 		-e s':test_console_script_install:_&:' \
 		-i pbr/tests/test_core.py || die
-	# broken on pypy3
-	# https://bugs.launchpad.net/pbr/+bug/1881479
-	sed -e 's:test_generates_c_extensions:_&:' \
-		-i pbr/tests/test_packaging.py || die
-	rm pbr/tests/test_wsgi.py || die "couldn't remove wsgi network tests"
+	# network
+	rm pbr/tests/test_wsgi.py || die
 	# installs random packages via pip from the Internet
 	sed -e 's:test_requirement_parsing:_&:' \
 		-e 's:test_pep_517_support:_&:' \
@@ -60,7 +62,7 @@ python_prepare_all() {
 }
 
 python_test() {
-	if [[ ${EPYTHON} != python* ]]; then
+	if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
 		einfo "Testing on ${EPYTHON} is not supported at the moment"
 		return
 	fi


             reply	other threads:[~2022-05-21  6:47 UTC|newest]

Thread overview: 172+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-21  6:47 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-28 12:04 [gentoo-commits] repo/gentoo:master commit in: dev-python/pbr/ Michał Górny
2024-09-28 11:47 Sam James
2024-08-28  3:43 Michał Górny
2024-06-10 19:09 Michał Górny
2024-06-10 17:01 Michał Górny
2023-11-29 10:03 Michał Górny
2023-11-07 19:22 Michał Górny
2023-10-25  2:26 Sam James
2023-03-16  4:03 Michał Górny
2023-01-31 11:55 Michał Górny
2023-01-31 11:43 Arthur Zamarin
2023-01-11 20:34 Michał Górny
2022-11-25 14:04 Michał Górny
2022-11-25 13:54 Arthur Zamarin
2022-10-21  7:48 Michał Górny
2022-09-20  5:57 Michał Górny
2022-09-19 19:56 Arthur Zamarin
2022-08-13  8:05 Michał Górny
2022-06-21 20:14 Michał Górny
2022-06-21 19:09 Arthur Zamarin
2022-05-21 12:35 Michał Górny
2022-05-05 17:35 Arthur Zamarin
2022-04-28  9:49 Michał Górny
2022-02-02  7:29 Sam James
2022-01-30  9:22 James Le Cuirot
2021-12-19 21:15 Michał Górny
2021-12-19 21:08 Arthur Zamarin
2021-12-09 22:39 Michał Górny
2021-12-09 21:26 Sam James
2021-11-18 22:28 Michał Górny
2021-11-04 22:09 Michał Górny
2021-07-05 10:56 Michał Górny
2021-07-03 16:06 Michał Górny
2021-06-05 21:08 Michał Górny
2021-06-05 20:35 Sam James
2021-04-27  7:08 Michał Górny
2020-11-26  8:26 Michał Górny
2020-11-26  6:56 Agostino Sarubbo
2020-11-19 11:20 Agostino Sarubbo
2020-11-19 11:16 Agostino Sarubbo
2020-11-18 15:06 Agostino Sarubbo
2020-11-18 15:06 Agostino Sarubbo
2020-10-20  2:50 Michał Górny
2020-09-26 18:47 Matt Turner
2020-09-20 15:38 Michał Górny
2020-09-11 16:57 Sergei Trofimovich
2020-09-02 22:05 Michał Górny
2020-07-09 13:06 Michał Górny
2020-06-10  8:11 Michał Górny
2020-06-05 20:49 Sergei Trofimovich
2020-06-04  6:35 Agostino Sarubbo
2020-06-04  6:23 Agostino Sarubbo
2020-06-03 15:32 Agostino Sarubbo
2020-05-31 17:23 Michał Górny
2020-05-31 15:42 Michał Górny
2020-05-31 14:20 Michał Górny
2020-05-31 14:17 Michał Górny
2020-05-31  6:57 Matt Turner
2020-05-17  9:37 Sergei Trofimovich
2020-05-06 18:16 Mikle Kolyada
2020-05-06 16:41 Mikle Kolyada
2020-04-21 19:45 Sergei Trofimovich
2020-04-16 15:34 Matthew Thode
2020-04-09 22:02 Sergei Trofimovich
2020-04-09 18:40 Sergei Trofimovich
2020-04-09 18:40 Sergei Trofimovich
2020-04-09 18:40 Sergei Trofimovich
2020-03-28 13:34 Michał Górny
2020-03-28 13:34 Michał Górny
2020-03-27  8:58 Michał Górny
2020-03-27  8:58 Michał Górny
2020-03-27  8:58 Michał Górny
2020-03-18 18:39 Michał Górny
2020-02-11 20:15 Matthew Thode
2020-01-03 20:46 David Seifert
2019-12-30 21:54 Piotr Karbowski
2019-12-16 10:14 Michał Górny
2019-06-24 13:51 Michael Haubenwallner
2019-03-20 18:48 Mikle Kolyada
2018-11-06 16:39 Matthew Thode
2018-10-24  0:36 Matthew Thode
2018-10-03 19:41 Matthew Thode
2018-09-01 17:42 Matt Thode
2018-08-30 17:50 Matt Thode
2018-07-25  7:56 Matt Thode
2018-07-25  7:07 Matt Thode
2018-07-24 16:25 Matt Thode
2018-07-21  5:44 Matt Thode
2018-07-05 19:37 Matt Thode
2018-06-08  8:18 Mikle Kolyada
2018-06-07  5:24 Matt Thode
2018-05-15 14:53 Matt Thode
2018-04-11 16:45 Matt Thode
2018-04-04 18:53 Matt Thode
2018-03-27 23:15 Matt Turner
2018-03-12  1:15 Matt Turner
2017-12-24 13:21 Patrice Clement
2017-09-22 19:40 Sergei Trofimovich
2017-09-10 14:03 Sergei Trofimovich
2017-08-02 21:01 Matt Thode
2017-07-30  1:57 Matt Thode
2017-07-29 20:38 Matt Thode
2017-07-29 20:38 Matt Thode
2017-07-18  8:25 Sergei Trofimovich
2017-07-10 13:15 Alexis Ballier
2017-07-01 11:06 Sergei Trofimovich
2017-07-01 11:06 Sergei Trofimovich
2017-06-23 16:14 Matt Thode
2017-06-20 19:00 Matt Thode
2017-05-18  6:45 Matt Thode
2017-05-18  6:44 Matt Thode
2017-05-13  6:32 Markus Meier
2017-05-11 19:34 Markus Meier
2017-05-06 11:27 Jeroen Roovers
2017-05-04 23:05 Matt Thode
2017-04-11 14:00 Matt Thode
2017-03-23  6:14 Matt Thode
2017-03-23  5:37 Matt Thode
2017-02-27  3:53 Zac Medico
2017-02-23 16:18 Michael Weber
2017-01-16 19:56 Tobias Klausmann
2017-01-07  9:41 Jeroen Roovers
2017-01-07  9:41 Jeroen Roovers
2017-01-03 16:37 Matt Thode
2016-12-29  7:46 Michael Palimaka
2016-12-05 20:45 Pacho Ramos
2016-09-11 18:58 Jeroen Roovers
2016-06-10 16:49 Patrick Lauer
2016-05-31 19:17 Markus Meier
2016-05-24 19:36 Matt Thode
2016-04-15  3:08 Matt Thode
2016-04-12 14:41 Matt Thode
2016-02-09  9:33 Justin Lecher
2016-01-18  1:10 Matt Thode
2015-12-07 18:33 Mike Frysinger
2015-11-23 13:06 Justin Lecher
2015-11-23 11:19 Justin Lecher
2015-11-22  8:38 Markus Meier
2015-11-22  5:38 Jeroen Roovers
2015-11-19 10:25 Agostino Sarubbo
2015-11-18 10:19 Agostino Sarubbo
2015-11-18 10:17 Agostino Sarubbo
2015-11-16 15:01 Agostino Sarubbo
2015-11-11 17:27 Justin Lecher
2015-11-05 11:52 Agostino Sarubbo
2015-11-04 16:09 Agostino Sarubbo
2015-11-04 15:50 Agostino Sarubbo
2015-11-03 12:58 Justin Lecher
2015-11-02 13:12 Agostino Sarubbo
2015-11-02 13:09 Agostino Sarubbo
2015-11-02 11:50 Justin Lecher
2015-10-15 14:41 Justin Lecher
2015-10-15 14:41 Justin Lecher
2015-10-15 14:41 Justin Lecher
2015-10-14 16:42 Justin Lecher
2015-10-14 13:40 Justin Lecher
2015-10-10 18:49 Mikle Kolyada
2015-10-08  2:08 Matt Thode
2015-09-27 16:17 Markus Meier
2015-09-22  8:26 Tobias Klausmann
2015-09-22  6:38 Matt Thode
2015-09-15  6:20 Justin Lecher
2015-09-14  5:20 Jeroen Roovers
2015-09-09  9:49 Justin Lecher
2015-09-08  8:16 Joshua Kinard
2015-09-01 15:27 Matt Thode
2015-08-27  9:37 Justin Lecher
2015-08-25  8:10 Justin Lecher
2015-08-24 10:12 Justin Lecher
2015-08-14  4:46 Matt Thode
2015-08-13 22:17 Michał Górny

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=1653115631.1f5d302eadccdfbc16c392b6191242df292879e8.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