summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-lang/python/ChangeLog12
-rw-r--r--dev-lang/python/python-2.3.5-r2.ebuild4
-rw-r--r--dev-lang/python/python-2.3.5-r3.ebuild4
-rw-r--r--dev-lang/python/python-2.3.6-r3.ebuild4
-rw-r--r--dev-lang/python/python-2.3.6-r4.ebuild4
-rw-r--r--dev-lang/python/python-2.3.6-r5.ebuild4
-rw-r--r--dev-lang/python/python-2.3.6-r6.ebuild4
-rw-r--r--dev-lang/python/python-2.3.6.ebuild4
-rw-r--r--dev-lang/python/python-2.4.4-r10.ebuild6
-rw-r--r--dev-lang/python/python-2.4.4-r11.ebuild10
-rw-r--r--dev-lang/python/python-2.4.4-r12.ebuild6
-rw-r--r--dev-lang/python/python-2.4.4-r13.ebuild10
-rw-r--r--dev-lang/python/python-2.4.4-r5.ebuild10
-rw-r--r--dev-lang/python/python-2.4.4-r6.ebuild10
-rw-r--r--dev-lang/python/python-2.4.4-r9.ebuild10
-rw-r--r--dev-lang/python/python-2.5.2-r1.ebuild6
-rw-r--r--dev-lang/python/python-2.5.2-r2.ebuild10
-rw-r--r--dev-lang/python/python-2.5.2-r3.ebuild10
-rw-r--r--dev-lang/python/python-2.5.2-r4.ebuild10
19 files changed, 74 insertions, 64 deletions
diff --git a/dev-lang/python/ChangeLog b/dev-lang/python/ChangeLog
index d604c851a6cf..ed7d0ff63fbe 100644
--- a/dev-lang/python/ChangeLog
+++ b/dev-lang/python/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for dev-lang/python
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.322 2008/05/29 16:06:26 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.323 2008/05/29 21:29:02 hawking Exp $
+
+ 29 May 2008; Ali Polatel <hawking@gentoo.org> python-2.3.5-r2.ebuild,
+ python-2.3.5-r3.ebuild, python-2.3.6.ebuild, python-2.3.6-r3.ebuild,
+ python-2.3.6-r4.ebuild, python-2.3.6-r5.ebuild, python-2.3.6-r6.ebuild,
+ python-2.4.4-r5.ebuild, python-2.4.4-r6.ebuild, python-2.4.4-r9.ebuild,
+ python-2.4.4-r10.ebuild, python-2.4.4-r11.ebuild, python-2.4.4-r12.ebuild,
+ python-2.4.4-r13.ebuild, python-2.5.2-r1.ebuild, python-2.5.2-r2.ebuild,
+ python-2.5.2-r3.ebuild, python-2.5.2-r4.ebuild:
+ Fix -x option passed to python_mod_optimize, thanks to Remy Blank,
+ #224137.
29 May 2008; Ali Polatel <hawking@gentoo.org> python-2.3.5-r2.ebuild,
python-2.3.5-r3.ebuild, python-2.3.6.ebuild, python-2.3.6-r3.ebuild,
diff --git a/dev-lang/python/python-2.3.5-r2.ebuild b/dev-lang/python/python-2.3.5-r2.ebuild
index b95a0ee53680..03151bec9052 100644
--- a/dev-lang/python/python-2.3.5-r2.ebuild
+++ b/dev-lang/python/python-2.3.5-r2.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.5-r2.ebuild,v 1.21 2008/05/29 16:06:26 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.3.5-r2.ebuild,v 1.22 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
@@ -189,7 +189,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
diff --git a/dev-lang/python/python-2.3.5-r3.ebuild b/dev-lang/python/python-2.3.5-r3.ebuild
index 1910dc4b21e5..ecb5e972467d 100644
--- a/dev-lang/python/python-2.3.5-r3.ebuild
+++ b/dev-lang/python/python-2.3.5-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.5-r3.ebuild,v 1.17 2008/05/29 16:06:26 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.3.5-r3.ebuild,v 1.18 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
@@ -191,7 +191,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
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
diff --git a/dev-lang/python/python-2.3.6-r4.ebuild b/dev-lang/python/python-2.3.6-r4.ebuild
index 83aa16d7d728..878a1ea35e52 100644
--- a/dev-lang/python/python-2.3.6-r4.ebuild
+++ b/dev-lang/python/python-2.3.6-r4.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-r4.ebuild,v 1.8 2008/05/29 16:06:26 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.3.6-r4.ebuild,v 1.9 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
@@ -191,7 +191,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
diff --git a/dev-lang/python/python-2.3.6-r5.ebuild b/dev-lang/python/python-2.3.6-r5.ebuild
index 400ab496aaab..ba0aa44e19ec 100644
--- a/dev-lang/python/python-2.3.6-r5.ebuild
+++ b/dev-lang/python/python-2.3.6-r5.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-r5.ebuild,v 1.2 2008/05/29 16:06:26 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.3.6-r5.ebuild,v 1.3 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
@@ -193,7 +193,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
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
diff --git a/dev-lang/python/python-2.3.6.ebuild b/dev-lang/python/python-2.3.6.ebuild
index f6a85236aba6..d8058d31dadd 100644
--- a/dev-lang/python/python-2.3.6.ebuild
+++ b/dev-lang/python/python-2.3.6.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.ebuild,v 1.9 2008/05/29 16:06:26 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.3.6.ebuild,v 1.10 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
@@ -191,7 +191,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
diff --git a/dev-lang/python/python-2.4.4-r10.ebuild b/dev-lang/python/python-2.4.4-r10.ebuild
index 8eda1703f45c..11f12ace33e9 100644
--- a/dev-lang/python/python-2.4.4-r10.ebuild
+++ b/dev-lang/python/python-2.4.4-r10.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.4.4-r10.ebuild,v 1.2 2008/05/29 16:06:26 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.4.4-r10.ebuild,v 1.3 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
@@ -264,8 +264,8 @@ pkg_postinst() {
python_mod_optimize -x site-packages \
-x test /usr/lib/python${PYVER}
[[ "$(get_libdir)" == "lib" ]] || \
- 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
diff --git a/dev-lang/python/python-2.4.4-r11.ebuild b/dev-lang/python/python-2.4.4-r11.ebuild
index 9037576c192c..497a1ca87f55 100644
--- a/dev-lang/python/python-2.4.4-r11.ebuild
+++ b/dev-lang/python/python-2.4.4-r11.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.4.4-r11.ebuild,v 1.2 2008/05/29 16:06:26 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.4.4-r11.ebuild,v 1.3 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
@@ -261,11 +261,11 @@ pkg_postinst() {
"python[0-9].[0-9].1${mansuffix}"
python_mod_optimize
- python_mod_optimize -x site-packages \
- -x test /usr/lib/python${PYVER}
+ python_mod_optimize -x "(site-packages|test)" \
+ /usr/lib/python${PYVER}
[[ "$(get_libdir)" == "lib" ]] || \
- 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
diff --git a/dev-lang/python/python-2.4.4-r12.ebuild b/dev-lang/python/python-2.4.4-r12.ebuild
index 03657c5b02c8..4ef88dcdc977 100644
--- a/dev-lang/python/python-2.4.4-r12.ebuild
+++ b/dev-lang/python/python-2.4.4-r12.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.4.4-r12.ebuild,v 1.3 2008/05/29 16:06:26 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.4.4-r12.ebuild,v 1.4 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
@@ -254,8 +254,8 @@ pkg_postinst() {
"python[0-9].[0-9].1${mansuffix}"
python_mod_optimize
- python_mod_optimize -x site-packages \
- -x test /usr/lib/python${PYVER}
+ python_mod_optimize -x "(site-packages|test)" \
+ /usr/lib/python${PYVER}
[[ "$(get_libdir)" == "lib" ]] || \
python_mod_optimize -x site-packages \
-x test /usr/$(get_libdir)/python${PYVER}
diff --git a/dev-lang/python/python-2.4.4-r13.ebuild b/dev-lang/python/python-2.4.4-r13.ebuild
index 878bddaa8b54..f166f4245b56 100644
--- a/dev-lang/python/python-2.4.4-r13.ebuild
+++ b/dev-lang/python/python-2.4.4-r13.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.4.4-r13.ebuild,v 1.9 2008/05/29 16:06:26 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.4.4-r13.ebuild,v 1.10 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
@@ -254,11 +254,11 @@ pkg_postinst() {
"python[0-9].[0-9].1${mansuffix}"
python_mod_optimize
- python_mod_optimize -x site-packages \
- -x test /usr/lib/python${PYVER}
+ python_mod_optimize -x "(site-packages|test)" \
+ /usr/lib/python${PYVER}
[[ "$(get_libdir)" == "lib" ]] || \
- 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
diff --git a/dev-lang/python/python-2.4.4-r5.ebuild b/dev-lang/python/python-2.4.4-r5.ebuild
index 25da26292b85..c0fd85084d1b 100644
--- a/dev-lang/python/python-2.4.4-r5.ebuild
+++ b/dev-lang/python/python-2.4.4-r5.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.4.4-r5.ebuild,v 1.19 2008/05/29 16:06:26 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.4.4-r5.ebuild,v 1.20 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
@@ -246,11 +246,11 @@ pkg_postinst() {
"python[0-9].[0-9].1${mansuffix}"
python_mod_optimize
- python_mod_optimize -x site-packages \
- -x test /usr/lib/python${PYVER}
+ python_mod_optimize -x "(site-packages|test)" \
+ /usr/lib/python${PYVER}
[[ "$(get_libdir)" == "lib" ]] || \
- 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
diff --git a/dev-lang/python/python-2.4.4-r6.ebuild b/dev-lang/python/python-2.4.4-r6.ebuild
index fadf90c70f89..5802f4116107 100644
--- a/dev-lang/python/python-2.4.4-r6.ebuild
+++ b/dev-lang/python/python-2.4.4-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.4.4-r6.ebuild,v 1.11 2008/05/29 16:06:26 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.4.4-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
@@ -246,11 +246,11 @@ pkg_postinst() {
"python[0-9].[0-9].1${mansuffix}"
python_mod_optimize
- python_mod_optimize -x site-packages \
- -x test /usr/lib/python${PYVER}
+ python_mod_optimize -x "(site-packages|test)" \
+ /usr/lib/python${PYVER}
[[ "$(get_libdir)" == "lib" ]] || \
- 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
diff --git a/dev-lang/python/python-2.4.4-r9.ebuild b/dev-lang/python/python-2.4.4-r9.ebuild
index 1e4bc5b2aa4b..0ad3727f60b1 100644
--- a/dev-lang/python/python-2.4.4-r9.ebuild
+++ b/dev-lang/python/python-2.4.4-r9.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.4.4-r9.ebuild,v 1.9 2008/05/29 16:06:26 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.4.4-r9.ebuild,v 1.10 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
@@ -259,11 +259,11 @@ pkg_postinst() {
"python[0-9].[0-9].1${mansuffix}"
python_mod_optimize
- python_mod_optimize -x site-packages \
- -x test /usr/lib/python${PYVER}
+ python_mod_optimize -x "(site-packages|test)" \
+ /usr/lib/python${PYVER}
[[ "$(get_libdir)" == "lib" ]] || \
- 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
diff --git a/dev-lang/python/python-2.5.2-r1.ebuild b/dev-lang/python/python-2.5.2-r1.ebuild
index 66213a1f3655..b0450091db26 100644
--- a/dev-lang/python/python-2.5.2-r1.ebuild
+++ b/dev-lang/python/python-2.5.2-r1.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.5.2-r1.ebuild,v 1.2 2008/05/29 16:06:26 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.5.2-r1.ebuild,v 1.3 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
@@ -262,8 +262,8 @@ pkg_postinst() {
"python[0-9].[0-9].1${mansuffix}"
python_mod_optimize
- python_mod_optimize -x site-packages \
- -x test /usr/lib/python${PYVER}
+ python_mod_optimize -x "(site-packages|test)" \
+ /usr/lib/python${PYVER}
[[ "$(get_libdir)" == "lib" ]] || \
python_mod_optimize -x site-packages \
-x test /usr/$(get_libdir)/python${PYVER}
diff --git a/dev-lang/python/python-2.5.2-r2.ebuild b/dev-lang/python/python-2.5.2-r2.ebuild
index df07f8c53453..1c6d8cadafb3 100644
--- a/dev-lang/python/python-2.5.2-r2.ebuild
+++ b/dev-lang/python/python-2.5.2-r2.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.5.2-r2.ebuild,v 1.2 2008/05/29 16:06:26 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.5.2-r2.ebuild,v 1.3 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
@@ -262,11 +262,11 @@ pkg_postinst() {
"python[0-9].[0-9].1${mansuffix}"
python_mod_optimize
- python_mod_optimize -x site-packages \
- -x test /usr/lib/python${PYVER}
+ python_mod_optimize -x "(site-packages|test)" \
+ /usr/lib/python${PYVER}
[[ "$(get_libdir)" == "lib" ]] || \
- 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
diff --git a/dev-lang/python/python-2.5.2-r3.ebuild b/dev-lang/python/python-2.5.2-r3.ebuild
index 735ea81747eb..5eba5ca71556 100644
--- a/dev-lang/python/python-2.5.2-r3.ebuild
+++ b/dev-lang/python/python-2.5.2-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.5.2-r3.ebuild,v 1.3 2008/05/29 16:06:26 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.5.2-r3.ebuild,v 1.4 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
@@ -254,11 +254,11 @@ pkg_postinst() {
"python[0-9].[0-9].1${mansuffix}"
python_mod_optimize
- python_mod_optimize -x site-packages \
- -x test /usr/lib/python${PYVER}
+ python_mod_optimize -x "(site-packages|test)" \
+ /usr/lib/python${PYVER}
[[ "$(get_libdir)" == "lib" ]] || \
- 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
diff --git a/dev-lang/python/python-2.5.2-r4.ebuild b/dev-lang/python/python-2.5.2-r4.ebuild
index 3f7c53dc61ac..2c4bfb854d49 100644
--- a/dev-lang/python/python-2.5.2-r4.ebuild
+++ b/dev-lang/python/python-2.5.2-r4.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.5.2-r4.ebuild,v 1.3 2008/05/29 16:06:26 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.5.2-r4.ebuild,v 1.4 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
@@ -254,11 +254,11 @@ pkg_postinst() {
"python[0-9].[0-9].1${mansuffix}"
python_mod_optimize
- python_mod_optimize -x site-packages \
- -x test /usr/lib/python${PYVER}
+ python_mod_optimize -x "(site-packages|test)" \
+ /usr/lib/python${PYVER}
[[ "$(get_libdir)" == "lib" ]] || \
- 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