summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-02-07 01:35:44 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-02-07 01:35:44 +0000
commitcfb32c69c3ce77bc56262bbcbdeb494ffd5a8e2f (patch)
treef5feba4b83861c409aac0eaa84f60a012bb26b13 /sci-chemistry/aria/aria-2.2_p2.ebuild
parentSet PYTHON_DEPEND. (diff)
downloadgentoo-2-cfb32c69c3ce77bc56262bbcbdeb494ffd5a8e2f.tar.gz
gentoo-2-cfb32c69c3ce77bc56262bbcbdeb494ffd5a8e2f.tar.bz2
gentoo-2-cfb32c69c3ce77bc56262bbcbdeb494ffd5a8e2f.zip
Call python_mod_optimize() and python_mod_cleanup().
(Portage version: 15325-svn/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry/aria/aria-2.2_p2.ebuild')
-rw-r--r--sci-chemistry/aria/aria-2.2_p2.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/sci-chemistry/aria/aria-2.2_p2.ebuild b/sci-chemistry/aria/aria-2.2_p2.ebuild
index c4686e42b01f..299dacd309ec 100644
--- a/sci-chemistry/aria/aria-2.2_p2.ebuild
+++ b/sci-chemistry/aria/aria-2.2_p2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/aria/aria-2.2_p2.ebuild,v 1.2 2010/02/07 01:28:53 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/aria/aria-2.2_p2.ebuild,v 1.3 2010/02/07 01:35:44 arfrever Exp $
EAPI="3"
PYTHON_DEPEND="2"
@@ -89,3 +89,11 @@ src_install(){
dodoc README || die
}
+
+pkg_postinst() {
+ python_mod_optimize ${PN}
+}
+
+pkg_postrm() {
+ python_mod_cleanup ${PN}
+}