From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1444711-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 97B4E158095
	for <garchives@archives.gentoo.org>; Sat,  8 Oct 2022 17:09:50 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 70985E08A8;
	Sat,  8 Oct 2022 17:09:49 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 55F97E08A8
	for <gentoo-commits@lists.gentoo.org>; Sat,  8 Oct 2022 17:09:49 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 73286341081
	for <gentoo-commits@lists.gentoo.org>; Sat,  8 Oct 2022 17:09:48 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id EAC3F606
	for <gentoo-commits@lists.gentoo.org>; Sat,  8 Oct 2022 17:09:46 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1665248957.be34f9ce59e23239b06ece467c14e4bfe46f73a0.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/dblatex/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-text/dblatex/dblatex-0.3.12.ebuild
X-VCS-Directories: app-text/dblatex/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: be34f9ce59e23239b06ece467c14e4bfe46f73a0
X-VCS-Branch: master
Date: Sat,  8 Oct 2022 17:09:46 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 19a87ea1-2c8d-4421-a3ff-2c5a45b8ad71
X-Archives-Hash: 546c0ad5e84678d8a9c0b3452260abf9

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}"