commit: 5c53b0d8705844b07285212aba2de0be029c8064
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 29 17:46:10 2024 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Feb 29 17:46:10 2024 +0000
URL: https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=5c53b0d8
eclass: incorporate ML feedback
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
eclass/texlive-common.eclass | 4 ++--
eclass/texlive-module.eclass | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/eclass/texlive-common.eclass b/eclass/texlive-common.eclass
index 85cdb8f..852f762 100644
--- a/eclass/texlive-common.eclass
+++ b/eclass/texlive-common.eclass
@@ -199,8 +199,8 @@ efmtutil-sys() {
if has_version 'app-text/texlive-core' ; then
if [[ -z ${ROOT} && -x "${EPREFIX}"/usr/bin/fmtutil-sys ]] ;
then
einfo "Rebuilding formats"
- "${EPREFIX}"/usr/bin/fmtutil-sys --all &> /dev/null \
- || die -n "fmtutil-sys returned non-zero exit
status ${res}"
+ "${EPREFIX}"/usr/bin/fmtutil-sys --all &> /dev/null ||
+ die -n "fmtutil-sys returned non-zero exit
status ${res}"
else
ewarn "Cannot run fmtutil-sys for some reason."
ewarn "Your formats might be inconsistent with your
installed ${PN} version"
diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass
index d1bf0f8..9fc4e61 100644
--- a/eclass/texlive-module.eclass
+++ b/eclass/texlive-module.eclass
@@ -86,7 +86,7 @@ HOMEPAGE="https://www.tug.org/texlive/"
IUSE="doc source"
if [[ -z ${TL_PV} ]] \
- && [[ ${EAPI} -ge 8 ]] \
+ && [[ ${EAPI} != 7 ]] \
&& [[ ${CATEGORY} == dev-texlive ]]; then
TL_PV=$(ver_cut 1)
fi