From 228ecb62ded8e6ece3735ef59c7b479cf961d5f0 Mon Sep 17 00:00:00 2001 From: Dominik Kapusta Date: Mon, 13 Sep 2010 15:32:53 +0000 Subject: Support for FEATURES="test" (bug #336244). (Portage version: 2.2_rc81/cvs/Linux x86_64) --- dev-python/apiextractor/ChangeLog | 8 ++++- .../apiextractor/apiextractor-0.7.0-r1.ebuild | 41 ++++++++++++++++++++++ dev-python/apiextractor/apiextractor-0.7.0.ebuild | 35 ------------------ 3 files changed, 48 insertions(+), 36 deletions(-) create mode 100644 dev-python/apiextractor/apiextractor-0.7.0-r1.ebuild delete mode 100644 dev-python/apiextractor/apiextractor-0.7.0.ebuild (limited to 'dev-python/apiextractor') diff --git a/dev-python/apiextractor/ChangeLog b/dev-python/apiextractor/ChangeLog index bf5dc52e425b..b6d450f3cd18 100644 --- a/dev-python/apiextractor/ChangeLog +++ b/dev-python/apiextractor/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/apiextractor # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/apiextractor/ChangeLog,v 1.6 2010/08/24 19:44:31 ayoy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/apiextractor/ChangeLog,v 1.7 2010/09/13 15:32:53 ayoy Exp $ + +*apiextractor-0.7.0-r1 (13 Sep 2010) + + 13 Sep 2010; Dominik Kapusta -apiextractor-0.7.0.ebuild, + +apiextractor-0.7.0-r1.ebuild: + Support for FEATURES="test" (bug #336244). *apiextractor-0.7.0 (24 Aug 2010) diff --git a/dev-python/apiextractor/apiextractor-0.7.0-r1.ebuild b/dev-python/apiextractor/apiextractor-0.7.0-r1.ebuild new file mode 100644 index 000000000000..bdcfb5ec98b3 --- /dev/null +++ b/dev-python/apiextractor/apiextractor-0.7.0-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/apiextractor/apiextractor-0.7.0-r1.ebuild,v 1.1 2010/09/13 15:32:53 ayoy Exp $ + +EAPI="2" + +inherit cmake-utils virtualx + +DESCRIPTION="Library used to create an internal representation of an API in order to create Python bindings" +HOMEPAGE="http://www.pyside.org/" +SRC_URI="http://www.pyside.org/files/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug test" + +RDEPEND=">=dev-libs/boost-1.41.0[python] + dev-libs/libxml2 + dev-libs/libxslt + >=x11-libs/qt-core-4.5.0 + >=x11-libs/qt-xmlpatterns-4.5.0" + +DEPEND="${RDEPEND} + dev-util/pkgconfig + test? ( >=x11-libs/qt-test-4.5.0 )" + +src_configure() { + mycmakeargs="$(cmake-utils_use_build test TESTS)" + cmake-utils_src_configure +} + +src_test() { + # bug 299766 + Xemake test -C "${CMAKE_BUILD_DIR}/tests" || die "running tests failed" +} + +src_install() { + cmake-utils_src_install + dodoc AUTHORS ChangeLog || die "dodoc failed" +} diff --git a/dev-python/apiextractor/apiextractor-0.7.0.ebuild b/dev-python/apiextractor/apiextractor-0.7.0.ebuild deleted file mode 100644 index 090a7cd4ab08..000000000000 --- a/dev-python/apiextractor/apiextractor-0.7.0.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/apiextractor/apiextractor-0.7.0.ebuild,v 1.1 2010/08/24 19:44:31 ayoy Exp $ - -EAPI="2" - -inherit cmake-utils virtualx - -DESCRIPTION="Library used to create an internal representation of an API in order to create Python bindings" -HOMEPAGE="http://www.pyside.org/" -SRC_URI="http://www.pyside.org/files/${P}.tar.bz2" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug" - -RDEPEND=">=dev-libs/boost-1.41.0[python] - dev-libs/libxml2 - dev-libs/libxslt - >=x11-libs/qt-core-4.5.0 - >=x11-libs/qt-xmlpatterns-4.5.0" - -DEPEND="${RDEPEND} - dev-util/pkgconfig" - -src_test() { - # bug 299766 - Xemake test -C "${CMAKE_BUILD_DIR}/tests" || die "running tests failed" -} - -src_install() { - cmake-utils_src_install - dodoc AUTHORS ChangeLog || die "dodoc failed" -} -- cgit v1.2.3-65-gdbad