mgorny 14/12/01 11:40:51 Modified: gedit-plugins-3.12.1-r1.ebuild ChangeLog Log: Add a proper REQUIRED_USE for libpeas compatibility, use python_setup() to use the correct implementation. (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Revision Changes Path 1.3 app-editors/gedit-plugins/gedit-plugins-3.12.1-r1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gedit-plugins/gedit-plugins-3.12.1-r1.ebuild?rev=1.3&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gedit-plugins/gedit-plugins-3.12.1-r1.ebuild?rev=1.3&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gedit-plugins/gedit-plugins-3.12.1-r1.ebuild?r1=1.2&r2=1.3 Index: gedit-plugins-3.12.1-r1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/app-editors/gedit-plugins/gedit-plugins-3.12.1-r1.ebuild,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- gedit-plugins-3.12.1-r1.ebuild 25 Nov 2014 15:38:33 -0000 1.2 +++ gedit-plugins-3.12.1-r1.ebuild 1 Dec 2014 11:40:51 -0000 1.3 @@ -1,11 +1,11 @@ # Copyright 1999-2014 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.12.1-r1.ebuild,v 1.2 2014/11/25 15:38:33 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit-plugins/gedit-plugins-3.12.1-r1.ebuild,v 1.3 2014/12/01 11:40:51 mgorny Exp $ EAPI="5" GCONF_DEBUG="no" GNOME2_LA_PUNT="yes" # plugins are dlopened -PYTHON_COMPAT=( python3_{2,3,4} ) +PYTHON_COMPAT=( python3_{3,4} ) PYTHON_REQ_USE="xml" inherit eutils gnome2 multilib python-r1 @@ -19,11 +19,12 @@ IUSE_plugins="charmap git terminal" IUSE="+python ${IUSE_plugins}" +# python-single-r1 would request disabling PYTHON_TARGETS on libpeas REQUIRED_USE=" charmap? ( python ) git? ( python ) + python? ( ^^ ( $(python_gen_useflags '*') ) ) terminal? ( python ) - python? ( ${REQUIRED_PYTHON_USE} ) " RDEPEND=" @@ -54,6 +55,10 @@ virtual/pkgconfig " +pkg_setup() { + use python && [[ ${MERGE_TYPE} != binary ]] && python_setup +} + src_configure() { gnome2_src_configure \ $(use_enable python) \ 1.52 app-editors/gedit-plugins/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gedit-plugins/ChangeLog?rev=1.52&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gedit-plugins/ChangeLog?rev=1.52&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gedit-plugins/ChangeLog?r1=1.51&r2=1.52 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/app-editors/gedit-plugins/ChangeLog,v retrieving revision 1.51 retrieving revision 1.52 diff -u -r1.51 -r1.52 --- ChangeLog 25 Nov 2014 15:38:33 -0000 1.51 +++ ChangeLog 1 Dec 2014 11:40:51 -0000 1.52 @@ -1,6 +1,10 @@ # ChangeLog for app-editors/gedit-plugins # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit-plugins/ChangeLog,v 1.51 2014/11/25 15:38:33 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit-plugins/ChangeLog,v 1.52 2014/12/01 11:40:51 mgorny Exp $ + + 01 Dec 2014; Michał Górny <[email protected]> gedit-plugins-3.12.1-r1.ebuild: + Add a proper REQUIRED_USE for libpeas compatibility, use python_setup() to use + the correct implementation. 25 Nov 2014; Pacho Ramos <[email protected]> gedit-plugins-3.12.1-r1.ebuild: Support python 3.4
