mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
app-misc/qman: make tests conditional on USE=test
Bug: https://bugs.gentoo.org/953507 Signed-off-by: Mazunki Hoksaas <rolferen@gmail.com>
This commit is contained in:
@@ -13,7 +13,8 @@ EGIT_BRANCH="devel"
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="+doc"
|
||||
IUSE="+doc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
sys-libs/ncurses:=
|
||||
@@ -22,13 +23,16 @@ DEPEND="
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/cogapp
|
||||
dev-util/cunit
|
||||
test? (
|
||||
dev-util/cunit
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_feature doc docs)
|
||||
$(meson_feature test tests)
|
||||
-Ddocdir="/usr/share/doc/${PF}"
|
||||
)
|
||||
meson_src_configure
|
||||
|
||||
Reference in New Issue
Block a user