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 4ACC5138359 for ; Mon, 23 Nov 2020 20:08:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6E422E07C5; Mon, 23 Nov 2020 20:08:52 +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 50B6DE07C5 for ; Mon, 23 Nov 2020 20:08:52 +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 4E083335DB9 for ; Mon, 23 Nov 2020 20:08:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 91FC13B7 for ; Mon, 23 Nov 2020 20:08:49 +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: <1606162086.d488453d99b00f15cbaa41793b227bacb489f869.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.7.8-r2.ebuild dev-lang/python/python-3.8.5.ebuild X-VCS-Directories: dev-lang/python/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: d488453d99b00f15cbaa41793b227bacb489f869 X-VCS-Branch: master Date: Mon, 23 Nov 2020 20:08:49 +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: 8b516d2a-36f8-4ab6-a4ee-d5e3cacf16b3 X-Archives-Hash: 9e3a663469b8cee76c35ed2f4d8cbf38 commit: d488453d99b00f15cbaa41793b227bacb489f869 Author: Fabian Groffen gentoo org> AuthorDate: Mon Nov 23 20:08:06 2020 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Mon Nov 23 20:08:06 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=d488453d dev-lang/python: fix urllib on Darwin platforms Package-Manager: Portage-3.0.8-prefix, Repoman-3.0.2 Signed-off-by: Fabian Groffen gentoo.org> dev-lang/python/python-3.7.8-r2.ebuild | 5 +++++ dev-lang/python/python-3.8.5.ebuild | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/dev-lang/python/python-3.7.8-r2.ebuild b/dev-lang/python/python-3.7.8-r2.ebuild index fc085055b7..178495ae2b 100644 --- a/dev-lang/python/python-3.7.8-r2.ebuild +++ b/dev-lang/python/python-3.7.8-r2.ebuild @@ -132,6 +132,11 @@ src_prepare() { configure.ac configure || die fi + # side-effect of disabling scproxy (see below), make sure we don't + # try to use it on Darwin either + sed -i -e '/sys.platform/s/darwin/disabled-darwin/' \ + Lib/urllib/request.py || die + eautoreconf } diff --git a/dev-lang/python/python-3.8.5.ebuild b/dev-lang/python/python-3.8.5.ebuild index 4b87c91b40..32c823df81 100644 --- a/dev-lang/python/python-3.8.5.ebuild +++ b/dev-lang/python/python-3.8.5.ebuild @@ -109,6 +109,11 @@ src_prepare() { configure.ac configure || die fi + # side-effect of disabling scproxy (see below), make sure we don't + # try to use it on Darwin either + sed -i -e '/sys.platform/s/darwin/disabled-darwin/' \ + Lib/urllib/request.py || die + eautoreconf }