commit:     7e291aacd96adbbd096fe2d6950d57f3005481c6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 24 03:09:36 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jun 24 03:09:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e291aac

app-dicts/verbiste: add missing test dep(s)

Closes: https://bugs.gentoo.org/820329
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-dicts/verbiste/verbiste-0.1.48.ebuild | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/app-dicts/verbiste/verbiste-0.1.48.ebuild 
b/app-dicts/verbiste/verbiste-0.1.48.ebuild
index b5a0b66f3fe5..b1f25b041f94 100644
--- a/app-dicts/verbiste/verbiste-0.1.48.ebuild
+++ b/app-dicts/verbiste/verbiste-0.1.48.ebuild
@@ -12,7 +12,8 @@ SRC_URI="http://sarrazip.com/dev/${P}.tar.gz";
 LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~riscv ~x86"
-IUSE="gtk"
+IUSE="gtk test"
+RESTRICT="!test? ( test )"
 
 RDEPEND="
        >=dev-libs/libxml2-2.4.0:2
@@ -22,6 +23,10 @@ DEPEND="${RDEPEND}"
 BDEPEND="
        sys-devel/gettext
        virtual/pkgconfig
+       test? (
+               dev-lang/perl
+               dev-perl/XML-Parser
+       )
 "
 
 src_configure() {
@@ -34,6 +39,10 @@ src_configure() {
        econf "${myeconfargs[@]}"
 }
 
+src_test() {
+       emake VERBOSE=1 check
+}
+
 src_install() {
        default
 

Reply via email to