mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45: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:
@@ -12,7 +12,8 @@ SRC_URI="https://github.com/plp13/qman/archive/refs/tags/v${PV}.tar.gz -> ${P}.t
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+doc"
|
||||
IUSE="+doc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
sys-libs/ncurses:=
|
||||
@@ -21,13 +22,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