summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2007-02-01 14:36:56 +0000
committerMarkus Dittrich <markusle@gentoo.org>2007-02-01 14:36:56 +0000
commit380f858a7e95c090866c30fb1f82e3299cfaeeb7 (patch)
tree400947d7aabae809779fabd66fbd092d996a0476 /sci-libs
parentDisable ivtv video output support, bug 164748 (diff)
downloadgentoo-2-380f858a7e95c090866c30fb1f82e3299cfaeeb7.tar.gz
gentoo-2-380f858a7e95c090866c30fb1f82e3299cfaeeb7.tar.bz2
gentoo-2-380f858a7e95c090866c30fb1f82e3299cfaeeb7.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).
(Portage version: 2.1.2-r4)
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/pymmlib/ChangeLog9
-rw-r--r--sci-libs/pymmlib/pymmlib-0.9.8.ebuild11
2 files changed, 15 insertions, 5 deletions
diff --git a/sci-libs/pymmlib/ChangeLog b/sci-libs/pymmlib/ChangeLog
index 717962d34965..2ded0182e21c 100644
--- a/sci-libs/pymmlib/ChangeLog
+++ b/sci-libs/pymmlib/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-libs/pymmlib
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/pymmlib/ChangeLog,v 1.11 2006/09/26 07:54:00 dberkholz Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/pymmlib/ChangeLog,v 1.12 2007/02/01 14:36:56 markusle Exp $
+
+ 01 Feb 2007; Markus Dittrich <markusle@gentoo.org> pymmlib-0.9.8.ebuild:
+ Fixed hardcoded python version and have ebuild do proper cleanup.
+ Thanks to Jakub Moc <jakub@gentoo.org> for pointing this out
+ (fixes bug #164807).
26 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; pymmlib-0.9.8.ebuild:
Stable on x86/ppc.
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
}