summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-08 21:57:10 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-08 21:57:10 +0000
commitc39b0fbe92670565786557e8f89e28bc8ad179ca (patch)
treed93aa60e37a1a4b4b81a13cae63d2c5acf752df9 /dev-python/pyclimate
parentAdd patch from upstream for as-needed test failures #321551 by Xake. Transit... (diff)
downloadgentoo-2-c39b0fbe92670565786557e8f89e28bc8ad179ca.tar.gz
gentoo-2-c39b0fbe92670565786557e8f89e28bc8ad179ca.tar.bz2
gentoo-2-c39b0fbe92670565786557e8f89e28bc8ad179ca.zip
Use distutils_pkg_postinst() and distutils_pkg_postrm().
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyclimate')
-rw-r--r--dev-python/pyclimate/pyclimate-1.2.2.ebuild11
1 files changed, 3 insertions, 8 deletions
diff --git a/dev-python/pyclimate/pyclimate-1.2.2.ebuild b/dev-python/pyclimate/pyclimate-1.2.2.ebuild
index 145d41bcb944..e7dd096fe479 100644
--- a/dev-python/pyclimate/pyclimate-1.2.2.ebuild
+++ b/dev-python/pyclimate/pyclimate-1.2.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyclimate/pyclimate-1.2.2.ebuild,v 1.5 2009/11/26 17:35:59 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyclimate/pyclimate-1.2.2.ebuild,v 1.6 2010/06/08 21:57:10 arfrever Exp $
inherit eutils distutils
@@ -39,16 +39,11 @@ src_install() {
}
pkg_postinst() {
- python_version
- python_mod_optimize /usr/lib/python${PYVER}/site-packages/pyclimate
+ distutils_pkg_postinst
+
elog
elog "Try the test script in /usr/share/${PF}/test."
elog "See the examples in /usr/share/${PF}/examples."
elog "Read the doc in /usr/share/doc/${PF}."
elog
}
-
-pkg_postrm() {
- python_version
- python_mod_cleanup
-}