public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "orbea" <orbea@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/libressl:master commit in: dev-lang/python/
Date: Fri, 29 Dec 2023 14:54:19 +0000 (UTC)	[thread overview]
Message-ID: <1703860646.8b49e6e9ad5a00bb5636afa012b4aa93071ff52f.orbea@gentoo> (raw)

commit:     8b49e6e9ad5a00bb5636afa012b4aa93071ff52f
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Fri Dec 29 14:37:13 2023 +0000
Commit:     orbea <orbea <AT> riseup <DOT> net>
CommitDate: Fri Dec 29 14:37:26 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=8b49e6e9

dev-lang/python: sync ::gentoo

Signed-off-by: orbea <orbea <AT> riseup.net>

 dev-lang/python/python-3.10.13.ebuild | 17 ++++++++++-------
 dev-lang/python/python-3.11.7.ebuild  | 20 +++++++++++---------
 dev-lang/python/python-3.9.18.ebuild  | 17 ++++++++++-------
 3 files changed, 31 insertions(+), 23 deletions(-)

diff --git a/dev-lang/python/python-3.10.13.ebuild b/dev-lang/python/python-3.10.13.ebuild
index 2a898ea..8f956b6 100644
--- a/dev-lang/python/python-3.10.13.ebuild
+++ b/dev-lang/python/python-3.10.13.ebuild
@@ -30,7 +30,7 @@ LICENSE="PSF-2"
 SLOT="${PYVER}"
 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
 IUSE="
-	bluetooth build debug +ensurepip examples gdbm libedit lto
+	bluetooth build debug +ensurepip examples gdbm libedit
 	+ncurses pgo +readline +sqlite +ssl test tk valgrind +xml
 "
 RESTRICT="!test? ( test )"
