commit: 9160c1e4193503d627ea5619043e41c792a20484 Author: Mazunki Hoksaas <rolferen <AT> gmail <DOT> com> AuthorDate: Sat Apr 12 16:46:53 2025 +0000 Commit: David Roman <davidroman96 <AT> gmail <DOT> com> CommitDate: Sat Apr 12 16:46:53 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9160c1e4
app-misc/qman: make tests conditional on USE=test Bug: https://bugs.gentoo.org/953507 Signed-off-by: Mazunki Hoksaas <rolferen <AT> gmail.com> app-misc/qman/{qman-1.4.1.ebuild => qman-1.4.1-r1.ebuild} | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app-misc/qman/qman-1.4.1.ebuild b/app-misc/qman/qman-1.4.1-r1.ebuild similarity index 85% rename from app-misc/qman/qman-1.4.1.ebuild rename to app-misc/qman/qman-1.4.1-r1.ebuild index b167f08cb..055ebe763 100644 --- a/app-misc/qman/qman-1.4.1.ebuild +++ b/app-misc/qman/qman-1.4.1-r1.ebuild @@ -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
