diff options
author | Markus Dittrich <markusle@gentoo.org> | 2007-02-01 14:36:56 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2007-02-01 14:36:56 +0000 |
commit | c84fc6de0aecc28425b25671ae98bd800433f5c1 (patch) | |
tree | 1a87c408f2f6763d7ef139a35e679b78bbccc7f4 /sci-libs/pymmlib/pymmlib-0.9.8.ebuild | |
parent | Disable ivtv video output support, bug 164748 (diff) | |
download | historical-c84fc6de0aecc28425b25671ae98bd800433f5c1.tar.gz historical-c84fc6de0aecc28425b25671ae98bd800433f5c1.tar.bz2 historical-c84fc6de0aecc28425b25671ae98bd800433f5c1.zip |
Fixed hardcoded python version and have ebuild do proper cleanup. Thanks to Jakub Moc <jakub@gentoo.org> for pointing this out (fixes bug #164807).
Package-Manager: portage-2.1.2-r4
Diffstat (limited to 'sci-libs/pymmlib/pymmlib-0.9.8.ebuild')
-rw-r--r-- | sci-libs/pymmlib/pymmlib-0.9.8.ebuild | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/sci-libs/pymmlib/pymmlib-0.9.8.ebuild b/sci-libs/pymmlib/pymmlib-0.9.8.ebuild index 9c317c2ac42a..51f426317df2 100644 --- a/sci-libs/pymmlib/pymmlib-0.9.8.ebuild +++ b/sci-libs/pymmlib/pymmlib-0.9.8.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/pymmlib/pymmlib-0.9.8.ebuild,v 1.4 2006/09/26 07:54:00 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/pymmlib/pymmlib-0.9.8.ebuild,v 1.5 2007/02/01 14:36:56 markusle Exp $ inherit multilib python @@ -43,5 +43,10 @@ src_install() { } pkg_postinst() { - python_mod_optimize ${ROOT}usr/$(get_libdir)/python2.4/site-packages/mmLib + python_mod_optimize ${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/mmLib +} + +pkg_postrm() { + python_version + python_mod_cleanup ${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/mmLib } |