commit: 05d9e59a30cdfc56705cb12d0472cc71bc82cf62 Author: Florian Schmaus <flow <AT> gentoo <DOT> org> AuthorDate: Wed Jan 31 15:10:31 2024 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Wed Jan 31 15:10:31 2024 +0000 URL: https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=05d9e59a
texlive-module.eclass: do not require TL_PV for dev-texlive/* packages Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> eclass/texlive-module.eclass | 6 ++++++ 1 file changed, 6 insertions(+) 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 /