summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2008-05-29 18:12:41 +0000
committerAli Polatel <hawking@gentoo.org>2008-05-29 18:12:41 +0000
commit07d52f3e02987636a0aa1d1173f64f503ae20d4d (patch)
tree508c5ee95b02e0f37cc9641150a95f0ea97ae93a /www-apache/mod_python
parentpython_mod_{cleanup,optimize} are ROOT aware. Quoting. (diff)
downloadgentoo-2-07d52f3e02987636a0aa1d1173f64f503ae20d4d.tar.gz
gentoo-2-07d52f3e02987636a0aa1d1173f64f503ae20d4d.tar.bz2
gentoo-2-07d52f3e02987636a0aa1d1173f64f503ae20d4d.zip
python_mod_{cleanup,optimize} are ROOT aware.
(Portage version: 2.1.5.2)
Diffstat (limited to 'www-apache/mod_python')
-rw-r--r--www-apache/mod_python/ChangeLog5
-rw-r--r--www-apache/mod_python/mod_python-3.3.1.ebuild7
2 files changed, 7 insertions, 5 deletions
diff --git a/www-apache/mod_python/ChangeLog b/www-apache/mod_python/ChangeLog
index 25a708a92e95..2f641bb7c5b8 100644
--- a/www-apache/mod_python/ChangeLog
+++ b/www-apache/mod_python/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for www-apache/mod_python
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_python/ChangeLog,v 1.12 2008/04/18 07:39:42 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_python/ChangeLog,v 1.13 2008/05/29 18:12:41 hawking Exp $
+
+ 29 May 2008; Ali Polatel <hawking@gentoo.org> mod_python-3.3.1.ebuild:
+ python_mod_{cleanup,optimize} are ROOT aware.
18 Apr 2008; Benedikt Böhm <hollow@gentoo.org> mod_python-3.3.1.ebuild:
fix #200122
diff --git a/www-apache/mod_python/mod_python-3.3.1.ebuild b/www-apache/mod_python/mod_python-3.3.1.ebuild
index 8e8300971e84..01e5d929f4c4 100644
--- a/www-apache/mod_python/mod_python-3.3.1.ebuild
+++ b/www-apache/mod_python/mod_python-3.3.1.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/www-apache/mod_python/mod_python-3.3.1.ebuild,v 1.10 2008/04/18 07:39:42 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_python/mod_python-3.3.1.ebuild,v 1.11 2008/05/29 18:12:41 hawking Exp $
inherit python apache-module multilib
@@ -55,11 +55,10 @@ src_test() {
pkg_postinst() {
python_version
- python_mod_optimize "${ROOT}/usr/$(get_libdir)/python${PYVER}/site-packages/mod_python"
+ python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/mod_python
apache-module_pkg_postinst
}
pkg_postrm() {
- python_version
- python_mod_cleanup "${ROOT}/usr/$(get_libdir)/python${PYVER}/site-packages/mod_python"
+ python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/mod_python
}