Gentoo Archives: gentoo-pms

From: Ulrich Mueller <ulm@g.o>
To: gentoo-pms@l.g.o
Subject: [gentoo-pms] [PATCH] SRC_URI may be defined by an eclass.
Date: Tue, 04 Jan 2011 13:02:16
Message-Id: 19747.6726.992068.345982@a1i15.kph.uni-mainz.de
1 Section "Mandatory Ebuild-defined Variables" says "may be defined by a
2 eclass" for all variables except IUSE and SRC_URI. Was this simply
3 overlooked for SRC_URI, or is it on purpose?
4
5 Ulrich
6
7
8 From 071955e0bcd73a7634dd792a532e8052a8d28d81 Mon Sep 17 00:00:00 2001
9 From: Ulrich Mueller <ulm@g.o>
10 Date: Tue, 4 Jan 2011 14:02:08 +0100
11 Subject: [PATCH] SRC_URI may be defined by an eclass.
12
13 ---
14 ebuild-vars.tex | 6 +++---
15 1 files changed, 3 insertions(+), 3 deletions(-)
16
17 diff --git a/ebuild-vars.tex b/ebuild-vars.tex
18 index db4d50d..0af3540 100644
19 --- a/ebuild-vars.tex
20 +++ b/ebuild-vars.tex
21 @@ -45,9 +45,9 @@ All ebuilds must define at least the following variables:
22 \item[SLOT] The package's slot. Must be a valid slot name, as per section~\ref{sec:slot-names}. May
23 be defined by an eclass. Must not be empty.
24 \item[SRC\_URI] A list of source URIs for the package. Valid protocols are \t{http://},
25 - \t{https://}, \t{ftp://} and \t{mirror://} (see section~\ref{sec:thirdpartymirrors} for mirror behaviour).
26 - Fetch restricted packages may include URL parts consisting of just a filename. See
27 - section~\ref{sec:dependencies} for full syntax.
28 + \t{https://}, \t{ftp://} and \t{mirror://} (see section~\ref{sec:thirdpartymirrors} for mirror
29 + behaviour). Fetch restricted packages may include URL parts consisting of just a filename.
30 + May be defined by an eclass. See section~\ref{sec:dependencies} for full syntax.
31 \end{description}
32
33 If any of these variables are undefined, or if any of these variables are set to invalid values,
34 --
35 1.7.3.4

Replies

Subject Author
Re: [gentoo-pms] [PATCH] SRC_URI may be defined by an eclass. Ulrich Mueller <ulm@g.o>