From 6c1d8ef2e327b3b694124e52b8c2677bc1734cac Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Sat, 8 Apr 2017 18:17:48 -0400 Subject: [PATCH] dev-util/meson: add basic python_test function and RESTRICT=test The tests do not pass at the moment. Package-Manager: Portage-2.3.5_p19, Repoman-2.3.2_p49 --- dev-util/meson/meson-0.39.1.ebuild | 5 +++++ dev-util/meson/meson-9999.ebuild | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/dev-util/meson/meson-0.39.1.ebuild b/dev-util/meson/meson-0.39.1.ebuild index 4a98372fa7dd..d2899b6e689e 100644 --- a/dev-util/meson/meson-0.39.1.ebuild +++ b/dev-util/meson/meson-0.39.1.ebuild @@ -20,6 +20,7 @@ HOMEPAGE="http://mesonbuild.com/" LICENSE="Apache-2.0" SLOT="0" IUSE="" +RESTRICT="test" DEPEND="${PYTHON_DEPS} >=dev-util/ninja-1.6.0 @@ -27,3 +28,7 @@ DEPEND="${PYTHON_DEPS} RDEPEND="${DEPEND}" DOCS=( authors.txt contributing.txt ) + +python_test() { + ${EPYTHON} run_tests.py || die +} diff --git a/dev-util/meson/meson-9999.ebuild b/dev-util/meson/meson-9999.ebuild index 898271b1e2ca..e9199b926401 100644 --- a/dev-util/meson/meson-9999.ebuild +++ b/dev-util/meson/meson-9999.ebuild @@ -20,6 +20,7 @@ HOMEPAGE="http://mesonbuild.com/" LICENSE="Apache-2.0" SLOT="0" IUSE="" +RESTRICT="test" DEPEND="${PYTHON_DEPS} >=dev-util/ninja-1.6.0 @@ -27,3 +28,7 @@ DEPEND="${PYTHON_DEPS} RDEPEND="${DEPEND}" DOCS=( authors.txt contributing.txt ) + +python_test() { + ${EPYTHON} run_tests.py || die +} -- 2.26.2