From e323e4355f363cc32265c63c8358d84531b67784 Mon Sep 17 00:00:00 2001
From: Florian Schmaus <flow@gentoo.org>
Date: Tue, 10 Dec 2024 15:57:44 +0100
Subject: dev-tex/minted: depend on minted when building with USE=doc

Signed-off-by: Florian Schmaus <flow@gentoo.org>
---
 dev-tex/minted/minted-3.4.0.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

(limited to 'dev-tex')

diff --git a/dev-tex/minted/minted-3.4.0.ebuild b/dev-tex/minted/minted-3.4.0.ebuild
index 791efc6c8be5..1acb9a3c9542 100644
--- a/dev-tex/minted/minted-3.4.0.ebuild
+++ b/dev-tex/minted/minted-3.4.0.ebuild
@@ -31,7 +31,12 @@ RDEPEND="
 	>=dev-tex/latex2pydata-0.4.0
 	dev-texlive/texlive-latexextra
 "
-BDEPEND="doc? ( dev-texlive/texlive-fontsextra )"
+BDEPEND="
+	doc? (
+		>=dev-tex/minted-${PV}
+		dev-texlive/texlive-fontsextra
+	)
+"
 
 PATCHES=(
 	"${DISTDIR}"/${PN}-3.4.0-explicitly-set-build-backend.patch
-- 
cgit v1.2.3-65-gdbad