commit:     be34f9ce59e23239b06ece467c14e4bfe46f73a0
Author:     Matoro Mahri <matoro <AT> users <DOT> noreply <DOT> github <DOT> 
com>
AuthorDate: Sun Oct  2 21:02:37 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct  8 17:09:17 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be34f9ce

app-text/dblatex: add self as dep for tests

Missed this in https://github.com/gentoo/gentoo/pull/27224.

Bug: https://bugs.gentoo.org/766186
Signed-off-by: Matoro Mahri <matoro <AT> users.noreply.github.com>
Closes: https://github.com/gentoo/gentoo/pull/27584
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/dblatex/dblatex-0.3.12.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-text/dblatex/dblatex-0.3.12.ebuild 
b/app-text/dblatex/dblatex-0.3.12.ebuild
index 067205a95c9c..7f94fbc6a996 100644
--- a/app-text/dblatex/dblatex-0.3.12.ebuild
+++ b/app-text/dblatex/dblatex-0.3.12.ebuild
@@ -14,7 +14,8 @@ 
SRC_URI="https://downloads.sourceforge.net/project/dblatex/dblatex/${P}/${PN}3-$
 LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="inkscape"
+IUSE="inkscape test"
+RESTRICT="!test? ( test )"
 
 RDEPEND="
        app-text/docbook-xml-dtd:4.5
@@ -34,6 +35,8 @@ RDEPEND="
        inkscape? ( media-gfx/inkscape )
 "
 DEPEND="${RDEPEND}"
+BDEPEND="${RDEPEND}
+       test? ( ~${CATEGORY}/${P} )"
 
 S="${WORKDIR}/${PN}3-${PV}"
 

Reply via email to