@@ -224,11 +224,6 @@ src_configure() {
 	append-flags -fwrapv
 	filter-flags -malign-double
 
-	# https://bugs.gentoo.org/700012
-	if is-flagq -flto || is-flagq '-flto=*'; then
-		append-cflags $(test-flags-CC -ffat-lto-objects)
-	fi
-
 	# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
 	# PKG_CONFIG needed for cross.
 	tc-export CXX PKG_CONFIG
@@ -292,12 +287,12 @@ src_configure() {
 		--with-libc=
 		--enable-loadable-sqlite-extensions
 		--without-ensurepip
+		--without-lto
 		--with-system-expat
 		--with-system-ffi
 		--with-wheel-pkg-dir="${EPREFIX}"/usr/lib/python/ensurepip
 
 		$(use_with debug assertions)
-		$(use_with lto)
 		$(use_enable pgo optimizations)
 		$(use_with readline readline "$(usex libedit editline readline)")
 		$(use_with valgrind)
@@ -306,6 +301,14 @@ src_configure() {
 	# disable implicit optimization/debugging flags
 	local -x OPT=
 
+	# https://bugs.gentoo.org/700012
+	if tc-is-lto; then
+		append-cflags $(test-flags-CC -ffat-lto-objects)
+		myeconfargs+=(
+			--with-lto
+		)
+	fi
+
 	if tc-is-cross-compiler ; then
 		build_cbuild_python
 		# Point the imminent CHOST build to the Python we just

diff --git a/dev-lang/python/python-3.11.7.ebuild b/dev-lang/python/python-3.11.7.ebuild
index 6ead0df..c9a72ac 100644
--- a/dev-lang/python/python-3.11.7.ebuild
+++ b/dev-lang/python/python-3.11.7.ebuild
@@ -28,9 +28,9 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="PSF-2"
 SLOT="${PYVER}"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
 IUSE="
-	bluetooth build debug +ensurepip examples gdbm libedit lto
+	bluetooth build debug +ensurepip examples gdbm libedit
 	+ncurses pgo +readline +sqlite +ssl test tk valgrind
 "
 RESTRICT="!test? ( test )"
@@ -203,7 +203,6 @@ build_cbuild_python() {
 }
 
 src_configure() {
-	local disable
 	# disable automagic bluetooth headers detection
 	if ! use bluetooth; then
 		local -x ac_cv_header_bluetooth_bluetooth_h=no
@@ -212,11 +211,6 @@ src_configure() {
 	append-flags -fwrapv
 	filter-flags -malign-double
 
-	# https://bugs.gentoo.org/700012
-	if is-flagq -flto || is-flagq '-flto=*'; then
-		append-cflags $(test-flags-CC -ffat-lto-objects)
-	fi
-
 	# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
 	# PKG_CONFIG needed for cross.
 	tc-export CXX PKG_CONFIG
@@ -283,6 +277,7 @@ src_configure() {
 		--with-libc=
 		--enable-loadable-sqlite-extensions
 		--without-ensurepip
+		--without-lto
 		--with-system-expat
 		--with-system-ffi
 		--with-platlibdir=lib
@@ -290,7 +285,6 @@ src_configure() {
 		--with-wheel-pkg-dir="${EPREFIX}"/usr/lib/python/ensurepip
 
 		$(use_with debug assertions)
-		$(use_with lto)
 		$(use_enable pgo optimizations)
 		$(use_with readline readline "$(usex libedit editline readline)")
 		$(use_with valgrind)
@@ -299,6 +293,14 @@ src_configure() {
 	# disable implicit optimization/debugging flags
 	local -x OPT=
 
+	# https://bugs.gentoo.org/700012
+	if tc-is-lto; then
+		append-cflags $(test-flags-CC -ffat-lto-objects)
+		myeconfargs+=(
+			--with-lto
+		)
+	fi
+
 	if tc-is-cross-compiler ; then
 		build_cbuild_python
 		myeconfargs+=(

diff --git a/dev-lang/python/python-3.9.18.ebuild b/dev-lang/python/python-3.9.18.ebuild
index 4936929..0743f8c 100644
--- a/dev-lang/python/python-3.9.18.ebuild
+++ b/dev-lang/python/python-3.9.18.ebuild
@@ -30,7 +30,7 @@ LICENSE="PSF-2"
 SLOT="${PYVER}"
 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
 IUSE="
-	bluetooth build debug +ensurepip examples gdbm lto +ncurses pgo
+	bluetooth build debug +ensurepip examples gdbm +ncurses pgo
 	+readline +sqlite +ssl test tk valgrind +xml
 "
 RESTRICT="!test? ( test )"
@@ -160,11 +160,6 @@ src_configure() {
 	append-flags -fwrapv
 	filter-flags -malign-double
 
-	# https://bugs.gentoo.org/700012
-	if is-flagq -flto || is-flagq '-flto=*'; then
-		append-cflags $(test-flags-CC -ffat-lto-objects)
-	fi
-
 	# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
 	# PKG_CONFIG needed for cross.
 	tc-export CXX PKG_CONFIG
@@ -222,12 +217,12 @@ src_configure() {
 		--with-libc=
 		--enable-loadable-sqlite-extensions
 		--without-ensurepip
+		--without-lto
 		--with-system-expat
 		--with-system-ffi
 		--with-wheel-pkg-dir="${EPREFIX}"/usr/lib/python/ensurepip
 
 		$(use_with debug assertions)
-		$(use_with lto)
 		$(use_enable pgo optimizations)
 		$(use_with valgrind)
 	)
@@ -235,6 +230,14 @@ src_configure() {
 	# disable implicit optimization/debugging flags
 	local -x OPT=
 
+	# https://bugs.gentoo.org/700012
+	if tc-is-lto; then
+		append-cflags $(test-flags-CC -ffat-lto-objects)
+		myeconfargs+=(
+			--with-lto
+		)
+	fi
+
 	if tc-is-cross-compiler ; then
 		# Hack to workaround get_libdir not being able to handle CBUILD, bug #794181
 		local cbuild_libdir=$(unset PKG_CONFIG_PATH ; $(tc-getBUILD_PKG_CONFIG) --keep-system-libs --libs-only-L libffi)


             reply	other threads:[~2023-12-29 14:54 UTC|newest]

Thread overview: 105+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-29 14:54 orbea [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-27 17:36 [gentoo-commits] repo/proj/libressl:master commit in: dev-lang/python/ 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-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-12-08 18:34 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=1703860646.8b49e6e9ad5a00bb5636afa012b4aa93071ff52f.orbea@gentoo \
    --to=orbea@riseup.net \
    --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