vapier 14/03/18 01:05:00 Modified: gdb-9999.ebuild gdb-7.7-r1.ebuild ChangeLog Log: Fix by Jonathan Callen for USE=-python handling #504830. (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Revision Changes Path 1.26 sys-devel/gdb/gdb-9999.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gdb/gdb-9999.ebuild?rev=1.26&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gdb/gdb-9999.ebuild?rev=1.26&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gdb/gdb-9999.ebuild?r1=1.25&r2=1.26 Index: gdb-9999.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-9999.ebuild,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- gdb-9999.ebuild 14 Mar 2014 05:52:45 -0000 1.25 +++ gdb-9999.ebuild 18 Mar 2014 01:04:59 -0000 1.26 @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-9999.ebuild,v 1.25 2014/03/14 05:52:45 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-9999.ebuild,v 1.26 2014/03/18 01:04:59 vapier Exp $ EAPI="4" PYTHON_COMPAT=( python{2_7,3_3} ) @@ -54,6 +54,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" fi IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" RDEPEND="!dev-util/gdbserver >=sys-libs/ncurses-5.2-r2 @@ -70,6 +71,10 @@ S=${WORKDIR}/${PN}-${MY_PV} +pkg_setup() { + use python && python-single-r1_pkg_setup +} + src_prepare() { [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch 1.2 sys-devel/gdb/gdb-7.7-r1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gdb/gdb-7.7-r1.ebuild?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gdb/gdb-7.7-r1.ebuild?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gdb/gdb-7.7-r1.ebuild?r1=1.1&r2=1.2 Index: gdb-7.7-r1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-7.7-r1.ebuild,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- gdb-7.7-r1.ebuild 14 Mar 2014 06:11:30 -0000 1.1 +++ gdb-7.7-r1.ebuild 18 Mar 2014 01:04:59 -0000 1.2 @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-7.7-r1.ebuild,v 1.1 2014/03/14 06:11:30 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-7.7-r1.ebuild,v 1.2 2014/03/18 01:04:59 vapier Exp $ EAPI="4" PYTHON_COMPAT=( python{2_7,3_3} ) @@ -54,6 +54,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" fi IUSE="+client expat lzma multitarget nls +python +server test vanilla zlib" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" RDEPEND="!dev-util/gdbserver >=sys-libs/ncurses-5.2-r2 @@ -70,6 +71,10 @@ S=${WORKDIR}/${PN}-${MY_PV} +pkg_setup() { + use python && python-single-r1_pkg_setup +} + src_prepare() { [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch 1.266 sys-devel/gdb/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gdb/ChangeLog?rev=1.266&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gdb/ChangeLog?rev=1.266&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gdb/ChangeLog?r1=1.265&r2=1.266 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v retrieving revision 1.265 retrieving revision 1.266 diff -u -r1.265 -r1.266 --- ChangeLog 14 Mar 2014 06:11:30 -0000 1.265 +++ ChangeLog 18 Mar 2014 01:04:59 -0000 1.266 @@ -1,6 +1,10 @@ # ChangeLog for sys-devel/gdb # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.265 2014/03/14 06:11:30 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.266 2014/03/18 01:04:59 vapier Exp $ + + 18 Mar 2014; Mike Frysinger <[email protected]> gdb-7.7-r1.ebuild, + gdb-9999.ebuild: + Fix by Jonathan Callen for USE=-python handling #504830. *gdb-7.7-r1 (14 Mar 2014)
