From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B29A015806E for ; Fri, 26 May 2023 07:49:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DDE98E07DB; Fri, 26 May 2023 07:49:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B5010E07DB for ; Fri, 26 May 2023 07:49:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A0A9D340F72 for ; Fri, 26 May 2023 07:49:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0F90DA67 for ; Fri, 26 May 2023 07:49:46 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1685087309.4c6957bd00ba63468d93f40982d77a378858569d.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/python/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/python/python-3.10.11.ebuild dev-lang/python/python-3.11.3.ebuild dev-lang/python/python-3.12.0_alpha7.ebuild dev-lang/python/python-3.12.0_beta1.ebuild dev-lang/python/python-3.8.16_p4.ebuild dev-lang/python/python-3.9.16_p3-r1.ebuild X-VCS-Directories: dev-lang/python/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 4c6957bd00ba63468d93f40982d77a378858569d X-VCS-Branch: master Date: Fri, 26 May 2023 07:49:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 81b4ba9f-a838-432f-8dc4-d7bd07a8a82e X-Archives-Hash: 8a741b4b7ebc7becb755d09bef1a4782 commit: 4c6957bd00ba63468d93f40982d77a378858569d Author: Sam James gentoo org> AuthorDate: Fri May 26 07:48:29 2023 +0000 Commit: Sam James gentoo org> CommitDate: Fri May 26 07:48:29 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c6957bd dev-lang/python: add USE=debug to control assertions Note that we don't do pydebug for this as it forces optimisations to be disabled (-O0, not just some). For newer Pythons, fwiw, pydebug is ABI compatible with release pythons, but still not worth it. Signed-off-by: Sam James gentoo.org> dev-lang/python/python-3.10.11.ebuild | 3 ++- dev-lang/python/python-3.11.3.ebuild | 3 ++- dev-lang/python/python-3.12.0_alpha7.ebuild | 3 ++- dev-lang/python/python-3.12.0_beta1.ebuild | 3 ++- dev-lang/python/python-3.8.16_p4.ebuild | 3 ++- dev-lang/python/python-3.9.16_p3-r1.ebuild | 3 ++- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/dev-lang/python/python-3.10.11.ebuild b/dev-lang/python/python-3.10.11.ebuild index c5dd75f19046..b30e6ea4d97f 100644 --- a/dev-lang/python/python-3.10.11.ebuild +++ b/dev-lang/python/python-3.10.11.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 +ensurepip examples gdbm hardened libedit lto + bluetooth build debug +ensurepip examples gdbm hardened libedit lto +ncurses pgo +readline +sqlite +ssl test tk valgrind +xml " RESTRICT="!test? ( test )" @@ -232,6 +232,7 @@ src_configure() { --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)") diff --git a/dev-lang/python/python-3.11.3.ebuild b/dev-lang/python/python-3.11.3.ebuild index fed1bebc47f5..389e56a6a6f4 100644 --- a/dev-lang/python/python-3.11.3.ebuild +++ b/dev-lang/python/python-3.11.3.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 +ensurepip examples gdbm hardened libedit lto + bluetooth build debug +ensurepip examples gdbm hardened libedit lto +ncurses pgo +readline +sqlite +ssl test tk valgrind " RESTRICT="!test? ( test )" @@ -221,6 +221,7 @@ src_configure() { --with-pkg-config=yes --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)") diff --git a/dev-lang/python/python-3.12.0_alpha7.ebuild b/dev-lang/python/python-3.12.0_alpha7.ebuild index 95d394d31c55..41b53e19a104 100644 --- a/dev-lang/python/python-3.12.0_alpha7.ebuild +++ b/dev-lang/python/python-3.12.0_alpha7.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 +ensurepip examples gdbm hardened libedit lto + bluetooth build debug +ensurepip examples gdbm hardened libedit lto +ncurses pgo +readline +sqlite +ssl test tk valgrind " RESTRICT="!test? ( test )" @@ -215,6 +215,7 @@ src_configure() { --with-pkg-config=yes --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)") diff --git a/dev-lang/python/python-3.12.0_beta1.ebuild b/dev-lang/python/python-3.12.0_beta1.ebuild index 09f88d48b332..14f92570e8f9 100644 --- a/dev-lang/python/python-3.12.0_beta1.ebuild +++ b/dev-lang/python/python-3.12.0_beta1.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 +ensurepip examples gdbm hardened libedit lto + bluetooth build debug +ensurepip examples gdbm hardened libedit lto +ncurses pgo +readline +sqlite +ssl test tk valgrind " RESTRICT="!test? ( test )" @@ -215,6 +215,7 @@ src_configure() { --with-pkg-config=yes --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)") diff --git a/dev-lang/python/python-3.8.16_p4.ebuild b/dev-lang/python/python-3.8.16_p4.ebuild index 9c310fbeef4a..67ca3cbba43e 100644 --- a/dev-lang/python/python-3.8.16_p4.ebuild +++ b/dev-lang/python/python-3.8.16_p4.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 +ensurepip examples gdbm hardened lto +ncurses pgo + bluetooth build debug +ensurepip examples gdbm hardened lto +ncurses pgo +readline +sqlite +ssl test tk valgrind wininst +xml " RESTRICT="!test? ( test )" @@ -182,6 +182,7 @@ src_configure() { --with-system-ffi --with-wheel-pkg-dir="${EPREFIX}"/usr/lib/python/ensurepip + $(use_with debug assertions) $(use_with valgrind) ) diff --git a/dev-lang/python/python-3.9.16_p3-r1.ebuild b/dev-lang/python/python-3.9.16_p3-r1.ebuild index d40463a1e9b8..e9ff013485fb 100644 --- a/dev-lang/python/python-3.9.16_p3-r1.ebuild +++ b/dev-lang/python/python-3.9.16_p3-r1.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 +ensurepip examples gdbm hardened lto +ncurses pgo + bluetooth build debug +ensurepip examples gdbm hardened lto +ncurses pgo +readline +sqlite +ssl test tk valgrind +xml " RESTRICT="!test? ( test )" @@ -221,6 +221,7 @@ src_configure() { --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)