From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/tex:main commit in: /
Date: Sun, 11 Feb 2024 10:31:50 +0000 (UTC) [thread overview]
Message-ID: <1703848910.14dac6ea4d9b7dca2fa38dce132b0c288190215d.flow@gentoo> (raw)
commit: 14dac6ea4d9b7dca2fa38dce132b0c288190215d
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 29 11:21:50 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Dec 29 11:21:50 2023 +0000
URL: https://gitweb.gentoo.org/proj/tex.git/commit/?id=14dac6ea
add switch-tex script
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
switch-tex | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
diff --git a/switch-tex b/switch-tex
new file mode 100755
index 0000000..2a89671
--- /dev/null
+++ b/switch-tex
@@ -0,0 +1,56 @@
+#!/usr/bin/env bash
+
+TEXLIVE_2021_PKGS=(
+ =app-text/texlive-2021-r1
+ =app-text/texlive-core-2021-r7
+ =dev-libs/kpathsea-6.3.3_p20210325-r1
+ =dev-libs/ptexenc-1.3.9_p20210325-r1
+ =dev-tex/biber-2.16-r1
+ =dev-tex/biblatex-3.16
+ =dev-tex/bibtexu-3.71_p20210325
+ =dev-tex/latex-beamer-3.68
+)
+
+TEXLIVE_2023_PKGS=(
+ =app-text/texlive-2023
+ =app-text/texlive-core-2023
+ =dev-libs/kpathsea-6.3.5_p20230311
+ =dev-libs/ptexenc-1.4.3_p20230311
+ =dev-tex/biber-2.19
+ =dev-tex/biblatex-3.19
+ =dev-tex/bibtexu-4.00_p20230311
+ =dev-tex/latex-beamer-3.70
+)
+
+EMERGE_OPTS=(
+ --oneshot
+ --verbose
+ --tree
+)
+
+
+if [[ ! -v NO_UPDATE ]]; then
+ EMERGE_OPTS+=(--update)
+fi
+
+TEXLIVE_VERSION="$1"
+shift
+
+case ${TEXLIVE_VERSION} in
+ 21)
+ emerge \
+ ${EMERGE_OPTS[*]} \
+ --usepkg ${USEPKG:-y} \
+ $* \
+ ${TEXLIVE_2021_PKGS[@]}
+ ;;
+ 23)
+ ACCEPT_KEYWORDS="~amd64" \
+ emerge \
+ ${EMERGE_OPTS[*]} \
+ --usepkg ${USEPKG:-n} \
+ --buildpkg ${BUILDPKG:-n} \
+ $* \
+ ${TEXLIVE_2023_PKGS[@]}
+ ;;
+esac
next reply other threads:[~2024-02-11 10:31 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-11 10:31 Florian Schmaus [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-21 17:55 [gentoo-commits] proj/tex:main commit in: / Florian Schmaus
2024-11-20 15:04 Florian Schmaus
2024-03-01 11:00 Florian Schmaus
2024-02-28 13:01 Florian Schmaus
2024-02-11 10:33 Florian Schmaus
2024-02-11 10:31 Florian Schmaus
2024-02-11 10:31 Florian Schmaus
2024-02-11 10:31 Florian Schmaus
2024-02-11 10:31 Florian Schmaus
2024-02-11 10:31 Florian Schmaus
2024-02-11 10:31 Florian Schmaus
2023-11-17 14:28 Florian Schmaus
2023-11-17 14:28 Florian Schmaus
2023-11-17 14:28 Florian Schmaus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1703848910.14dac6ea4d9b7dca2fa38dce132b0c288190215d.flow@gentoo \
--to=flow@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox