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 5DC3715838C for ; Tue, 23 Jan 2024 08:06:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 82878E2A32; Tue, 23 Jan 2024 08:06:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 61B60E2A32 for ; Tue, 23 Jan 2024 08:06:16 +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 7AC753432EA for ; Tue, 23 Jan 2024 08:06:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9F608134C for ; Tue, 23 Jan 2024 08:06:13 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1705997071.7d2508dd078f4a62a4b77a2a76a8034f4db8010c.grobian@gentoo> Subject: [gentoo-commits] repo/proj/prefix:master commit in: dev-lang/python/ X-VCS-Repository: repo/proj/prefix X-VCS-Files: dev-lang/python/python-3.11.7.ebuild X-VCS-Directories: dev-lang/python/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 7d2508dd078f4a62a4b77a2a76a8034f4db8010c X-VCS-Branch: master Date: Tue, 23 Jan 2024 08:06:13 +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: 125c833d-5b69-4178-9ab7-620f4ef5cdc0 X-Archives-Hash: 2cb96198ee0d1d7bfcdb66c1e8454512 commit: 7d2508dd078f4a62a4b77a2a76a8034f4db8010c Author: Fabian Groffen gentoo org> AuthorDate: Tue Jan 23 08:04:31 2024 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Tue Jan 23 08:04:31 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=7d2508dd dev-lang/python-3.11.7: fixes for older Darwin - drop Catalina workaround, likely incorrect bug #921332 - update Darwin 9 KQUEUE fix, stuff changed here Bug: https://bugs.gentoo.org/921332 Signed-off-by: Fabian Groffen gentoo.org> dev-lang/python/python-3.11.7.ebuild | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/dev-lang/python/python-3.11.7.ebuild b/dev-lang/python/python-3.11.7.ebuild index ef4c850bef..655fec1bfd 100644 --- a/dev-lang/python/python-3.11.7.ebuild +++ b/dev-lang/python/python-3.11.7.ebuild @@ -11,7 +11,7 @@ MY_PV=${PV/_rc/rc} MY_P="Python-${MY_PV%_p*}" PYVER=$(ver_cut 1-2) PATCHSET="python-gentoo-patches-${MY_PV}_p1" -PREFIX_PATCHSET="python-prefix-gentoo-${MY_PV}-patches-r0" +PREFIX_PATCHSET="python-prefix-gentoo-${MY_PV}-patches-r1" DESCRIPTION="An interpreted, interactive, object-oriented programming language" HOMEPAGE=" @@ -150,24 +150,6 @@ src_prepare() { -e '/^CFLAGS_ALIASING=/s/$/ -fno-tree-ter/' Makefile.pre.in || die fi - # Darwin 9's kqueue seems to act up (at least at this stage), so - # make Python's selectors resort to poll() or select() - if [[ ${CHOST} == powerpc*-darwin9 ]] ; then - sed -i \ - -e 's/KQUEUE/KQUEUE_DISABLED/' \ - configure.ac configure || die - fi - - if [[ ${CHOST} == *-darwin19 ]] ; then - # HAVE_DYLD_SHARED_CACHE_CONTAINS_PATH is set because - # _dyld_shared_cache_contains_path could be found, yet it cannot - # be resolved when dlopen()ing, so simply pretend it doesn't - # exist here - sed -i \ - -e 's/_dyld_shared_cache_contains_path/disabled&/' \ - configure.ac configure || die - fi - if [[ ${CHOST} == *-solaris* ]] ; then # OpenIndiana/Solaris 11 defines inet_aton no longer in # libresolv, so use hstrerror to check if we need -lresolv @@ -301,6 +283,10 @@ src_configure() { # flock on 32-bits sparc Solaris is broken [[ ${CHOST} == sparc-*-solaris* ]] && \ export ac_cv_flock_decl=no + # Darwin 9's kqueue seems to act up (at least at this stage), so + # make Python's selectors resort to poll() or select() + [[ ${CHOST} == powerpc*-darwin9 ]] && \ + export ac_cv_func_kqueue=no local myeconfargs=( # glibc-2.30 removes it; since we can't cleanly force-rebuild