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
commit55626bf576992c1620ab0c58c0a17631089610fb (patch)
tree5873ea6aa177b2e360bee1dcb5907d7bd2cbdaff /sci-chemistry/aria
parentSet PYTHON_DEPEND. (diff)
downloadhistorical-55626bf576992c1620ab0c58c0a17631089610fb.tar.gz
historical-55626bf576992c1620ab0c58c0a17631089610fb.tar.bz2
historical-55626bf576992c1620ab0c58c0a17631089610fb.zip
Call python_mod_optimize() and python_mod_cleanup().
Package-Manager: portage-15325-svn/cvs/Linux x86_64
Diffstat (limited to 'sci-chemistry/aria')
-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}
+}