diff options
author | Maciej Mrozowski <reavertm@gentoo.org> | 2010-06-05 17:26:00 +0000 |
---|---|---|
committer | Maciej Mrozowski <reavertm@gentoo.org> | 2010-06-05 17:26:00 +0000 |
commit | d3842a55af638bb292f09d617f23e0ff90d31dcc (patch) | |
tree | 6cdb750c336757d0675f4d9a7c8ac0a018cf46ce /media-gfx | |
parent | Version bump, bug 321717 (diff) | |
download | gentoo-2-d3842a55af638bb292f09d617f23e0ff90d31dcc.tar.gz gentoo-2-d3842a55af638bb292f09d617f23e0ff90d31dcc.tar.bz2 gentoo-2-d3842a55af638bb292f09d617f23e0ff90d31dcc.zip |
Conditional python optimize (only when there's actually anything to do)
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/gimp/ChangeLog | 6 | ||||
-rw-r--r-- | media-gfx/gimp/gimp-2.6.8.ebuild | 5 | ||||
-rw-r--r-- | media-gfx/gimp/gimp-9999.ebuild | 5 |
3 files changed, 11 insertions, 5 deletions
diff --git a/media-gfx/gimp/ChangeLog b/media-gfx/gimp/ChangeLog index 0df504b935c2..769d2df63a00 100644 --- a/media-gfx/gimp/ChangeLog +++ b/media-gfx/gimp/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-gfx/gimp # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/ChangeLog,v 1.309 2010/02/15 00:09:05 hanno Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/ChangeLog,v 1.310 2010/06/05 17:26:00 reavertm Exp $ + + 05 Jun 2010; Maciej Mrozowski <reavertm@gentoo.org> gimp-2.6.8.ebuild, + gimp-9999.ebuild: + Optimize python modules only when needed. 15 Feb 2010; Hanno Boeck <hanno@gentoo.org> gimp-2.6.8.ebuild, +files/gimp-2.6.8-libpng-1.4.patch: diff --git a/media-gfx/gimp/gimp-2.6.8.ebuild b/media-gfx/gimp/gimp-2.6.8.ebuild index 54cc5ae3f4fd..be628d5d1304 100644 --- a/media-gfx/gimp/gimp-2.6.8.ebuild +++ b/media-gfx/gimp/gimp-2.6.8.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/media-gfx/gimp/gimp-2.6.8.ebuild,v 1.10 2010/02/15 00:09:05 hanno Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/gimp-2.6.8.ebuild,v 1.11 2010/06/05 17:26:00 reavertm Exp $ EAPI=2 @@ -87,12 +87,13 @@ pkg_setup() { pkg_postinst() { gnome2_pkg_postinst - python_mod_optimize /usr/$(get_libdir)/gimp/2.0/python \ + use python && python_mod_optimize /usr/$(get_libdir)/gimp/2.0/python \ /usr/$(get_libdir)/gimp/2.0/plug-ins } pkg_postrm() { gnome2_pkg_postrm + python_mod_cleanup /usr/$(get_libdir)/gimp/2.0/python \ /usr/$(get_libdir)/gimp/2.0/plug-ins } diff --git a/media-gfx/gimp/gimp-9999.ebuild b/media-gfx/gimp/gimp-9999.ebuild index a8ed42b8733a..826a719ac184 100644 --- a/media-gfx/gimp/gimp-9999.ebuild +++ b/media-gfx/gimp/gimp-9999.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/media-gfx/gimp/gimp-9999.ebuild,v 1.24 2010/02/10 13:54:28 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp/gimp-9999.ebuild,v 1.25 2010/06/05 17:26:00 reavertm Exp $ EAPI=2 @@ -95,12 +95,13 @@ pkg_setup() { pkg_postinst() { gnome2_pkg_postinst - python_mod_optimize /usr/$(get_libdir)/gimp/2.0/python \ + use python && python_mod_optimize /usr/$(get_libdir)/gimp/2.0/python \ /usr/$(get_libdir)/gimp/2.0/plug-ins } pkg_postrm() { gnome2_pkg_postrm + python_mod_cleanup /usr/$(get_libdir)/gimp/2.0/python \ /usr/$(get_libdir)/gimp/2.0/plug-ins } |