diff options
author | Chris PeBenito <pebenito@gentoo.org> | 2006-03-18 15:33:17 +0000 |
---|---|---|
committer | Chris PeBenito <pebenito@gentoo.org> | 2006-03-18 15:33:17 +0000 |
commit | 438f250d67114c5fb27d74156d884f6cb9b1ddc6 (patch) | |
tree | e0045cd38de6eb8dc9a70a9f64375eff4169abda /sys-libs/libsemanage | |
parent | use flag for extramodules in spamassassin 3.1.1 (diff) | |
download | historical-438f250d67114c5fb27d74156d884f6cb9b1ddc6.tar.gz historical-438f250d67114c5fb27d74156d884f6cb9b1ddc6.tar.bz2 historical-438f250d67114c5fb27d74156d884f6cb9b1ddc6.zip |
add missing python bytecode optimize and cleanup.
Package-Manager: portage-2.1_pre6-r1
Diffstat (limited to 'sys-libs/libsemanage')
-rw-r--r-- | sys-libs/libsemanage/libsemanage-1.6.ebuild | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sys-libs/libsemanage/libsemanage-1.6.ebuild b/sys-libs/libsemanage/libsemanage-1.6.ebuild index 7bb669ad66e4..38abb46ee5ac 100644 --- a/sys-libs/libsemanage/libsemanage-1.6.ebuild +++ b/sys-libs/libsemanage/libsemanage-1.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/libsemanage-1.6.ebuild,v 1.1 2006/03/18 14:54:13 pebenito Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/libsemanage-1.6.ebuild,v 1.2 2006/03/18 15:33:17 pebenito Exp $ IUSE="" @@ -47,3 +47,13 @@ src_install() { # policy will install this file. rm -fR ${D}/etc } + +pkg_postinst() { + python_version + python_mod_optimize ${ROOT}usr/lib/python${PYVER}/site-packages +} + +pkg_postrm() { + python_version + python_mod_cleanup ${ROOT}usr/lib/python${PYVER}/site-packages +} |