diff options
author | Pacho Ramos <pacho@gentoo.org> | 2010-12-08 17:44:31 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2010-12-08 17:44:31 +0000 |
commit | 1a361beaced9d057852cdee969be2e1cc130fbe1 (patch) | |
tree | 7c32c4d540546f118fa577d96477b285b82fe181 /gnome-extra | |
parent | Remove unnecessary elements of the ebuild, as per review by Torsten "tove" Ve... (diff) | |
download | gentoo-2-1a361beaced9d057852cdee969be2e1cc130fbe1.tar.gz gentoo-2-1a361beaced9d057852cdee969be2e1cc130fbe1.tar.bz2 gentoo-2-1a361beaced9d057852cdee969be2e1cc130fbe1.zip |
Let it work when python3 is set as default interpreter.
(Portage version: 2.1.9.25/cvs/Linux x86_64)
Diffstat (limited to 'gnome-extra')
-rw-r--r-- | gnome-extra/panflute/ChangeLog | 5 | ||||
-rw-r--r-- | gnome-extra/panflute/panflute-0.6.2.ebuild | 17 |
2 files changed, 16 insertions, 6 deletions
diff --git a/gnome-extra/panflute/ChangeLog b/gnome-extra/panflute/ChangeLog index 94aecc0a76c4..1e1bf6cc4f6f 100644 --- a/gnome-extra/panflute/ChangeLog +++ b/gnome-extra/panflute/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for gnome-extra/panflute # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/panflute/ChangeLog,v 1.1 2010/09/18 21:17:32 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/panflute/ChangeLog,v 1.2 2010/12/08 17:44:31 pacho Exp $ + + 08 Dec 2010; Pacho Ramos <pacho@gentoo.org> panflute-0.6.2.ebuild: + Let it work when python3 is set as default interpreter. *panflute-0.6.2 (18 Sep 2010) diff --git a/gnome-extra/panflute/panflute-0.6.2.ebuild b/gnome-extra/panflute/panflute-0.6.2.ebuild index 872553f5fc49..9f17bc821e3a 100644 --- a/gnome-extra/panflute/panflute-0.6.2.ebuild +++ b/gnome-extra/panflute/panflute-0.6.2.ebuild @@ -1,8 +1,10 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/panflute/panflute-0.6.2.ebuild,v 1.1 2010/09/18 21:17:32 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/panflute/panflute-0.6.2.ebuild,v 1.2 2010/12/08 17:44:31 pacho Exp $ -EAPI="2" +EAPI="3" +GCONF_DEBUG="no" +PYTHON_DEPEND="2" inherit gnome2 python eutils versionator @@ -39,7 +41,10 @@ DEPEND="${RDEPEND} >=dev-util/intltool-0.40 " -DOCS="AUTHORS ChangeLog NEWS README THANKS" +pkg_setup() { + DOCS="AUTHORS ChangeLog NEWS README THANKS" + python_set_active_version 2 +} src_prepare() { gnome2_src_prepare @@ -47,14 +52,16 @@ src_prepare() { # disable pyc compiling mv py-compile py-compile.orig ln -s $(type -P true) py-compile + + python_convert_shebangs -r 2 . } pkg_postinst() { gnome2_pkg_postinst - python_mod_optimize $(python_get_sitedir)/panflute + python_mod_optimize panflute } pkg_postrm() { gnome2_pkg_postrm - python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/panflute + python_mod_cleanup panflute } |