summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2011-12-21 17:59:43 +0000
committerMike Gilbert <floppym@gentoo.org>2011-12-21 17:59:43 +0000
commitf936e2efc635e71af57e72a8d51921fe60da7c30 (patch)
tree26f3018ed884df58dd71624a82822cf48edb295f /dev-python/pyside-tools
parentAdded $(use_enable qt4 qt4-qt3support), bug #282922. Added REQUIRED_USE, bug ... (diff)
downloadgentoo-2-f936e2efc635e71af57e72a8d51921fe60da7c30.tar.gz
gentoo-2-f936e2efc635e71af57e72a8d51921fe60da7c30.tar.bz2
gentoo-2-f936e2efc635e71af57e72a8d51921fe60da7c30.zip
Call python_mod_optimize to byte-compile python modules. Patch by Chris Mayo in bug 381471.
(Portage version: 2.2.0_alpha81/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyside-tools')
-rw-r--r--dev-python/pyside-tools/ChangeLog6
-rw-r--r--dev-python/pyside-tools/pyside-tools-0.2.13.ebuild10
2 files changed, 14 insertions, 2 deletions
diff --git a/dev-python/pyside-tools/ChangeLog b/dev-python/pyside-tools/ChangeLog
index d32bb05f4726..d4335a92a9f8 100644
--- a/dev-python/pyside-tools/ChangeLog
+++ b/dev-python/pyside-tools/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/pyside-tools
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyside-tools/ChangeLog,v 1.12 2011/09/13 19:10:44 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyside-tools/ChangeLog,v 1.13 2011/12/21 17:59:43 floppym Exp $
+
+ 21 Dec 2011; Mike Gilbert <floppym@gentoo.org> pyside-tools-0.2.13.ebuild:
+ Call python_mod_optimize to byte-compile python modules. Patch by Chris Mayo
+ in bug 381471.
13 Sep 2011; Pacho Ramos <pacho@gentoo.org> metadata.xml:
Drop maintainer due retirement, bug #278944
diff --git a/dev-python/pyside-tools/pyside-tools-0.2.13.ebuild b/dev-python/pyside-tools/pyside-tools-0.2.13.ebuild
index 6f69556fc278..42e0493dfbc0 100644
--- a/dev-python/pyside-tools/pyside-tools-0.2.13.ebuild
+++ b/dev-python/pyside-tools/pyside-tools-0.2.13.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyside-tools/pyside-tools-0.2.13.ebuild,v 1.1 2011/09/06 12:42:16 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyside-tools/pyside-tools-0.2.13.ebuild,v 1.2 2011/12/21 17:59:43 floppym Exp $
EAPI=3
@@ -48,3 +48,11 @@ src_test() {
VIRTUALX_COMMAND="cmake-utils_src_test"
virtualmake
}
+
+pkg_postinst() {
+ python_mod_optimize pysideuic
+}
+
+pkg_postrm() {
+ python_mod_cleanup pysideuic
+}