1 |
commit: 75b524d4d42f0cda47109b0818aa9e969047147d |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 1 19:07:42 2016 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 1 19:07:48 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=75b524d4 |
7 |
|
8 |
dev-lang/python: drop pointless empty /Applications directory |
9 |
|
10 |
Package-Manager: portage-2.2.20-prefix |
11 |
|
12 |
dev-lang/python/python-2.7.11.ebuild | 2 ++ |
13 |
dev-lang/python/python-3.4.3-r5.ebuild | 2 ++ |
14 |
dev-lang/python/python-3.5.1.ebuild | 2 ++ |
15 |
3 files changed, 6 insertions(+) |
16 |
|
17 |
diff --git a/dev-lang/python/python-2.7.11.ebuild b/dev-lang/python/python-2.7.11.ebuild |
18 |
index 9a7479e..d974398 100644 |
19 |
--- a/dev-lang/python/python-2.7.11.ebuild |
20 |
+++ b/dev-lang/python/python-2.7.11.ebuild |
21 |
@@ -359,6 +359,8 @@ src_install() { |
22 |
|
23 |
# let the makefiles do their thing |
24 |
emake -j1 CC="$(tc-getCC)" DESTDIR="${D}" STRIPFLAG= altinstall |
25 |
+ rmdir "${ED}"/Applications/Python* || die |
26 |
+ rmdir "${ED}"/Applications || die |
27 |
|
28 |
# avoid framework incompatability, degrade to a normal UNIX lib |
29 |
mkdir -p "${ED}"/usr/$(get_libdir) |
30 |
|
31 |
diff --git a/dev-lang/python/python-3.4.3-r5.ebuild b/dev-lang/python/python-3.4.3-r5.ebuild |
32 |
index 1ddb5f8..5557b6c 100644 |
33 |
--- a/dev-lang/python/python-3.4.3-r5.ebuild |
34 |
+++ b/dev-lang/python/python-3.4.3-r5.ebuild |
35 |
@@ -288,6 +288,8 @@ src_install() { |
36 |
# Prefix (it uses /usr/bin/pythonw) so useless |
37 |
# IDLE doesn't run, no idea, but definitely not used |
38 |
emake DESTDIR="${D}" -C Mac install_Python || die |
39 |
+ rmdir "${ED}"/Applications/Python* || die |
40 |
+ rmdir "${ED}"/Applications || die |
41 |
|
42 |
local fwdir=/usr/$(get_libdir)/Python.framework/Versions/${PYVER} |
43 |
ln -s "${EPREFIX}"/usr/include/python${PYVER} \ |
44 |
|
45 |
diff --git a/dev-lang/python/python-3.5.1.ebuild b/dev-lang/python/python-3.5.1.ebuild |
46 |
index 43aed5a..4cf94bb 100644 |
47 |
--- a/dev-lang/python/python-3.5.1.ebuild |
48 |
+++ b/dev-lang/python/python-3.5.1.ebuild |
49 |
@@ -291,6 +291,8 @@ src_install() { |
50 |
# Prefix (it uses /usr/bin/pythonw) so useless |
51 |
# IDLE doesn't run, no idea, but definitely not used |
52 |
emake DESTDIR="${D}" -C Mac install_Python || die |
53 |
+ rmdir "${ED}"/Applications/Python* || die |
54 |
+ rmdir "${ED}"/Applications || die |
55 |
|
56 |
local fwdir=/usr/$(get_libdir)/Python.framework/Versions/${PYVER} |
57 |
ln -s "${EPREFIX}"/usr/include/python${PYVER} \ |