summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2008-05-29 21:29:02 +0000
committerAli Polatel <hawking@gentoo.org>2008-05-29 21:29:02 +0000
commit7f00ee09f409ea65e7e11f6b65be4e6e4af2d221 (patch)
tree27cab64e6134c4f99ca71bca9c731bb435454479 /dev-lang/python/python-2.3.6-r6.ebuild
parentPass options given to python_mod_optimize to compileall.py ,thanks to Remy Bl... (diff)
downloadgentoo-2-7f00ee09f409ea65e7e11f6b65be4e6e4af2d221.tar.gz
gentoo-2-7f00ee09f409ea65e7e11f6b65be4e6e4af2d221.tar.bz2
gentoo-2-7f00ee09f409ea65e7e11f6b65be4e6e4af2d221.zip
Fix -x option passed to python_mod_optimize, thanks to Remy Blank, #224137.
(Portage version: 2.1.5.2)
Diffstat (limited to 'dev-lang/python/python-2.3.6-r6.ebuild')
-rw-r--r--dev-lang/python/python-2.3.6-r6.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-lang/python/python-2.3.6-r6.ebuild b/dev-lang/python/python-2.3.6-r6.ebuild
index 9811b01f29f6..3551415e653f 100644
--- a/dev-lang/python/python-2.3.6-r6.ebuild
+++ b/dev-lang/python/python-2.3.6-r6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.3.6-r6.ebuild,v 1.11 2008/05/29 16:06:26 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.3.6-r6.ebuild,v 1.12 2008/05/29 21:29:02 hawking Exp $
# NOTE about python-portage interactions :
# - Do not add a pkg_setup() check for a certain version of portage
@@ -194,7 +194,7 @@ pkg_postinst() {
python_makesym
python_mod_optimize
- python_mod_optimize -x site-packages -x test /usr/$(get_libdir)/python${PYVER}
+ python_mod_optimize -x "(site-packages|test)" /usr/$(get_libdir)/python${PYVER}
# workaround possible python-upgrade-breaks-portage situation
if [ ! -f ${myroot}/usr/lib/portage/pym/portage.py ]; then