mgorny 14/12/01 12:39:48 Modified: gitg-3.14.0.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 dev-vcs/gitg/gitg-3.14.0.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/gitg/gitg-3.14.0.ebuild?rev=1.3&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/gitg/gitg-3.14.0.ebuild?rev=1.3&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/gitg/gitg-3.14.0.ebuild?r1=1.2&r2=1.3 Index: gitg-3.14.0.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-vcs/gitg/gitg-3.14.0.ebuild,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- gitg-3.14.0.ebuild 24 Nov 2014 15:41:03 -0000 1.2 +++ gitg-3.14.0.ebuild 1 Dec 2014 12:39:48 -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/dev-vcs/gitg/gitg-3.14.0.ebuild,v 1.2 2014/11/24 15:41:03 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/gitg/gitg-3.14.0.ebuild,v 1.3 2014/12/01 12:39:48 mgorny Exp $ EAPI=5 VALA_MIN_API_VERSION="0.20" -PYTHON_COMPAT=( python{3_2,3_3,3_4} ) +PYTHON_COMPAT=( python{3_3,3_4} ) inherit autotools gnome2 python-r1 vala @@ -17,7 +17,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" IUSE="debug glade +python" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" +REQUIRED_USE="python? ( ^^ ( $(python_gen_useflags '*') ) )" # test if unbundling of libgd is possible # Currently it seems not to be (unstable API/ABI) @@ -52,6 +52,10 @@ DOCS="AUTHORS ChangeLog NEWS README" +pkg_setup() { + use python && [[ ${MERGE_TYPE} != binary ]] && python_setup +} + src_prepare() { sed \ -e '/CFLAGS/s:-g::g' \ 1.32 dev-vcs/gitg/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/gitg/ChangeLog?rev=1.32&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/gitg/ChangeLog?rev=1.32&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/gitg/ChangeLog?r1=1.31&r2=1.32 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-vcs/gitg/ChangeLog,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- ChangeLog 24 Nov 2014 15:41:03 -0000 1.31 +++ ChangeLog 1 Dec 2014 12:39:48 -0000 1.32 @@ -1,6 +1,10 @@ # ChangeLog for dev-vcs/gitg # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-vcs/gitg/ChangeLog,v 1.31 2014/11/24 15:41:03 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/gitg/ChangeLog,v 1.32 2014/12/01 12:39:48 mgorny Exp $ + + 01 Dec 2014; Michał Górny <[email protected]> gitg-3.14.0.ebuild: + Add a proper REQUIRED_USE for libpeas compatibility, use python_setup() to use + the correct implementation. 24 Nov 2014; Alexandre Rostovtsev <[email protected]> gitg-3.14.0.ebuild: Add python-3.4 support.
