Gentoo Archives: gentoo-python

From: "Michał Górny" <mgorny@g.o>
To: gentoo-python@l.g.o
Cc: python@g.o, "Michał Górny" <mgorny@g.o>
Subject: [gentoo-python] [PATCH 03/10] Package the compiled .pyc & .pyo files.
Date: Mon, 26 Nov 2012 21:24:03
Message-Id: 1353964837-24198-4-git-send-email-mgorny@gentoo.org
In Reply to: [gentoo-python] python2.7 ebuild patches, split up by "Michał Górny"
1 ---
2 gx86/dev-lang/python/python-2.7.3-r3.ebuild | 5 -----
3 1 file changed, 5 deletions(-)
4
5 diff --git a/gx86/dev-lang/python/python-2.7.3-r3.ebuild b/gx86/dev-lang/python/python-2.7.3-r3.ebuild
6 index 09d09e0..7efab59 100644
7 --- a/gx86/dev-lang/python/python-2.7.3-r3.ebuild
8 +++ b/gx86/dev-lang/python/python-2.7.3-r3.ebuild
9 @@ -249,7 +249,6 @@ src_install() {
10 [[ -z "${ED}" ]] && ED="${D%/}${EPREFIX}/"
11
12 emake DESTDIR="${D}" altinstall maninstall || die "emake altinstall maninstall failed"
13 - python_clean_installation_image -q
14
15 sed -e "s/\(LDFLAGS=\).*/\1/" -i "${ED}$(python_get_libdir)/config/Makefile" || die "sed failed"
16
17 @@ -309,8 +308,6 @@ eselect_python_update() {
18 pkg_postinst() {
19 eselect_python_update
20
21 - python_mod_optimize -f -x "/(site-packages|test|tests)/" $(python_get_libdir)
22 -
23 if [[ "${python_updater_warning}" == "1" ]]; then
24 ewarn "You have just upgraded from an older version of Python."
25 ewarn "You should switch active version of Python ${PV%%.*} and run"
26 @@ -320,6 +317,4 @@ pkg_postinst() {
27
28 pkg_postrm() {
29 eselect_python_update
30 -
31 - python_mod_cleanup $(python_get_libdir)
32 }
33 --
34 1.8.0