Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/prefix:master commit in: dev-lang/python/
Date: Tue, 02 Feb 2016 20:06:10
Message-Id: 1454443509.966ace9bb7bf3bcecc41a21d0826f17eb3487f91.grobian@gentoo
1 commit: 966ace9bb7bf3bcecc41a21d0826f17eb3487f91
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 2 20:05:09 2016 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 2 20:05:09 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=966ace9b
7
8 dev-lang/python: fix RUNSHARED changes for non-Darwin
9
10 Package-Manager: portage-2.2.20-prefix
11
12 dev-lang/python/python-3.4.3-r5.ebuild | 2 +-
13 dev-lang/python/python-3.5.1.ebuild | 2 +-
14 2 files changed, 2 insertions(+), 2 deletions(-)
15
16 diff --git a/dev-lang/python/python-3.4.3-r5.ebuild b/dev-lang/python/python-3.4.3-r5.ebuild
17 index 5557b6c..1ea643d 100644
18 --- a/dev-lang/python/python-3.4.3-r5.ebuild
19 +++ b/dev-lang/python/python-3.4.3-r5.ebuild
20 @@ -83,7 +83,7 @@ src_prepare() {
21 epatch "${WORKDIR}"/python-prefix-${PV}-gentoo-patches-${PREFIX_PATCHREV}
22
23 # https://forums.developer.apple.com/thread/9233, bug #572726
24 - sed -i -e 's:$(RUNSHARED) ./regen:export RUNSHARED=$(RUNSHARED); ./regen:' \
25 + sed -i -e '/$(RUNSHARED) .\/regen/s/^/export RUNSHARED=$(RUNSHARED); /' \
26 Makefile.pre.in || die
27 sed -i -e '/python$EXE/s/^/env ${RUNSHARED} /' \
28 Lib/plat-darwin/regen || die
29
30 diff --git a/dev-lang/python/python-3.5.1.ebuild b/dev-lang/python/python-3.5.1.ebuild
31 index 4cf94bb..3e6454f 100644
32 --- a/dev-lang/python/python-3.5.1.ebuild
33 +++ b/dev-lang/python/python-3.5.1.ebuild
34 @@ -81,7 +81,7 @@ src_prepare() {
35 epatch "${WORKDIR}"/python-prefix-${PV}-gentoo-patches-${PREFIX_PATCHREV}
36
37 # https://forums.developer.apple.com/thread/9233, bug #572726
38 - sed -i -e 's:$(RUNSHARED) ./regen:export RUNSHARED=$(RUNSHARED); ./regen:' \
39 + sed -i -e '/$(RUNSHARED) .\/regen/s/^/export RUNSHARED=$(RUNSHARED); /' \
40 Makefile.pre.in || die
41 sed -i -e '/python$EXE/s/^/env ${RUNSHARED} /' \
42 Lib/plat-darwin/regen || die