From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1282902-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EA8E713835A for <garchives@archives.gentoo.org>; Sun, 16 May 2021 19:13:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 11137E08FA; Sun, 16 May 2021 19:13:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EC136E08FA for <gentoo-commits@lists.gentoo.org>; Sun, 16 May 2021 19:13:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F26A1340FB2 for <gentoo-commits@lists.gentoo.org>; Sun, 16 May 2021 19:13:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AC340737 for <gentoo-commits@lists.gentoo.org>; Sun, 16 May 2021 19:13:38 +0000 (UTC) From: "Ulrich Müller" <ulm@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" <ulm@gentoo.org> Message-ID: <1621166864.9d029c432ef2d862f4feff4b88db399c08e78c5b.ulm@gentoo> Subject: [gentoo-commits] proj/pms:eapi-8 commit in: / X-VCS-Repository: proj/pms X-VCS-Files: eapi-differences.tex ebuild-vars.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 9d029c432ef2d862f4feff4b88db399c08e78c5b X-VCS-Branch: eapi-8 Date: Sun, 16 May 2021 19:13:38 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bca62b7a-414c-493c-9922-5d23ca7a8fbf X-Archives-Hash: 9ae4b0eeb02ec0f44a4063f0dc10c225 commit: 9d029c432ef2d862f4feff4b88db399c08e78c5b Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sun Dec 22 18:23:57 2019 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Sun May 16 12:07:44 2021 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=9d029c43 EAPI 8 has selective URI restrictions Bug: https://bugs.gentoo.org/371413 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> [Shortened "selective-uri-restrict" label to make it fit in the margin] Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> eapi-differences.tex | 5 ++++- ebuild-vars.tex | 18 +++++++++++++----- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/eapi-differences.tex b/eapi-differences.tex index 38109ec..64a4a2d 100644 --- a/eapi-differences.tex +++ b/eapi-differences.tex @@ -71,6 +71,9 @@ Bash version & \compactfeatureref{bash-version} & \t{SRC_URI} arrows & \compactfeatureref{src-uri-arrows} & * & Yes & Yes & Yes & Yes \\ +Selective URI restrictions & \compactfeatureref{uri-restrict} & + No & No & No & No & Yes \\ + \t{RDEPEND=DEPEND} & \compactfeatureref{rdepend-depend} & * & No & No & No & No \\ @@ -481,7 +484,7 @@ EAPI 7 is EAPI 6 with the following changes: EAPI 8 is EAPI 7 with the following changes: \begin{compactitem} -\item None +\item Selective fetch/mirror restriction, \featureref{uri-restrict}. \end{compactitem} \ChangeWhenAddingAnEAPI{8} diff --git a/ebuild-vars.tex b/ebuild-vars.tex index 9941f3e..59c5b64 100644 --- a/ebuild-vars.tex +++ b/ebuild-vars.tex @@ -169,16 +169,24 @@ on the right of the arrow. When consulting mirrors (except for those explicitly of the arrow, if \t{mirror://} is used), the filename to the right of the arrow shall be requested instead of the filename in the URI. +\featurelabel{uri-restrict} In EAPIs listed in table~\ref{tab:uri-arrows-table} as supporting +selective URI restrictions, the URI protocol can be prefixed by an additional \t{fetch+} or +\t{mirror+} term. If the ebuild is fetch restricted, the \t{fetch+} prefix undoes the fetch +restriction for the URI (but not the implied mirror restriction). If the ebuild is fetch or mirror +restricted, the \t{mirror+} prefix undoes both fetch and mirror restrictions for the URI. + \ChangeWhenAddingAnEAPI{8} -\begin{centertable}{EAPIs supporting \t{SRC_URI} arrows} +\begin{centertable}{EAPIs supporting \t{SRC_URI} arrows and selective URI restrictions} \label{tab:uri-arrows-table} - \begin{tabular}{ll} + \begin{tabular}{lll} \toprule \multicolumn{1}{c}{\textbf{EAPI}} & - \multicolumn{1}{c}{\textbf{Supports \t{SRC_URI} arrows?}} \\ + \multicolumn{1}{c}{\textbf{Supports \t{SRC_URI} arrows?}} & + \multicolumn{1}{c}{\textbf{Supports selective URI restrictions?}} \\ \midrule - 0, 1 & No \\ - 2, 3, 4, 5, 6, 7, 8 & Yes \\ + 0, 1 & No & No \\ + 2, 3, 4, 5, 6, 7 & Yes & No \\ + 8 & Yes & Yes \\ \bottomrule \end{tabular} \end{centertable}