summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatoro Mahri <matoro@users.noreply.github.com>2022-10-02 17:02:37 -0400
committerSam James <sam@gentoo.org>2022-10-08 18:09:17 +0100
commitbe34f9ce59e23239b06ece467c14e4bfe46f73a0 (patch)
tree2c52ba613f4525a4bfa21c746425daf5925d4e31 /app-text/dblatex
parentnet-libs/libpcap: add test (diff)
downloadgentoo-be34f9ce59e23239b06ece467c14e4bfe46f73a0.tar.gz
gentoo-be34f9ce59e23239b06ece467c14e4bfe46f73a0.tar.bz2
gentoo-be34f9ce59e23239b06ece467c14e4bfe46f73a0.zip
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@users.noreply.github.com> Closes: https://github.com/gentoo/gentoo/pull/27584 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-text/dblatex')
-rw-r--r--app-text/dblatex/dblatex-0.3.12.ebuild5
1 files changed, 4 insertions, 1 deletions
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}"