Skip to content

Commit

Permalink
dev-util/meson: add basic python_test function and RESTRICT=test
Browse files Browse the repository at this point in the history
The tests do not pass at the moment.

Package-Manager: Portage-2.3.5_p19, Repoman-2.3.2_p49
  • Loading branch information
floppym committed Apr 8, 2017
1 parent e586bf7 commit 6c1d8ef
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dev-util/meson/meson-0.39.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,15 @@ HOMEPAGE="http://mesonbuild.com/"
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
RESTRICT="test"

DEPEND="${PYTHON_DEPS}
>=dev-util/ninja-1.6.0
"
RDEPEND="${DEPEND}"

DOCS=( authors.txt contributing.txt )

python_test() {
${EPYTHON} run_tests.py || die
}
5 changes: 5 additions & 0 deletions dev-util/meson/meson-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,15 @@ HOMEPAGE="http://mesonbuild.com/"
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
RESTRICT="test"

DEPEND="${PYTHON_DEPS}
>=dev-util/ninja-1.6.0
"
RDEPEND="${DEPEND}"

DOCS=( authors.txt contributing.txt )

python_test() {
${EPYTHON} run_tests.py || die
}

0 comments on commit 6c1d8ef

Please sign in to comment.