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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CB1BD138335 for ; Tue, 18 Jun 2019 14:01:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0E827E086E; Tue, 18 Jun 2019 14:01:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E896CE086E for ; Tue, 18 Jun 2019 14:01:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B138B346417 for ; Tue, 18 Jun 2019 14:01:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 236464D3 for ; Tue, 18 Jun 2019 14:01:45 +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: <1560866486.cf19939ea48b66d7d2e90c69c75e5673de13efe7.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.6.8.ebuild dev-lang/python/python-3.7.2.ebuild X-VCS-Directories: dev-lang/python/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: cf19939ea48b66d7d2e90c69c75e5673de13efe7 X-VCS-Branch: master Date: Tue, 18 Jun 2019 14:01:45 +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: de49041d-227a-42e6-929d-3035581d2a02 X-Archives-Hash: e8a155b4890afcd99093ed3a6ae3fa83 commit: cf19939ea48b66d7d2e90c69c75e5673de13efe7 Author: Fabian Groffen gentoo org> AuthorDate: Tue Jun 18 13:57:49 2019 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Tue Jun 18 14:01:26 2019 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=cf19939e dev-lang/python: fix asyncio/selectors on Darwin9 Closes: https://bugs.gentoo.org/656830 Package-Manager: Portage-2.3.67-prefix, Repoman-2.3.14 Signed-off-by: Fabian Groffen gentoo.org> dev-lang/python/python-3.6.8.ebuild | 8 ++++++++ dev-lang/python/python-3.7.2.ebuild | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/dev-lang/python/python-3.6.8.ebuild b/dev-lang/python/python-3.6.8.ebuild index b32348ae37..13121eec6d 100644 --- a/dev-lang/python/python-3.6.8.ebuild +++ b/dev-lang/python/python-3.6.8.ebuild @@ -133,6 +133,14 @@ 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*-darwin* ]] ; then + sed -i \ + -e 's/KQUEUE/KQUEUE_DISABLED/' \ + configure.ac configure || die + fi + eautoreconf } diff --git a/dev-lang/python/python-3.7.2.ebuild b/dev-lang/python/python-3.7.2.ebuild index 3aa4678aec..0fed712767 100644 --- a/dev-lang/python/python-3.7.2.ebuild +++ b/dev-lang/python/python-3.7.2.ebuild @@ -122,6 +122,14 @@ 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*-darwin* ]] ; then + sed -i \ + -e 's/KQUEUE/KQUEUE_DISABLED/' \ + configure.ac configure || die + fi + eautoreconf }