Update the texlive eclasses for the upcoming TeX Live 2023 bump. This
includes general cleanup of the eclasses, e.g., reducing the scope of variables.
Notably changes include that installation of the TeX Live distribution
changes from /usr/share/texmf to /usr/share/texmf-dist, which is the
correct place, according to upstream.
Co-authored-by: Paul Zander <
negril.nx+gentoo@gmail.com>
Signed-off-by: Paul Zander <
negril.nx+gentoo@gmail.com>
Signed-off-by: Florian Schmaus <
flow@gentoo.org>
---
eclass/texlive-common.eclass | 113 +++++++++++++++++++++++++----------
eclass/texlive-module.eclass | 77 ++++++++----------------
2 files changed, 108 insertions(+), 82 deletions(-)
diff --git a/eclass/texlive-common.eclass b/eclass/texlive-common.eclass
index f43d10926857..5de58300f2f3 100644
--- a/eclass/texlive-common.eclass
+++ b/eclass/texlive-common.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: texlive-common.eclass
@@ -6,7 +6,7 @@
#
tex@gentoo.org
# @AUTHOR:
# Original Author: Alexis Ballier <
aballier@gentoo.org>
-# @SUPPORTED_EAPIS: 7
+# @SUPPORTED_EAPIS: 7 8
# @BLURB: Provide various functions used by both texlive-core and texlive modules
# @DESCRIPTION:
# Purpose: Provide various functions used by both texlive-core and texlive
@@ -15,53 +15,66 @@
# Note that this eclass *must* not assume the presence of any standard tex too