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
commitb78c8a87d643865b099c8b214c7ef4476ecd8eff (patch)
tree5e3fd138270f1a75877f3852ffc317f124a4c692 /dev-lang/python/python-2.3.6-r3.ebuild
parentPass options given to python_mod_optimize to compileall.py ,thanks to Remy Bl... (diff)
downloadhistorical-b78c8a87d643865b099c8b214c7ef4476ecd8eff.tar.gz
historical-b78c8a87d643865b099c8b214c7ef4476ecd8eff.tar.bz2
historical-b78c8a87d643865b099c8b214c7ef4476ecd8eff.zip
Fix -x option passed to python_mod_optimize, thanks to Remy Blank, #224137.
Package-Manager: portage-2.1.5.2
Diffstat (limited to 'dev-lang/python/python-2.3.6-r3.ebuild')
-rw-r--r--dev-lang/python/python-2.3.6-r3.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-lang/python/python-2.3.6-r3.ebuild b/dev-lang/python/python-2.3.6-r3.ebuild
index 02ad5094643b..22c92930769c 100644
--- a/dev-lang/python/python-2.3.6-r3.ebuild
+++ b/dev-lang/python/python-2.3.6-r3.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-r3.ebuild,v 1.11 2008/05/29 16:06:26 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.3.6-r3.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
@@ -187,7 +187,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