summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2024-01-31 16:10:31 +0100
committerFlorian Schmaus <flow@gentoo.org>2024-01-31 16:10:31 +0100
commit05d9e59a30cdfc56705cb12d0472cc71bc82cf62 (patch)
tree8d9bafe83190fbce74fb53e9ff5849aaf7aaf05a
parentdev-texlive/texlive-luatex: hprefixify luaotfload-database.lua like the 2021 ... (diff)
downloadtex-overlay-05d9e59a30cdfc56705cb12d0472cc71bc82cf62.tar.gz
tex-overlay-05d9e59a30cdfc56705cb12d0472cc71bc82cf62.tar.bz2
tex-overlay-05d9e59a30cdfc56705cb12d0472cc71bc82cf62.zip
texlive-module.eclass: do not require TL_PV for dev-texlive/* packages
Signed-off-by: Florian Schmaus <flow@gentoo.org>
-rw-r--r--eclass/texlive-module.eclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass
index afcd453..d1bf0f8 100644
--- a/eclass/texlive-module.eclass
+++ b/eclass/texlive-module.eclass
@@ -85,6 +85,12 @@ HOMEPAGE="https://www.tug.org/texlive/"
IUSE="doc source"
+if [[ -z ${TL_PV} ]] \
+ && [[ ${EAPI} -ge 8 ]] \
+ && [[ ${CATEGORY} == dev-texlive ]]; then
+ TL_PV=$(ver_cut 1)
+fi
+
RDEPEND=">=app-text/texlive-core-${TL_PV:-${PV}}"
# We do not need anything from SYSROOT:
# Everything is built from the texlive install in /