diff options
author | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-05-02 01:36:15 +0000 |
---|---|---|
committer | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-05-02 01:36:15 +0000 |
commit | d3f58cf1014c71cf7ea49359af96cf57d7bc32d3 (patch) | |
tree | 9b04e28c3ec238bea945a92529e003940e4a85f1 /app-editors/gedit-plugins | |
parent | Depend on >=gtk+-3.3.8 (bug #413739, thanks to lynx). (diff) | |
download | gentoo-2-d3f58cf1014c71cf7ea49359af96cf57d7bc32d3.tar.gz gentoo-2-d3f58cf1014c71cf7ea49359af96cf57d7bc32d3.tar.bz2 gentoo-2-d3f58cf1014c71cf7ea49359af96cf57d7bc32d3.zip |
Fix pkg_postinst/postrm error when USE=-python (bug #413723, thanks to Ilya Gordeev).
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
Diffstat (limited to 'app-editors/gedit-plugins')
-rw-r--r-- | app-editors/gedit-plugins/ChangeLog | 8 | ||||
-rw-r--r-- | app-editors/gedit-plugins/gedit-plugins-2.32.0.ebuild | 12 | ||||
-rw-r--r-- | app-editors/gedit-plugins/gedit-plugins-3.2.1-r1.ebuild | 10 | ||||
-rw-r--r-- | app-editors/gedit-plugins/gedit-plugins-3.4.0.ebuild | 10 |
4 files changed, 26 insertions, 14 deletions
diff --git a/app-editors/gedit-plugins/ChangeLog b/app-editors/gedit-plugins/ChangeLog index 0c4efdb88045..75da8b73a91c 100644 --- a/app-editors/gedit-plugins/ChangeLog +++ b/app-editors/gedit-plugins/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-editors/gedit-plugins # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit-plugins/ChangeLog,v 1.23 2012/04/22 23:29:49 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit-plugins/ChangeLog,v 1.24 2012/05/02 01:36:15 tetromino Exp $ + + 02 May 2012; Alexandre Rostovtsev <tetromino@gentoo.org> + gedit-plugins-2.32.0.ebuild, gedit-plugins-3.2.1-r1.ebuild, + gedit-plugins-3.4.0.ebuild: + Fix pkg_postinst/postrm error when USE=-python (bug #413723, thanks to Ilya + Gordeev). *gedit-plugins-3.4.0 (22 Apr 2012) diff --git a/app-editors/gedit-plugins/gedit-plugins-2.32.0.ebuild b/app-editors/gedit-plugins/gedit-plugins-2.32.0.ebuild index c42a27a74536..7deebadb0bec 100644 --- a/app-editors/gedit-plugins/gedit-plugins-2.32.0.ebuild +++ b/app-editors/gedit-plugins/gedit-plugins-2.32.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit-plugins/gedit-plugins-2.32.0.ebuild,v 1.4 2011/10/21 13:02:47 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit-plugins/gedit-plugins-2.32.0.ebuild,v 1.5 2012/05/02 01:36:15 tetromino Exp $ EAPI="3" GCONF_DEBUG="no" @@ -77,11 +77,13 @@ src_prepare() { pkg_postinst() { gnome2_pkg_postinst - python_need_rebuild - python_mod_optimize /usr/$(get_libdir)/gedit-2/plugins + if use python; then + python_need_rebuild + python_mod_optimize /usr/$(get_libdir)/gedit-2/plugins + fi } pkg_postrm() { gnome2_pkg_postrm - python_mod_cleanup /usr/$(get_libdir)/gedit-2/plugins + use python && python_mod_cleanup /usr/$(get_libdir)/gedit-2/plugins } diff --git a/app-editors/gedit-plugins/gedit-plugins-3.2.1-r1.ebuild b/app-editors/gedit-plugins/gedit-plugins-3.2.1-r1.ebuild index c0bf2af9b7fd..ea9f6273f37b 100644 --- a/app-editors/gedit-plugins/gedit-plugins-3.2.1-r1.ebuild +++ b/app-editors/gedit-plugins/gedit-plugins-3.2.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit-plugins/gedit-plugins-3.2.1-r1.ebuild,v 1.2 2012/01/13 17:41:16 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit-plugins/gedit-plugins-3.2.1-r1.ebuild,v 1.3 2012/05/02 01:36:15 tetromino Exp $ EAPI="4" GCONF_DEBUG="no" @@ -90,11 +90,13 @@ src_test() { pkg_postinst() { gnome2_pkg_postinst - python_need_rebuild - python_mod_optimize /usr/{$(get_libdir),share}/gedit/plugins + if use python; then + python_need_rebuild + python_mod_optimize /usr/{$(get_libdir),share}/gedit/plugins + fi } pkg_postrm() { gnome2_pkg_postrm - python_mod_cleanup /usr/{$(get_libdir),share}/gedit/plugins + use python && python_mod_cleanup /usr/{$(get_libdir),share}/gedit/plugins } diff --git a/app-editors/gedit-plugins/gedit-plugins-3.4.0.ebuild b/app-editors/gedit-plugins/gedit-plugins-3.4.0.ebuild index ebbc5bafede0..0539d56cd78d 100644 --- a/app-editors/gedit-plugins/gedit-plugins-3.4.0.ebuild +++ b/app-editors/gedit-plugins/gedit-plugins-3.4.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit-plugins/gedit-plugins-3.4.0.ebuild,v 1.1 2012/04/22 23:29:49 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit-plugins/gedit-plugins-3.4.0.ebuild,v 1.2 2012/05/02 01:36:15 tetromino Exp $ EAPI="4" GCONF_DEBUG="no" @@ -83,11 +83,13 @@ src_test() { pkg_postinst() { gnome2_pkg_postinst - python_need_rebuild - python_mod_optimize /usr/{$(get_libdir),share}/gedit/plugins + if use python; then + python_need_rebuild + python_mod_optimize /usr/{$(get_libdir),share}/gedit/plugins + fi } pkg_postrm() { gnome2_pkg_postrm - python_mod_cleanup /usr/{$(get_libdir),share}/gedit/plugins + use python && python_mod_cleanup /usr/{$(get_libdir),share}/gedit/plugins } |