summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Ramsay <lack@gentoo.org>2008-06-04 12:34:25 +0000
committerJim Ramsay <lack@gentoo.org>2008-06-04 12:34:25 +0000
commita0a05a36aa7bdb5395915202d6aec90123eeafee (patch)
tree638ea433a7ef60dd0d2ed9f96d073885cefbed22 /rox-base
parentgtk-engines-qtcurve version bump (diff)
downloadgentoo-2-a0a05a36aa7bdb5395915202d6aec90123eeafee.tar.gz
gentoo-2-a0a05a36aa7bdb5395915202d6aec90123eeafee.tar.bz2
gentoo-2-a0a05a36aa7bdb5395915202d6aec90123eeafee.zip
Moved python_mod_optimize to pkg_postinst (Bug #224833)
(Portage version: 2.1.5.2)
Diffstat (limited to 'rox-base')
-rw-r--r--rox-base/rox-lib/ChangeLog8
-rw-r--r--rox-base/rox-lib/rox-lib-2.0.4-r1.ebuild14
-rw-r--r--rox-base/rox-lib/rox-lib-2.0.4.ebuild14
-rw-r--r--rox-base/rox-lib/rox-lib-2.0.5.ebuild14
4 files changed, 39 insertions, 11 deletions
diff --git a/rox-base/rox-lib/ChangeLog b/rox-base/rox-lib/ChangeLog
index 8e68eb709c61..1aabccdc6d5a 100644
--- a/rox-base/rox-lib/ChangeLog
+++ b/rox-base/rox-lib/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for rox-base/rox-lib
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/rox-base/rox-lib/ChangeLog,v 1.24 2007/12/12 19:56:48 lack Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/rox-base/rox-lib/ChangeLog,v 1.25 2008/06/04 12:34:25 lack Exp $
+
+ 04 Jun 2008; Jim Ramsay <lack@gentoo.org> rox-lib-2.0.4.ebuild,
+ rox-lib-2.0.4-r1.ebuild, rox-lib-2.0.5.ebuild:
+ Moved python_mod_optimize to pkg_postinst (Bug #224833)
12 Dec 2007; Jim Ramsay <lack@gentoo.org> rox-lib-2.0.4-r1.ebuild,
rox-lib-2.0.5.ebuild:
diff --git a/rox-base/rox-lib/rox-lib-2.0.4-r1.ebuild b/rox-base/rox-lib/rox-lib-2.0.4-r1.ebuild
index ae9b601bd4b8..9845e2fefc1a 100644
--- a/rox-base/rox-lib/rox-lib-2.0.4-r1.ebuild
+++ b/rox-base/rox-lib/rox-lib-2.0.4-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/rox-base/rox-lib/rox-lib-2.0.4-r1.ebuild,v 1.3 2007/12/12 19:56:48 lack Exp $
+# $Header: /var/cvsroot/gentoo-x86/rox-base/rox-lib/rox-lib-2.0.4-r1.ebuild,v 1.4 2008/06/04 12:34:25 lack Exp $
NEED_PYTHON="2.3"
inherit python eutils multilib
@@ -29,7 +29,6 @@ src_install() {
dodir "${baselibdir}"
cp -r ROX-Lib2/ "${D}${baselibdir}"
- python_mod_optimize "${D}${baselibdir}/ROX-Lib2/" >/dev/null 2>&1
dodir /usr/share/doc/
dosym "${baselibdir}/ROX-Lib2/Help" "/usr/share/doc/${P}"
@@ -45,3 +44,12 @@ src_install() {
cachedname=$(0distutils -c tmp.native_feed) || die "0distutils URI escape failed"
dosym "${baselibdir}/ROX-Lib2/.DirIcon" "${ICON_CACHE_DIR}/${cachedname}"
}
+
+pkg_postinst() {
+ local baselibdir="/usr/$(get_libdir)"
+ python_mod_optimize "${baselibdir}/ROX-Lib2/"
+}
+
+pkg_postrm() {
+ python_mod_cleanup
+}
diff --git a/rox-base/rox-lib/rox-lib-2.0.4.ebuild b/rox-base/rox-lib/rox-lib-2.0.4.ebuild
index 5e4b091451f0..3df5002b11f2 100644
--- a/rox-base/rox-lib/rox-lib-2.0.4.ebuild
+++ b/rox-base/rox-lib/rox-lib-2.0.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/rox-base/rox-lib/rox-lib-2.0.4.ebuild,v 1.5 2007/11/07 18:51:35 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/rox-base/rox-lib/rox-lib-2.0.4.ebuild,v 1.6 2008/06/04 12:34:25 lack Exp $
NEED_PYTHON="2.3"
inherit python eutils multilib
@@ -24,7 +24,15 @@ src_install() {
local baselibdir="/usr/$(get_libdir)"
dodir ${baselibdir}
cp -r ROX-Lib2/ "${D}${baselibdir}"
- python_mod_optimize "${D}${baselibdir}/ROX-Lib2/" >/dev/null 2>&1
dodir /usr/share/doc/
dosym ${baselibdir}/ROX-Lib2/Help /usr/share/doc/${P}
}
+
+pkg_postinst() {
+ local baselibdir="/usr/$(get_libdir)"
+ python_mod_optimize "${baselibdir}/ROX-Lib2/"
+}
+
+pkg_postrm() {
+ python_mod_cleanup
+}
diff --git a/rox-base/rox-lib/rox-lib-2.0.5.ebuild b/rox-base/rox-lib/rox-lib-2.0.5.ebuild
index 97b353869f01..961d005ce9b9 100644
--- a/rox-base/rox-lib/rox-lib-2.0.5.ebuild
+++ b/rox-base/rox-lib/rox-lib-2.0.5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/rox-base/rox-lib/rox-lib-2.0.5.ebuild,v 1.2 2007/12/12 19:56:48 lack Exp $
+# $Header: /var/cvsroot/gentoo-x86/rox-base/rox-lib/rox-lib-2.0.5.ebuild,v 1.3 2008/06/04 12:34:25 lack Exp $
NEED_PYTHON="2.3"
inherit python eutils multilib
@@ -29,7 +29,6 @@ src_install() {
dodir "${baselibdir}"
cp -r ROX-Lib2/ "${D}${baselibdir}"
- python_mod_optimize "${D}${baselibdir}/ROX-Lib2/" >/dev/null 2>&1
dodir /usr/share/doc/
dosym "${baselibdir}/ROX-Lib2/Help" "/usr/share/doc/${P}"
@@ -45,3 +44,12 @@ src_install() {
cachedname=$(0distutils -c tmp.native_feed) || die "0distutils URI escape failed"
dosym "${baselibdir}/ROX-Lib2/.DirIcon" "${ICON_CACHE_DIR}/${cachedname}"
}
+
+pkg_postinst() {
+ local baselibdir="/usr/$(get_libdir)"
+ python_mod_optimize "${baselibdir}/ROX-Lib2/"
+}
+
+pkg_postrm() {
+ python_mod_cleanup
+}