summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2008-05-29 16:14:52 +0000
committerAli Polatel <hawking@gentoo.org>2008-05-29 16:14:52 +0000
commit82ec05d8d4a2556085963b1f9e1740cbde3af628 (patch)
tree115e7e0e612dcdcf6ef9c80c0e7c47bf309fe2fe /dev-python/dbus-python/dbus-python-0.80.2.ebuild
parentexchange USE=c++ with USE=cxx (diff)
downloadhistorical-82ec05d8d4a2556085963b1f9e1740cbde3af628.tar.gz
historical-82ec05d8d4a2556085963b1f9e1740cbde3af628.tar.bz2
historical-82ec05d8d4a2556085963b1f9e1740cbde3af628.zip
python_mod_optimize is ROOT aware.
Package-Manager: portage-2.1.5.2
Diffstat (limited to 'dev-python/dbus-python/dbus-python-0.80.2.ebuild')
-rw-r--r--dev-python/dbus-python/dbus-python-0.80.2.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/dev-python/dbus-python/dbus-python-0.80.2.ebuild b/dev-python/dbus-python/dbus-python-0.80.2.ebuild
index 2251a04ee497..83ee04fea0c5 100644
--- a/dev-python/dbus-python/dbus-python-0.80.2.ebuild
+++ b/dev-python/dbus-python/dbus-python-0.80.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/dbus-python/dbus-python-0.80.2.ebuild,v 1.13 2007/07/07 22:52:52 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/dbus-python/dbus-python-0.80.2.ebuild,v 1.14 2008/05/29 16:09:46 hawking Exp $
inherit python multilib
@@ -43,7 +43,8 @@ src_install() {
}
pkg_postinst() {
- python_mod_optimize ${ROOT}usr/$(get_libdir)/python*/site-packages/dbus
+ python_version
+ python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/dbus
}
pkg_postrm() {