diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2020-04-19 15:48:23 +0300 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2020-04-19 17:33:17 +0300 |
commit | 481095b91e390a5d1427db29ca6598c5fec24233 (patch) | |
tree | 7fd049b32d7c84ff9d303f23360a0f441ba2acc2 /eclass | |
parent | dev-python/notify2: Add python 3.8 support. (diff) | |
download | gentoo-481095b91e390a5d1427db29ca6598c5fec24233.tar.gz gentoo-481095b91e390a5d1427db29ca6598c5fec24233.tar.bz2 gentoo-481095b91e390a5d1427db29ca6598c5fec24233.zip |
texlive-module.eclass: Make SRC_URI more configurable
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/texlive-module.eclass | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass index 69bea9a5147c..0ebf3565c0b3 100644 --- a/eclass/texlive-module.eclass +++ b/eclass/texlive-module.eclass @@ -86,6 +86,9 @@ IUSE="source" # Starting from TeX Live 2009, upstream provides .tar.xz modules. PKGEXT=tar.xz +# Now where should we get these files? +TEXLIVE_DEVS=${TEXLIVE_DEVS:- zlogene dilfridge } + # We do not need anything from SYSROOT: # Everything is built from the texlive install in / # Generated files are noarch @@ -93,13 +96,17 @@ BDEPEND="${COMMON_DEPEND} app-arch/xz-utils" for i in ${TEXLIVE_MODULE_CONTENTS}; do - SRC_URI="${SRC_URI} https://dev.gentoo.org/~zlogene/distfiles/texlive/texlive-module-${i}-${PV}.${PKGEXT}" + for tldev in ${TEXLIVE_DEVS}; do + SRC_URI="${SRC_URI} https://dev.gentoo.org/~${tldev}/distfiles/texlive/texlive-module-${i}-${PV}.${PKGEXT}" + done done # Forge doc SRC_URI [[ -n ${TEXLIVE_MODULE_DOC_CONTENTS} ]] && SRC_URI="${SRC_URI} doc? (" for i in ${TEXLIVE_MODULE_DOC_CONTENTS}; do - SRC_URI="${SRC_URI} https://dev.gentoo.org/~zlogene/distfiles/texlive/texlive-module-${i}-${PV}.${PKGEXT}" + for tldev in ${TEXLIVE_DEVS}; do + SRC_URI="${SRC_URI} https://dev.gentoo.org/~${tldev}/distfiles/texlive/texlive-module-${i}-${PV}.${PKGEXT}" + done done [[ -n ${TEXLIVE_MODULE_DOC_CONTENTS} ]] && SRC_URI="${SRC_URI} )" @@ -107,7 +114,9 @@ done if [[ -n ${TEXLIVE_MODULE_SRC_CONTENTS} ]] ; then SRC_URI="${SRC_URI} source? (" for i in ${TEXLIVE_MODULE_SRC_CONTENTS}; do - SRC_URI="${SRC_URI} https://dev.gentoo.org/~zlogene/distfiles/texlive/texlive-module-${i}-${PV}.${PKGEXT}" + for tldev in ${TEXLIVE_DEVS}; do + SRC_URI="${SRC_URI} https://dev.gentoo.org/~${tldev}/distfiles/texlive/texlive-module-${i}-${PV}.${PKGEXT}" + done done SRC_URI="${SRC_URI} )" fi |