Fixed hardcoded python version and have ebuild do proper cleanup. Thanks to Jakub...
authorMarkus Dittrich <markusle@gentoo.org>
Thu, 1 Feb 2007 14:36:56 +0000 (14:36 +0000)
committerMarkus Dittrich <markusle@gentoo.org>
Thu, 1 Feb 2007 14:36:56 +0000 (14:36 +0000)
Package-Manager: portage-2.1.2-r4

sci-libs/pymmlib/ChangeLog
sci-libs/pymmlib/Manifest
sci-libs/pymmlib/pymmlib-0.9.8.ebuild

index 717962d349655aa65ef053b7f1419e4a00ba06b1..2ded0182e21cc8a84f07f9cef5dc72ae92b37dc8 100644 (file)
@@ -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.
index 673fda1ce3ebf2723b14d790698de29b70597a27..4ee1deeea51d2275652c9bb5ea1e1ec7efb3c6e8 100644 (file)
@@ -4,14 +4,14 @@ EBUILD pymmlib-0.9.7.ebuild 986 RMD160 2a827e07acf57bc9a0c7123e1e3c75e519ff3280
 MD5 74b33f7b36742536bcfb5173c3fe6b3e pymmlib-0.9.7.ebuild 986
 RMD160 2a827e07acf57bc9a0c7123e1e3c75e519ff3280 pymmlib-0.9.7.ebuild 986
 SHA256 f4d8bb67f0966641b5096b8a3c150c03510dd5c95e3ce3d872ba7586adbcd319 pymmlib-0.9.7.ebuild 986
-EBUILD pymmlib-0.9.8.ebuild 1443 RMD160 e6f82e3e71c65fa579f9e1f5b8e1cb6a8a14bbb3 SHA1 857cbf19301d062e5c6cd55865459ccbc9a0a3bd SHA256 3e7acad0784e0d1c2525c016b0a2152da4a6d748eb32eabf51b807345dc72342
-MD5 57c287f7ae37f25781a617ddcda65af5 pymmlib-0.9.8.ebuild 1443
-RMD160 e6f82e3e71c65fa579f9e1f5b8e1cb6a8a14bbb3 pymmlib-0.9.8.ebuild 1443
-SHA256 3e7acad0784e0d1c2525c016b0a2152da4a6d748eb32eabf51b807345dc72342 pymmlib-0.9.8.ebuild 1443
-MISC ChangeLog 1962 RMD160 a84003018b01d5442d77ab449b56dff30a37c3a5 SHA1 0f34cb9ad1c0fd982da3f67544800a25321ec200 SHA256 ede9263525869d13d63241faa1c81eca6abb8c903b2624ce0736a6ece3ab6f2e
-MD5 85a9a929455bc7bf1a03494a1b98dca5 ChangeLog 1962
-RMD160 a84003018b01d5442d77ab449b56dff30a37c3a5 ChangeLog 1962
-SHA256 ede9263525869d13d63241faa1c81eca6abb8c903b2624ce0736a6ece3ab6f2e ChangeLog 1962
+EBUILD pymmlib-0.9.8.ebuild 1561 RMD160 981dbc26ad3fd43b5e33aeb2f9903cd5475f4782 SHA1 dffe336b22ac24efab48f2a0f46e5d12c2b4d74c SHA256 5563a788ab26d849cfbd6543062a98d194883e3c6eb5865c1fce474116320580
+MD5 ab038a3df8b83f2a769388991b9a51b3 pymmlib-0.9.8.ebuild 1561
+RMD160 981dbc26ad3fd43b5e33aeb2f9903cd5475f4782 pymmlib-0.9.8.ebuild 1561
+SHA256 5563a788ab26d849cfbd6543062a98d194883e3c6eb5865c1fce474116320580 pymmlib-0.9.8.ebuild 1561
+MISC ChangeLog 2192 RMD160 4c47fa89c52f026623eb5ae14afc10219a2d170a SHA1 c264a15d9ce6f3b5e49df25d7b00921b88d1561f SHA256 7b70435bdfcd62218c6693f587c131754e4fe4b874561d685d063b9445781458
+MD5 cb10c377687d2cff990ac369a07b2649 ChangeLog 2192
+RMD160 4c47fa89c52f026623eb5ae14afc10219a2d170a ChangeLog 2192
+SHA256 7b70435bdfcd62218c6693f587c131754e4fe4b874561d685d063b9445781458 ChangeLog 2192
 MISC metadata.xml 166 RMD160 4452298fd03e7c9395d1182bfe69d60a14144af6 SHA1 cb0b513473c0348f4f6f6cd9a132e4884155fddb SHA256 84c92b49702daf95eace8d2765215cbd8650da4ef776f9f700b5ce3785dec852
 MD5 43628e9f5743b5c3b018a82669a76bc7 metadata.xml 166
 RMD160 4452298fd03e7c9395d1182bfe69d60a14144af6 metadata.xml 166
index 9c317c2ac42a8872bbd7c394849e9362bb598507..51f426317df2188b2f608b1fb027cec57d90ea01 100644 (file)
@@ -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
 }