diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2009-02-04 12:10:36 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2009-02-04 12:10:36 +0000 |
commit | b5c8827e24043757a04e13ea6d4f122776da9134 (patch) | |
tree | 49bc0ab19b29367a443ade217762bf63aa90ccb3 /dev-python/pyxf86config | |
parent | Add ~mips keywords to qt-4.4.2 (diff) | |
download | gentoo-2-b5c8827e24043757a04e13ea6d4f122776da9134.tar.gz gentoo-2-b5c8827e24043757a04e13ea6d4f122776da9134.tar.bz2 gentoo-2-b5c8827e24043757a04e13ea6d4f122776da9134.zip |
Use EAPI 2 use deps instead of built_with_use for bug #223357.
(Portage version: 2.2_rc20/cvs/Linux 2.6.28-gentoo i686)
Diffstat (limited to 'dev-python/pyxf86config')
-rw-r--r-- | dev-python/pyxf86config/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/pyxf86config/pyxf86config-0.3.34-r2.ebuild | 18 |
2 files changed, 10 insertions, 14 deletions
diff --git a/dev-python/pyxf86config/ChangeLog b/dev-python/pyxf86config/ChangeLog index d8de3653b4bb..1d3ab8e5cb04 100644 --- a/dev-python/pyxf86config/ChangeLog +++ b/dev-python/pyxf86config/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/pyxf86config # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyxf86config/ChangeLog,v 1.27 2009/01/31 07:43:56 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyxf86config/ChangeLog,v 1.28 2009/02/04 12:10:36 betelgeuse Exp $ + + 04 Feb 2009; Petteri Räty <betelgeuse@gentoo.org> + pyxf86config-0.3.34-r2.ebuild: + Use EAPI 2 use deps instead of built_with_use for bug #223357. 31 Jan 2009; Donnie Berkholz <dberkholz@gentoo.org>; metadata.xml: Give up maintainership; reassign to maintainer-needed. diff --git a/dev-python/pyxf86config/pyxf86config-0.3.34-r2.ebuild b/dev-python/pyxf86config/pyxf86config-0.3.34-r2.ebuild index 676ea2e85faf..76e25fc19968 100644 --- a/dev-python/pyxf86config/pyxf86config-0.3.34-r2.ebuild +++ b/dev-python/pyxf86config/pyxf86config-0.3.34-r2.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyxf86config/pyxf86config-0.3.34-r2.ebuild,v 1.4 2009/01/21 22:05:01 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyxf86config/pyxf86config-0.3.34-r2.ebuild,v 1.5 2009/02/04 12:10:36 betelgeuse Exp $ + +EAPI=2 inherit eutils python rpm autotools @@ -23,16 +25,7 @@ IUSE="" RDEPEND="=dev-libs/glib-2* dev-lang/python" DEPEND="${RDEPEND} - >=x11-base/xorg-server-1.1.1-r1" - -pkg_setup() { - if built_with_use x11-base/xorg-server minimal; then - eerror "To build ${PN} you need the libxf86config static library from" - eerror "x11-base/xorg-server, which is not built when the minimal USE flag is used." - eerror "Please disable the minimal USE flag for x11-base/xorg-server" - die "Missing libxf86config.a" - fi -} + >=x11-base/xorg-server-1.1.1-r1[-minimal]" src_unpack() { rpm_src_unpack @@ -53,10 +46,9 @@ src_unpack() { eautoreconf } -src_compile() { +src_configure() { python_version econf --with-python-version=${PYVER} || die "econf failed" - emake || die "emake failed" } src_install() { |