commit:     789a73fdae3a3479882891bafa04190786a22fbe
Author:     Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  2 15:06:09 2017 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Thu Mar  2 17:35:40 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=789a73fd

dev-libs/libcxml: Activate tests, discard bundled waf buildsystem.

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 dev-libs/libcxml/libcxml-0.15.1.ebuild | 15 ++++++++++++++-
 dev-libs/libcxml/libcxml-0.15.4.ebuild | 15 ++++++++++++++-
 2 files changed, 28 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libcxml/libcxml-0.15.1.ebuild 
b/dev-libs/libcxml/libcxml-0.15.1.ebuild
index e026d6e5630..b61caadfceb 100644
--- a/dev-libs/libcxml/libcxml-0.15.1.ebuild
+++ b/dev-libs/libcxml/libcxml-0.15.1.ebuild
@@ -18,6 +18,19 @@ IUSE=""
 
 RDEPEND="dev-cpp/libxmlpp:2.6
        dev-libs/boost"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+       dev-util/waf
+       virtual/pkgconfig"
 
 PATCHES=( "${FILESDIR}"/${PN}-0.15.1-respect-cxxflags.patch )
+
+src_prepare() {
+       rm -v waf || die
+       export WAF_BINARY="${EROOT}usr/bin/waf"
+
+       default
+}
+
+src_test() {
+       ./run-tests.sh || die
+}

diff --git a/dev-libs/libcxml/libcxml-0.15.4.ebuild 
b/dev-libs/libcxml/libcxml-0.15.4.ebuild
index e026d6e5630..b61caadfceb 100644
--- a/dev-libs/libcxml/libcxml-0.15.4.ebuild
+++ b/dev-libs/libcxml/libcxml-0.15.4.ebuild
@@ -18,6 +18,19 @@ IUSE=""
 
 RDEPEND="dev-cpp/libxmlpp:2.6
        dev-libs/boost"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+       dev-util/waf
+       virtual/pkgconfig"
 
 PATCHES=( "${FILESDIR}"/${PN}-0.15.1-respect-cxxflags.patch )
+
+src_prepare() {
+       rm -v waf || die
+       export WAF_BINARY="${EROOT}usr/bin/waf"
+
+       default
+}
+
+src_test() {
+       ./run-tests.sh || die
+}

Reply via email to