From: "Alexis Ballier (aballier)" <aballier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in eclass: texlive-module.eclass
Date: Thu, 07 Jan 2010 18:17:35 +0000 [thread overview]
Message-ID: <E1NSwvP-0001Tb-Nw@stork.gentoo.org> (raw)
aballier 10/01/07 18:17:35
Modified: texlive-module.eclass
Log:
Add SRC_URI support for TeX Live 2009
Revision Changes Path
1.27 eclass/texlive-module.eclass
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/texlive-module.eclass?rev=1.27&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/texlive-module.eclass?rev=1.27&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/texlive-module.eclass?r1=1.26&r2=1.27
Index: texlive-module.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- texlive-module.eclass 12 Nov 2009 19:04:01 -0000 1.26
+++ texlive-module.eclass 7 Jan 2010 18:17:35 -0000 1.27
@@ -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.26 2009/11/12 19:04:01 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.27 2010/01/07 18:17:35 aballier Exp $
# @ECLASS: texlive-module.eclass
# @MAINTAINER:
@@ -51,21 +51,28 @@
COMMON_DEPEND=">=app-text/texlive-core-${PV}"
-IUSE=""
+IUSE="source"
+
+# TeX Live 2008 was providing .tar.lzma files of CTAN packages. For 2009 they are now
+# .tar.xz
+if [ "${PV#2008}" != "${PV}" ]; then
+ PKGEXT=tar.lzma
+ DEPEND="${COMMON_DEPEND}
+ || ( app-arch/xz-utils app-arch/lzma-utils )"
+else
+ PKGEXT=tar.xz
+ DEPEND="${COMMON_DEPEND}
+ app-arch/xz-utils"
+fi
-# TeX Live 2007 was providing .zip files of CTAN packages. For 2008 they are now
-# .tar.lzma
for i in ${TEXLIVE_MODULE_CONTENTS}; do
- SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${PV}.tar.lzma"
+ SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${PV}.${PKGEXT}"
done
-DEPEND="${COMMON_DEPEND}
- || ( app-arch/xz-utils app-arch/lzma-utils )"
-IUSE="${IUSE} source"
# Forge doc SRC_URI
[ -n "${PN##*documentation*}" ] && [ -n "${TEXLIVE_MODULE_DOC_CONTENTS}" ] && SRC_URI="${SRC_URI} doc? ("
for i in ${TEXLIVE_MODULE_DOC_CONTENTS}; do
- SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${PV}.tar.lzma"
+ SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${PV}.${PKGEXT}"
done
[ -n "${PN##*documentation*}" ] && [ -n "${TEXLIVE_MODULE_DOC_CONTENTS}" ] && SRC_URI="${SRC_URI} )"
@@ -73,7 +80,7 @@
if [ -n "${TEXLIVE_MODULE_SRC_CONTENTS}" ] ; then
SRC_URI="${SRC_URI} source? ("
for i in ${TEXLIVE_MODULE_SRC_CONTENTS}; do
- SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${PV}.tar.lzma"
+ SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${PV}.${PKGEXT}"
done
SRC_URI="${SRC_URI} )"
fi
next reply other threads:[~2010-01-07 18:17 UTC|newest]
Thread overview: 63+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-07 18:17 Alexis Ballier (aballier) [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-07-30 12:59 [gentoo-commits] gentoo-x86 commit in eclass: texlive-module.eclass Alexis Ballier (aballier)
2014-11-04 10:32 Alexis Ballier (aballier)
2014-03-09 18:56 Ulrich Mueller (ulm)
2013-07-05 22:43 Alexis Ballier (aballier)
2013-06-28 12:43 Alexis Ballier (aballier)
2013-06-26 19:22 Alexis Ballier (aballier)
2012-07-26 16:40 Alexis Ballier (aballier)
2012-07-26 16:30 Alexis Ballier (aballier)
2011-02-17 13:21 Alexis Ballier (aballier)
2010-11-07 19:46 Alexis Ballier (aballier)
2010-11-07 19:24 Alexis Ballier (aballier)
2010-10-24 16:26 Alexis Ballier (aballier)
2010-10-24 0:41 Alexis Ballier (aballier)
2010-10-23 23:51 Alexis Ballier (aballier)
2010-10-23 23:51 Alexis Ballier (aballier)
2010-10-23 23:37 Alexis Ballier (aballier)
2010-10-23 23:31 Alexis Ballier (aballier)
2010-10-23 23:30 Alexis Ballier (aballier)
2010-10-23 23:28 Alexis Ballier (aballier)
2010-10-23 23:26 Alexis Ballier (aballier)
2010-10-23 23:25 Alexis Ballier (aballier)
2010-10-23 23:24 Alexis Ballier (aballier)
2010-10-23 23:22 Alexis Ballier (aballier)
2010-10-23 23:21 Alexis Ballier (aballier)
2010-10-23 23:19 Alexis Ballier (aballier)
2010-10-23 23:18 Alexis Ballier (aballier)
2010-10-23 22:41 Alexis Ballier (aballier)
2010-10-23 21:48 Alexis Ballier (aballier)
2010-10-23 21:47 Alexis Ballier (aballier)
2010-10-23 16:38 Alexis Ballier (aballier)
2010-10-11 20:44 Alexis Ballier (aballier)
2010-10-11 18:26 Alexis Ballier (aballier)
2010-01-13 15:16 Christian Faulhammer (fauli)
2010-01-13 9:42 Alexis Ballier (aballier)
2010-01-07 20:36 Alexis Ballier (aballier)
2010-01-07 20:31 Alexis Ballier (aballier)
2010-01-07 19:16 Alexis Ballier (aballier)
2010-01-07 19:13 Alexis Ballier (aballier)
2010-01-07 18:42 Alexis Ballier (aballier)
2009-11-12 19:04 Alexis Ballier (aballier)
2009-08-19 7:43 Alexis Ballier (aballier)
2009-08-14 11:52 Alexis Ballier (aballier)
2009-08-10 7:38 Alexis Ballier (aballier)
2009-06-21 10:34 Alexis Ballier (aballier)
2009-06-08 10:05 Alexis Ballier (aballier)
2008-11-06 19:02 Alexis Ballier (aballier)
2008-10-31 15:16 Alexis Ballier (aballier)
2008-09-02 10:00 Alexis Ballier (aballier)
2008-08-22 11:32 Alexis Ballier (aballier)
2008-08-22 11:31 Alexis Ballier (aballier)
2008-08-21 13:04 Alexis Ballier (aballier)
2008-07-15 10:33 Alexis Ballier (aballier)
2008-07-14 16:42 Alexis Ballier (aballier)
2008-07-03 22:36 Alexis Ballier (aballier)
2008-07-03 22:33 Alexis Ballier (aballier)
2008-07-03 21:06 Alexis Ballier (aballier)
2008-01-20 0:14 Alexis Ballier (aballier)
2007-12-02 22:47 Alexis Ballier (aballier)
2007-10-27 14:30 Alexis Ballier (aballier)
2007-10-20 17:15 Alexis Ballier (aballier)
2007-10-17 14:34 Alexis Ballier (aballier)
2007-10-14 7:47 Alexis Ballier (aballier)
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=E1NSwvP-0001Tb-Nw@stork.gentoo.org \
--to=aballier@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