commit:     2f8a07cf6b41b8883ad751d0e67705ab3cd264d4
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 22 18:52:00 2019 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Dec 30 14:35:25 2019 +0000
URL:        https://gitweb.gentoo.org/proj/pms.git/commit/?id=2f8a07cf

ebuild-vars: Remove 'simple filename' mirror fetching

The feature of using 'simple filename' to fetch from mirrors
is ill-defined (which mirrors?).  The Portage implementation works only
if GENTOO_MIRRORS are explicitly set.  It's not used in any ebuilds.
Let's remove it retroactively from the specification.

Bug: https://bugs.gentoo.org/695814
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 ebuild-vars.tex | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/ebuild-vars.tex b/ebuild-vars.tex
index 9de9d55..476ea13 100644
--- a/ebuild-vars.tex
+++ b/ebuild-vars.tex
@@ -159,11 +159,9 @@ managers may also consult mirrors for their files.
 The special \t{mirror://} protocol must be supported. See 
section~\ref{sec:thirdpartymirrors} for
 mirror details.
 
-If a simple filename rather than a full URI is provided, the package manager 
can only use mirrors
-to download the file.
-
 The \t{RESTRICT} metadata key can be used to impose additional restrictions 
upon downloading---see
-section~\ref{sec:restrict} for details.
+section~\ref{sec:restrict} for details. Fetch restricted packages may use a 
simple filename instead
+of a full URI.
 
 \featurelabel{src-uri-arrows} In EAPIs listed in 
table~\ref{tab:uri-arrows-table} as supporting
 arrows, if an arrow is used, the filename used when saving to \t{DISTDIR} 
shall instead be the name

Reply via email to