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 DBCFD158091 for ; Sun, 19 Jun 2022 04:04:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 00B61E0943; Sun, 19 Jun 2022 04:04:19 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DC195E0943 for ; Sun, 19 Jun 2022 04:04:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DCF3C341A8B for ; Sun, 19 Jun 2022 04:04:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2E50F510 for ; Sun, 19 Jun 2022 04:04:15 +0000 (UTC) From: "Quentin Retornaz" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Quentin Retornaz" Message-ID: <1655611410.d29364fcbaba14f5a640ea6b86462eace25483d0.quentin@gentoo> Subject: [gentoo-commits] repo/proj/libressl:master commit in: dev-lang/python/ X-VCS-Repository: repo/proj/libressl X-VCS-Files: dev-lang/python/metadata.xml dev-lang/python/python-3.10.4.ebuild dev-lang/python/python-3.9.12.ebuild X-VCS-Directories: dev-lang/python/ X-VCS-Committer: quentin X-VCS-Committer-Name: Quentin Retornaz X-VCS-Revision: d29364fcbaba14f5a640ea6b86462eace25483d0 X-VCS-Branch: master Date: Sun, 19 Jun 2022 04:04:15 +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: 455c3fb5-f772-4b93-8108-e21c68e74594 X-Archives-Hash: b7303981306e94925cbd325ac290d794 commit: d29364fcbaba14f5a640ea6b86462eace25483d0 Author: orbea riseup net> AuthorDate: Sat Jun 18 20:42:25 2022 +0000 Commit: Quentin Retornaz retornaz com> CommitDate: Sun Jun 19 04:03:30 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=d29364fc dev-lang/python: Merge changes from ::gentoo Signed-off-by: orbea riseup.net> Closes: https://github.com/gentoo/libressl/pull/423 Signed-off-by: Quentin Retornaz retornaz.com> dev-lang/python/metadata.xml | 5 ++++- dev-lang/python/python-3.10.4.ebuild | 8 ++++---- dev-lang/python/python-3.9.12.ebuild | 8 ++++---- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/dev-lang/python/metadata.xml b/dev-lang/python/metadata.xml index cae26a6..54c2aa9 100644 --- a/dev-lang/python/metadata.xml +++ b/dev-lang/python/metadata.xml @@ -1,5 +1,5 @@ - + python@gentoo.org @@ -7,6 +7,9 @@ Build Bluetooth protocol support in socket module + Link readline extension against dev-libs/libedit instead of sys-libs/readline. + Optimize the build using Profile Guided Optimization (PGO) + Optimize the build using Link Time Optimization (LTO) Install Windows executables required to create an executable installer for MS Windows. diff --git a/dev-lang/python/python-3.10.4.ebuild b/dev-lang/python/python-3.10.4.ebuild index 8288304..7b39aaa 100644 --- a/dev-lang/python/python-3.10.4.ebuild +++ b/dev-lang/python/python-3.10.4.ebuild @@ -25,7 +25,7 @@ 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 examples gdbm hardened libedit lto +ncurses pgo +readline +sqlite +ssl test tk wininst +xml" RESTRICT="!test? ( test )" @@ -83,6 +83,8 @@ VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/python.org.asc # large file tests involve a 2.5G file being copied (duplicated) CHECKREQS_DISK_BUILD=5500M +QA_PKGCONFIG_VERSION=${PYVER} + pkg_pretend() { use test && check-reqs_pkg_pretend } @@ -146,9 +148,7 @@ src_configure() { einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}" fi - if [[ "$(gcc-major-version)" -ge 4 ]]; then - append-flags -fwrapv - fi + append-flags -fwrapv filter-flags -malign-double diff --git a/dev-lang/python/python-3.9.12.ebuild b/dev-lang/python/python-3.9.12.ebuild index d49fc15..e45953a 100644 --- a/dev-lang/python/python-3.9.12.ebuild +++ b/dev-lang/python/python-3.9.12.ebuild @@ -25,7 +25,7 @@ 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 examples gdbm hardened lto +ncurses pgo +readline +sqlite +ssl test tk wininst +xml" RESTRICT="!test? ( test )" @@ -78,6 +78,8 @@ VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/python.org.asc # large file tests involve a 2.5G file being copied (duplicated) CHECKREQS_DISK_BUILD=5500M +QA_PKGCONFIG_VERSION=${PYVER} + pkg_pretend() { use test && check-reqs_pkg_pretend } @@ -143,9 +145,7 @@ src_configure() { einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}" fi - if [[ "$(gcc-major-version)" -ge 4 ]]; then - append-flags -fwrapv - fi + append-flags -fwrapv filter-flags -malign-double