From: Matt Turner Date: Mon, 9 Mar 2020 01:41:45 +0000 (-0700) Subject: dev-libs/libinput: Unrestrict tests X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7cd132b7f4b0b6fd53cea357458f0afd6d2ce306;p=gentoo.git dev-libs/libinput: Unrestrict tests Signed-off-by: Matt Turner --- diff --git a/dev-libs/libinput/libinput-1.15.3.ebuild b/dev-libs/libinput/libinput-1.15.3.ebuild index 313a4e3d067c..43de3f8241a4 100644 --- a/dev-libs/libinput/libinput-1.15.3.ebuild +++ b/dev-libs/libinput/libinput-1.15.3.ebuild @@ -14,10 +14,8 @@ LICENSE="MIT" SLOT="0/10" [[ "$(ver_cut 3)" -gt 900 ]] || \ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" -IUSE="doc input_devices_wacom" -# Tests require write access to udev rules directory which is a no-no for live system. -# Other tests are just about logs, exported symbols and autotest of the test library. -RESTRICT="test" +IUSE="doc input_devices_wacom test" +RESTRICT="!test? ( test )" BDEPEND=" virtual/pkgconfig @@ -40,8 +38,8 @@ RDEPEND=" virtual/libudev:= virtual/udev " -DEPEND="${RDEPEND}" -# test? ( >=dev-libs/check-0.9.10 ) +DEPEND="${RDEPEND} + test? ( >=dev-libs/check-0.9.10 )" python_check_deps() { has_version "dev-python/commonmark[${PYTHON_USEDEP}]" && \ @@ -60,7 +58,7 @@ src_configure() { -Ddebug-gui=false $(meson_use doc documentation) $(meson_use input_devices_wacom libwacom) - -Dtests=false # tests are restricted + $(meson_use test tests) -Dudev-dir="${EPREFIX}$(get_udevdir)" ) meson_src_configure