public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
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: Tue, 15 Jul 2008 10:33:40 +0000	[thread overview]
Message-ID: <E1KIhqm-0006oF-SI@stork.gentoo.org> (raw)

aballier    08/07/15 10:33:40

  Modified:             texlive-module.eclass
  Log:
  Add TEXLIVE_MODULE_DOC_CONTENTS and TEXLIVE_MODULE_SRC_CONTENTS support for texlive 2008 and document it.

Revision  Changes    Path
1.13                 eclass/texlive-module.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/texlive-module.eclass?rev=1.13&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/texlive-module.eclass?rev=1.13&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/texlive-module.eclass?r1=1.12&r2=1.13

Index: texlive-module.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- texlive-module.eclass	14 Jul 2008 16:42:48 -0000	1.12
+++ texlive-module.eclass	15 Jul 2008 10:33:40 -0000	1.13
@@ -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.12 2008/07/14 16:42:48 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.13 2008/07/15 10:33:40 aballier Exp $
 
 # @ECLASS: texlive-module.eclass
 # @MAINTAINER:
@@ -27,6 +27,18 @@
 # For TeX Live 2007: foo -> texlive-module-foo-${PV}.zip
 # For TeX Live 2008: foo -> texlive-module-foo-${PV}.tar.lzma
 
+# @ECLASS-VARIABLE: TEXLIVE_MODULE_DOC_CONTENTS
+# @DESCRIPTION:
+# The list of packages that will be installed if the doc useflag is enabled.
+# Expansion to SRC_URI is the same as for TEXLIVE_MODULE_CONTENTS. This is only
+# valid for TeX Live 2008
+
+# @ECLASS-VARIABLE: TEXLIVE_MODULE_SRC_CONTENTS
+# @DESCRIPTION:
+# The list of packages that will be installed if the source useflag is enabled.
+# Expansion to SRC_URI is the same as for TEXLIVE_MODULE_CONTENTS. This is only
+# valid for TeX Live 2008
+
 inherit texlive-common
 
 HOMEPAGE="http://www.tug.org/texlive/"
@@ -51,6 +63,22 @@
 DEPEND="${COMMON_DEPEND}
 	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"
+done
+[ -n "${PN##*documentation*}" ] && [ -n "${TEXLIVE_MODULE_DOC_CONTENTS}" ] && SRC_URI="${SRC_URI} )"
+
+# Forge source SRC_URI
+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"
+	done
+	SRC_URI="${SRC_URI} )"
+fi
 fi
 
 RDEPEND="${COMMON_DEPEND}"



-- 
gentoo-commits@lists.gentoo.org mailing list



             reply	other threads:[~2008-07-15 10:34 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-15 10:33 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)
2010-01-07 18:17 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-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=E1KIhqm-0006oF-SI@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