diff options
author | David Seifert <soap@gentoo.org> | 2023-03-17 23:04:31 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2023-03-17 23:04:31 +0100 |
commit | 2cba2db27919bc449ed2a7bf7ed3259c6b96e65f (patch) | |
tree | c89a0929ca3e7cc95c737085614214e89450c999 /eclass/texlive-common.eclass | |
parent | xdg.eclass: remove EAPI 5 (diff) | |
download | gentoo-2cba2db27919bc449ed2a7bf7ed3259c6b96e65f.tar.gz gentoo-2cba2db27919bc449ed2a7bf7ed3259c6b96e65f.tar.bz2 gentoo-2cba2db27919bc449ed2a7bf7ed3259c6b96e65f.zip |
eclass: standardize prologue/epilogue
Closes: https://github.com/gentoo/gentoo/pull/30061
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass/texlive-common.eclass')
-rw-r--r-- | eclass/texlive-common.eclass | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/eclass/texlive-common.eclass b/eclass/texlive-common.eclass index 40e2c3530510..f43d10926857 100644 --- a/eclass/texlive-common.eclass +++ b/eclass/texlive-common.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: texlive-common.eclass @@ -14,15 +14,14 @@ # # Note that this eclass *must* not assume the presence of any standard tex too +case ${EAPI} in + 7) inherit eapi8-dosym ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; +esac + if [[ -z ${_TEXLIVE_COMMON_ECLASS} ]]; then _TEXLIVE_COMMON_ECLASS=1 -case ${EAPI:-0} in - [0-6]) die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}" ;; - 7) inherit eapi8-dosym ;; - *) die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" ;; -esac - TEXMF_PATH=/usr/share/texmf TEXMF_DIST_PATH=/usr/share/texmf-dist TEXMF_VAR_PATH=/var/lib/texmf |