From: "Quentin Retornaz" <gentoo@retornaz.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/libressl:master commit in: dev-lang/python/
Date: Wed, 8 Dec 2021 18:34:34 +0000 (UTC) [thread overview]
Message-ID: <1638988464.d42f5638abe0fdd5ba079e56544028afabfd65a7.quentin@gentoo> (raw)
commit: d42f5638abe0fdd5ba079e56544028afabfd65a7
Author: orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Sat Dec 4 07:11:43 2021 +0000
Commit: Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
CommitDate: Wed Dec 8 18:34:24 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=d42f5638
dev-lang/python: Updated to 3.9.9 + remove old version
Signed-off-by: orbea <orbea <AT> riseup.net>
Closes: https://github.com/gentoo/libressl/pull/369
Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com>
dev-lang/python/Manifest | 6 ++---
...{python-3.9.7_p1.ebuild => python-3.9.9.ebuild} | 30 +++++++++++++++++++---
2 files changed, 30 insertions(+), 6 deletions(-)
diff --git a/dev-lang/python/Manifest b/dev-lang/python/Manifest
index 48196cf..6ac1ee9 100644
--- a/dev-lang/python/Manifest
+++ b/dev-lang/python/Manifest
@@ -1,3 +1,3 @@
-DIST Python-3.9.7.tar.xz 19123232 BLAKE2B 69dfba6974c8c74de1b71977d28cad4d7c26615695f48a99444d2eb83d657b4bd8d22e7f6e94b1b2dcbcc5605c0aee08c609b9564e306f48588e2a7f471209b2 SHA512 55139776ab58a40f9e1e70613d7071d559ef9e51e32a77791422aac134322c21a49f0348c42813214b69789c589367eae43e16d4ae838a73daf37617e966b735
-DIST Python-3.9.7.tar.xz.asc 833 BLAKE2B 2d9c47e47d9a625e393a8b456dd5b10dd485fc13ca7c236b5fd304c373879bea8ab3c67ff99c3a81350443f6ccba20718466a221a05faada6b82cfe92943fdbf SHA512 7ff9f845f520efab3b4a0e95da3ffe055ee5777a4173a5b2cc1fd2419dc2b4faf30d1e711e372df36e34bc971ecfcde88a7cd815cfe2d8080ccb575a1ae8e101
-DIST python-gentoo-patches-3.9.7_p1.tar.xz 14444 BLAKE2B c976beb1205b0b777ff3375f538758bf28443bcf4c953fe161545791763da043e32582c398ec8151478afc40e53f963e080d29420066305c12963c953887e4b8 SHA512 283c8975885f9306e46a0047219f3a70e1000f3401affb0b55cde976be6fb6df2f1c13f4e05a479e72e0731d683fef9b22413f7cd320298295a31b19c8915b3d
+DIST Python-3.9.9.tar.xz 19144372 BLAKE2B 3a144ca5e4b11b2fd09d05a4a40ddf3f622c077338602c519b21ea827c96e0f14ab97563c0a9d306ae4a5c3f44753573a07474dc084fb364d24b2128bb378ddd SHA512 0ab29fb9a7ecb808bd08d84d28908d5a934e0f021853da0f7a9c94670eb30c8dbbc233d461afdb3995b0de59275ef7e1de43e82d7f848802cbd6e6e50b7b25a6
+DIST Python-3.9.9.tar.xz.asc 833 BLAKE2B 41d05ee1ec256f0cab4e9d3540877783745f0f30e3f1177d01096b352341a90893c5c9523926bed8176bd304cbb1fd6619be3b4e375103874eac5e5ebc113135 SHA512 84fb739c60216ab9a7a487a0ec4039a7e85c7684ef1f71d8b3bc415ff2ae284f79474103ae05385502bc2510401f8cfb33d84dccf5d0ea9a0dd62528519d935f
+DIST python-gentoo-patches-3.9.9.tar.xz 13200 BLAKE2B 672e3b79094cbc791988639a5dde4c9e5622e91bef4310d26838716c65763ca69a12c6afef2f19487f4389974af009896e452c19783b0a491072d13f893af7e9 SHA512 3cd4ddd070ab48d9978e1136d237fc24030fd3ce6704371ce99815702a45d839ee26c7e9552b004661827759edd30222434e4166f9ee16f873ad4783c83f723f
diff --git a/dev-lang/python/python-3.9.7_p1.ebuild b/dev-lang/python/python-3.9.9.ebuild
similarity index 91%
rename from dev-lang/python/python-3.9.7_p1.ebuild
rename to dev-lang/python/python-3.9.9.ebuild
index c0af556..77d0760 100644
--- a/dev-lang/python/python-3.9.7_p1.ebuild
+++ b/dev-lang/python/python-3.9.9.ebuild
@@ -15,7 +15,7 @@ PATCHSET="python-gentoo-patches-${MY_PV}"
DESCRIPTION="An interpreted, interactive, object-oriented programming language"
HOMEPAGE="https://www.python.org/"
SRC_URI="https://www.python.org/ftp/python/${PV%_*}/${MY_P}.tar.xz
- https://dev.gentoo.org/~floppym/python/${PATCHSET}.tar.xz
+ https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
verify-sig? (
https://www.python.org/ftp/python/${PV%_*}/${MY_P}.tar.xz.asc
)"
@@ -23,8 +23,8 @@ S="${WORKDIR}/${MY_P}"
LICENSE="PSF-2"
SLOT="${PYVER}"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
-IUSE="bluetooth build examples gdbm hardened +ncurses +readline +sqlite +ssl test tk wininst +xml"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 sparc ~x86"
+IUSE="bluetooth build examples gdbm hardened lto +ncurses pgo +readline +sqlite +ssl test tk wininst +xml"
RESTRICT="!test? ( test )"
# Do not add a dependency on dev-lang/python to this ebuild.
@@ -160,6 +160,16 @@ src_configure() {
dbmliborder+="${dbmliborder:+:}gdbm"
fi
+ if use pgo; then
+ local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
+ export PROFILE_TASK="-m test -j${jobs} --pgo-extended -x test_gdb"
+
+ if has_version "app-arch/rpm" ; then
+ # Avoid sandbox failure (attempts to write to /var/lib/rpm)
+ PROFILE_TASK+=" -x test_distutils"
+ fi
+ fi
+
local myeconfargs=(
# glibc-2.30 removes it; since we can't cleanly force-rebuild
# Python on glibc upgrade, remove it proactively to give
@@ -177,6 +187,9 @@ src_configure() {
--without-ensurepip
--with-system-expat
--with-system-ffi
+
+ $(use_with lto)
+ $(use_enable pgo optimizations)
)
OPT="" econf "${myeconfargs[@]}"
@@ -192,6 +205,17 @@ src_compile() {
# Ensure sed works as expected
# https://bugs.gentoo.org/594768
local -x LC_ALL=C
+ # Prevent using distutils bundled by setuptools.
+ # https://bugs.gentoo.org/823728
+ export SETUPTOOLS_USE_DISTUTILS=stdlib
+
+ if use pgo ; then
+ # bug 660358
+ local -x COLUMNS=80
+ local -x PYTHONDONTWRITEBYTECODE=
+
+ addpredict /usr/lib/python3.9/site-packages
+ fi
emake CPPFLAGS= CFLAGS= LDFLAGS=
next reply other threads:[~2021-12-08 18:34 UTC|newest]
Thread overview: 175+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-08 18:34 Quentin Retornaz [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-10-11 4:13 [gentoo-commits] repo/proj/libressl:master commit in: dev-lang/python/ orbea
2025-10-11 4:13 orbea
2025-10-11 4:13 orbea
2025-10-11 4:13 orbea
2025-10-11 4:13 orbea
2025-08-08 3:41 orbea
2025-08-08 3:41 orbea
2025-08-02 13:44 orbea
2025-07-23 3:38 orbea
2025-07-23 3:38 orbea
2025-07-23 3:38 orbea
2025-07-23 3:38 orbea
2025-06-29 14:26 orbea
2025-06-29 14:26 orbea
2025-06-29 14:26 orbea
2025-06-29 14:26 orbea
2025-06-29 14:25 orbea
2025-06-29 14:25 orbea
2025-06-29 14:25 orbea
2025-06-29 14:25 orbea
2025-06-29 14:25 orbea
2025-06-29 14:25 orbea
2025-06-29 14:25 orbea
2025-06-29 14:25 orbea
2025-06-06 1:10 orbea
2025-06-06 1:10 orbea
2025-06-06 1:10 orbea
2025-05-30 1:53 orbea
2025-05-29 14:59 orbea
2025-05-22 19:28 orbea
2025-05-22 19:28 orbea
2025-04-21 0:52 orbea
2025-04-21 0:52 orbea
2025-04-21 0:52 orbea
2025-04-21 0:52 orbea
2025-04-21 0:52 orbea
2025-04-21 0:52 orbea
2025-04-21 0:52 orbea
2025-04-21 0:52 orbea
2025-04-12 1:23 orbea
2025-04-11 14:45 orbea
2025-04-11 14:45 orbea
2025-04-11 14:45 orbea
2025-04-11 14:45 orbea
2025-02-23 19:55 orbea
2025-02-22 15:06 orbea
2025-02-22 15:06 orbea
2025-02-22 15:06 orbea
2025-01-18 15:35 orbea
2025-01-18 15:35 orbea
2025-01-07 23:43 orbea
2025-01-07 6:25 orbea
2025-01-07 6:25 orbea
2025-01-07 6:25 orbea
2025-01-07 6:25 orbea
2025-01-07 6:25 orbea
2025-01-07 6:25 orbea
2025-01-04 15:17 orbea
2025-01-04 15:17 orbea
2024-12-20 17:24 orbea
2024-12-20 17:24 orbea
2024-12-11 15:25 orbea
2024-12-11 14:29 orbea
2024-12-06 14:42 orbea
2024-12-01 6:08 orbea
2024-11-26 16:36 orbea
2024-11-26 16:36 orbea
2024-11-19 16:23 orbea
2024-11-12 18:30 orbea
2024-11-12 18:30 orbea
2024-10-27 17:36 orbea
2024-10-18 15:17 orbea
2024-10-18 15:17 orbea
2024-10-06 14:36 orbea
2024-10-06 14:36 orbea
2024-09-20 1:05 orbea
2024-09-18 16:28 orbea
2024-09-13 1:40 orbea
2024-09-07 1:35 orbea
2024-09-07 1:35 orbea
2024-08-30 13:19 orbea
2024-08-29 0:48 orbea
2024-08-29 0:48 orbea
2024-08-12 15:51 orbea
2024-08-09 3:11 orbea
2024-08-08 22:55 orbea
2024-08-08 22:55 orbea
2024-07-29 1:58 orbea
2024-06-28 21:14 orbea
2024-06-28 21:14 orbea
2024-06-10 14:21 orbea
2024-06-10 14:21 orbea
2024-06-10 14:21 orbea
2024-06-10 14:21 orbea
2024-04-28 20:49 orbea
2024-04-28 20:49 orbea
2024-04-13 16:14 orbea
2024-04-08 14:51 orbea
2024-03-15 19:35 orbea
2024-03-10 7:27 orbea
2024-03-10 7:27 orbea
2024-03-10 7:27 orbea
2024-02-24 19:50 orbea
2024-02-24 19:50 orbea
2024-02-15 20:47 orbea
2024-02-12 23:16 orbea
2024-02-12 23:16 orbea
2024-01-31 0:07 orbea
2024-01-16 1:11 orbea
2024-01-14 15:06 orbea
2024-01-14 15:06 orbea
2023-12-29 14:54 orbea
2023-12-29 14:54 orbea
2023-12-22 14:56 orbea
2023-12-22 14:49 orbea
2023-12-12 17:36 orbea
2023-12-01 15:12 orbea
2023-12-01 14:54 orbea
2023-11-05 3:44 orbea
2023-09-17 16:22 orbea
2023-08-29 23:43 orbea
2023-08-26 15:16 orbea
2023-06-28 1:12 orbea
2023-06-28 1:12 orbea
2023-06-21 15:35 orbea
2023-06-21 15:35 orbea
2023-05-31 15:34 orbea
2023-05-10 21:14 orbea
2023-05-10 21:14 orbea
2023-05-10 21:14 orbea
2023-05-06 18:42 orbea
2023-05-06 18:42 orbea
2023-03-16 21:53 Quentin Retornaz
2023-03-16 21:53 Quentin Retornaz
2023-03-05 21:46 Quentin Retornaz
2023-03-05 14:20 Quentin Retornaz
2023-03-05 14:20 Quentin Retornaz
2023-03-05 14:20 Quentin Retornaz
2023-02-02 21:54 Quentin Retornaz
2023-01-17 0:52 Quentin Retornaz
2023-01-17 0:52 Quentin Retornaz
2022-12-08 14:51 Quentin Retornaz
2022-12-08 14:51 Quentin Retornaz
2022-11-15 21:18 Quentin Retornaz
2022-11-15 21:18 Quentin Retornaz
2022-11-13 14:47 Quentin Retornaz
2022-11-06 21:06 Quentin Retornaz
2022-11-02 23:39 Quentin Retornaz
2022-11-02 23:39 Quentin Retornaz
2022-10-16 11:05 Quentin Retornaz
2022-10-16 11:05 Quentin Retornaz
2022-10-09 18:12 Quentin Retornaz
2022-09-23 16:00 Quentin Retornaz
2022-08-26 20:59 Quentin Retornaz
2022-08-26 20:59 Quentin Retornaz
2022-07-02 22:00 Quentin Retornaz
2022-06-27 23:11 Quentin Retornaz
2022-06-27 23:11 Quentin Retornaz
2022-06-19 4:04 Quentin Retornaz
2022-06-19 4:04 Quentin Retornaz
2022-06-19 4:04 Quentin Retornaz
2022-05-01 0:19 Quentin Retornaz
2022-04-28 23:40 Quentin Retornaz
2022-04-28 23:40 Quentin Retornaz
2022-01-15 19:13 Quentin Retornaz
2022-01-15 19:13 Quentin Retornaz
2021-11-06 18:17 Quentin Retornaz
2021-10-02 22:04 Quentin Retornaz
2021-10-02 22:04 Quentin Retornaz
2021-10-02 22:04 Quentin Retornaz
2021-09-19 10:41 Quentin Retornaz
2021-08-20 23:56 Quentin Retornaz
2021-08-20 23:56 Quentin Retornaz
2021-07-28 22:26 Quentin Retornaz
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=1638988464.d42f5638abe0fdd5ba079e56544028afabfd65a7.quentin@gentoo \
--to=gentoo@retornaz.com \
--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