dev-util/meson: add test dependencies
authorMike Gilbert <floppym@gentoo.org>
Fri, 14 Dec 2018 05:39:14 +0000 (00:39 -0500)
committerMike Gilbert <floppym@gentoo.org>
Fri, 14 Dec 2018 05:39:14 +0000 (00:39 -0500)
Package-Manager: Portage-2.3.52_p8, Repoman-2.3.12_p20
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
dev-util/meson/meson-0.48.2.ebuild
dev-util/meson/meson-0.49.0.ebuild
dev-util/meson/meson-9999.ebuild

index 1b7da1e7a7727a842fae388545255482e48d820d..70b182a1276c461f371aeb5c93d8ad310ef518fe 100644 (file)
@@ -19,10 +19,18 @@ HOMEPAGE="http://mesonbuild.com/"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-IUSE=""
+IUSE="test"
+RESTIRCT="!test? ( test )"
 
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="${DEPEND}"
+RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+       test? (
+               dev-libs/glib:2
+               dev-libs/gobject-introspection
+               dev-vcs/git
+               virtual/pkgconfig
+       )
+"
 
 python_prepare_all() {
        # ASAN and sandbox both want control over LD_PRELOAD
index 5e725b324a15490495491c19df796a4f28f4f80e..31840fa73f4fab6a59c962dedb8dba458076f426 100644 (file)
@@ -19,10 +19,18 @@ HOMEPAGE="http://mesonbuild.com/"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-IUSE=""
+IUSE="test"
+RESTIRCT="!test? ( test )"
 
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="${DEPEND}"
+RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+       test? (
+               dev-libs/glib:2
+               dev-libs/gobject-introspection
+               dev-vcs/git
+               virtual/pkgconfig
+       )
+"
 
 python_prepare_all() {
        # ASAN and sandbox both want control over LD_PRELOAD
index 5e725b324a15490495491c19df796a4f28f4f80e..31840fa73f4fab6a59c962dedb8dba458076f426 100644 (file)
@@ -19,10 +19,18 @@ HOMEPAGE="http://mesonbuild.com/"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-IUSE=""
+IUSE="test"
+RESTIRCT="!test? ( test )"
 
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="${DEPEND}"
+RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+       test? (
+               dev-libs/glib:2
+               dev-libs/gobject-introspection
+               dev-vcs/git
+               virtual/pkgconfig
+       )
+"
 
 python_prepare_all() {
        # ASAN and sandbox both want control over LD_PRELOAD