diff options
author | Alexis Ballier <aballier@gentoo.org> | 2009-06-21 10:34:44 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2009-06-21 10:34:44 +0000 |
commit | 05518db9d5ca4113791ce8a6f169fe12b64d1580 (patch) | |
tree | d4f3d81ae06ef8363ded006d2ba3c5e68a1bfa34 /eclass | |
parent | Bump to 1.7.0, fixes bug #274848 (diff) | |
download | gentoo-2-05518db9d5ca4113791ce8a6f169fe12b64d1580.tar.gz gentoo-2-05518db9d5ca4113791ce8a6f169fe12b64d1580.tar.bz2 gentoo-2-05518db9d5ca4113791ce8a6f169fe12b64d1580.zip |
drop tl 2007 install support as all ebuilds are gone now
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/texlive-module.eclass | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass index b47928cdb8a5..23afdfd2f732 100644 --- a/eclass/texlive-module.eclass +++ b/eclass/texlive-module.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.21 2009/06/08 10:05:04 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.22 2009/06/21 10:34:44 aballier Exp $ # @ECLASS: texlive-module.eclass # @MAINTAINER: @@ -55,15 +55,6 @@ IUSE="" # TeX Live 2007 was providing .zip files of CTAN packages. For 2008 they are now # .tar.lzma -if [ -z "${PV##2007*}" ] ; then -for i in ${TEXLIVE_MODULE_CONTENTS}; do - SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${PV}.zip" -done -COMMON_DEPEND="${COMMON_DEPEND} - ${TEXLIVE_MODULES_DEPS}" -DEPEND="${COMMON_DEPEND} - app-arch/unzip" -else for i in ${TEXLIVE_MODULE_CONTENTS}; do SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${PV}.tar.lzma" done @@ -86,7 +77,6 @@ if [ -n "${TEXLIVE_MODULE_SRC_CONTENTS}" ] ; then done SRC_URI="${SRC_URI} )" fi -fi RDEPEND="${COMMON_DEPEND}" @@ -159,17 +149,10 @@ texlive-module_src_compile() { # Generate config files # TeX Live 2007 was providing lists. For 2008 they are now tlpobj. - if [ -z "${PV##2007*}" ] ; then - for i in "${S}"/texmf/lists/*; - do - grep '^!' "${i}" | sed -e 's/^!//' | tr ' ' '@' |sort|uniq >> "${T}/jobs" - done - else for i in "${S}"/tlpkg/tlpobj/*; do grep '^execute ' "${i}" | sed -e 's/^execute //' | tr ' ' '@' |sort|uniq >> "${T}/jobs" done - fi for i in $(<"${T}/jobs"); do @@ -218,7 +201,7 @@ texlive-module_src_install() { [ -d texmf ] && cp -pR texmf "${D}/usr/share/" [ -d texmf-dist ] && cp -pR texmf-dist "${D}/usr/share/" - [ -n "${PV##2007*}" ] && [ -d tlpkg ] && use source && cp -pR tlpkg "${D}/usr/share/" + [ -d tlpkg ] && use source && cp -pR tlpkg "${D}/usr/share/" insinto /var/lib/texmf [ -d texmf-var ] && doins -r texmf-var/* |