commit:     80e159f6256dbb505d656ddf2b0aca540dbf3b40
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  6 08:18:16 2019 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Wed Oct 16 19:54:24 2019 +0000
URL:        https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=80e159f6

ebuild-writing/variables: Indicate multiple ebuild usage in tpm

Make it clearer that thirdpartymirrors should be used when multiple
ebuilds use the same mirror set.  It makes little sense to use it
when you are listing multiple random download locations for a particular
file.

Acked-by: Michael Orlitzky <mjo <AT> gentoo.org>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
Signed-off-by: Göktürk Yüksek <gokturk <AT> gentoo.org>

 ebuild-writing/variables/text.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ebuild-writing/variables/text.xml 
b/ebuild-writing/variables/text.xml
index 23e423c..73ad8cf 100644
--- a/ebuild-writing/variables/text.xml
+++ b/ebuild-writing/variables/text.xml
@@ -404,7 +404,8 @@ SRC_URI="https://example.com/files/${PV}.tar.gz -> 
${P}.tar.gz"
 
 <p>
 If the items in <c>SRC_URI</c> are available on multiple third-party mirrors,
-then you don't have to list each mirror in your ebuild.
+and the same set of mirrors is shared across multiple ebuilds, then you
+don't have to repeatedly list each of them in every ebuild.
 The <c>profiles/thirdpartymirrors</c> file in the <c>::gentoo</c> repository
 contains named groups of mirrors, accessible through the <c>mirror://</c>
 pseudo-protocol.

Reply via email to