public inbox for gentoo-pms@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-pms@lists.gentoo.org
Cc: "Ulrich Müller" <ulm@gentoo.org>
Subject: [gentoo-pms] [PATCH 04/28] EAPI 7 supports a directory for package.mask.
Date: Wed,  4 Oct 2017 22:46:48 +0200	[thread overview]
Message-ID: <20171004204712.10391-5-mgorny@gentoo.org> (raw)
In-Reply-To: <20171004204712.10391-1-mgorny@gentoo.org>

From: Ulrich Müller <ulm@gentoo.org>

Bug: https://bugs.gentoo.org/282296
---
 eapi-differences.tex |  4 ++++
 tree-layout.tex      | 20 ++++++++++++++++++++
 2 files changed, 24 insertions(+)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index d6e270a..9d7ec60 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -41,6 +41,9 @@ of this document for a complete table of previous EAPIs.
 \bottomrule
 \endlastfoot
 
+\t{package.mask} directory & \compactfeatureref{package-mask-dir} &
+    No & No & No & No & Yes \\
+
 Stable use masking/forcing & \compactfeatureref{stablemask} &
     No & No & Yes & Yes & Yes \\
 
@@ -373,6 +376,7 @@ EAPI 6 is EAPI 5 with the following changes:
 EAPI 7 is EAPI 6 with the following changes:
 
 \begin{compactitem}
+\item \t{profiles/package.mask} can be a directory, \featureref{package-mask-dir}.
 \item \t{dohtml} banned, \featureref{banned-commands}.
 \end{compactitem}
 
diff --git a/tree-layout.tex b/tree-layout.tex
index 1c23357..d09feef 100644
--- a/tree-layout.tex
+++ b/tree-layout.tex
@@ -107,6 +107,12 @@ manager must ignore any files in this directory that it does not recognise.
     Contains a list, one entry per line, of package dependency specifications (using the directory's
     EAPI). Any package version matching one of these is considered to be masked, and will not be
     installed regardless of profile unless it is unmasked by the user configuration.
+
+    \featurelabel{package-mask-dir} For EAPIs listed in table~\ref{tab:package-mask-dir} as
+    supporting it, \t{package.mask} can be a directory instead of a regular file. Files contained
+    in that directory, unless their name begins with a dot, will be concatenated in order of their
+    filename in the POSIX locale and the result will be processed as if it were a single file.
+    Any subdirectories will be ignored.
 \item[profiles.desc] Described below in section~\ref{sec:profiles.desc}.
 \item[repo_name] Contains, on a single line, the name of this repository. The repository name must
     conform to section~\ref{sec:repository-names}.
@@ -123,6 +129,20 @@ manager must ignore any files in this directory that it does not recognise.
 \item[updates/] This directory is described in section~\ref{sec:updates-dir}.
 \end{description}
 
+\ChangeWhenAddingAnEAPI{7}
+\begin{centertable}{EAPIs supporting a directory for \t{package.mask}}
+    \label{tab:package-mask-dir}
+    \begin{tabular}{ll}
+      \toprule
+      \multicolumn{1}{c}{\textbf{EAPI}} &
+      \multicolumn{1}{c}{\textbf{\t{package.mask} can be a directory?}} \\
+      \midrule
+      0, 1, 2, 3, 4, 5, 6 & No  \\
+      7                   & Yes \\
+      \bottomrule
+    \end{tabular}
+\end{centertable}
+
 \subsection{The profiles.desc file}
 \label{sec:profiles.desc}
 \t{profiles.desc} is a line-based file, with the standard commenting
-- 
2.14.2



  parent reply	other threads:[~2017-10-04 20:47 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-04 20:46 [gentoo-pms] [PATCHES] EAPI 7, first draft for review Michał Górny
2017-10-04 20:46 ` [gentoo-pms] [PATCH 01/28] Add an EAPI 7 identical to EAPI 6 Michał Górny
2017-10-04 20:46 ` [gentoo-pms] [PATCH 02/28] EAPI feature table: Consolidate EAPIs 0 to 3 Michał Górny
2017-10-04 20:46 ` [gentoo-pms] [PATCH 03/28] EAPI 7: dohtml banned Michał Górny
2017-10-04 20:46 ` Michał Górny [this message]
2017-10-04 20:46 ` [gentoo-pms] [PATCH 05/28] EAPI 7 supports directories for profile files Michał Górny
2017-10-04 20:46 ` [gentoo-pms] [PATCH 06/28] EAPI 7 has version manipulation and comparison functions Michał Górny
2017-10-04 20:46 ` [gentoo-pms] [PATCH 07/28] EAPI 7 has eqawarn Michał Górny
2017-10-04 20:46 ` [gentoo-pms] [PATCH 08/28] EAPI 7 disallows stdout output of output functions Michał Górny
2017-10-04 20:46 ` [gentoo-pms] [PATCH 09/28] EAPI 7 no longer adds trailing slash to ROOT, EROOT, D, ED Michał Górny
2017-10-04 20:46 ` [gentoo-pms] [PATCH 10/28] EAPI 7 requires GNU patch 2.7 Michał Górny
2017-10-04 20:46 ` [gentoo-pms] [PATCH 11/28] EAPI 7 has SYSROOT and ESYSROOT Michał Górny
2017-10-04 20:46 ` [gentoo-pms] [PATCH 12/28] EAPI 7: econf adds --with-sysroot Michał Górny
2017-10-04 20:46 ` [gentoo-pms] [PATCH 13/28] EAPI 7 has BDEPEND Michał Górny
2017-10-04 20:46 ` [gentoo-pms] [PATCH 14/28] EAPI 7 has BROOT Michał Górny
2017-10-04 20:46 ` [gentoo-pms] [PATCH 15/28] EAPI 7 drops --host-root in favor of -b, -d, and -r Michał Górny
2017-10-04 20:47 ` [gentoo-pms] [PATCH 16/28] dependencies: Provide a nice summary table for dep APIs Michał Górny
2017-10-04 20:47 ` [gentoo-pms] [PATCH 17/28] EAPI 7 bans package.provided Michał Górny
2017-10-04 20:47 ` [gentoo-pms] [PATCH 18/28] EAPI 7 removes DESTTREE and INSDESTTREE Michał Górny
2017-10-04 20:47 ` [gentoo-pms] [PATCH 19/28] EAPI 7 removes PORTDIR and ECLASSDIR Michał Górny
2017-10-04 20:47 ` [gentoo-pms] [PATCH 20/28] domo installs to /usr in EAPI 7 Michał Górny
2017-10-04 20:47 ` [gentoo-pms] [PATCH 21/28] pkg-mgr-commands: Redefine dolib* in terms of libdir.a Michał Górny
2017-10-04 20:47 ` [gentoo-pms] [PATCH 22/28] EAPI 7 bans dolib and libopts Michał Górny
2017-10-04 20:47 ` [gentoo-pms] [PATCH 23/28] EAPI 7 provides command fallback for nonfatal Michał Górny
2017-10-04 20:47 ` [gentoo-pms] [PATCH 24/28] EAPI 7 allows die in subshell Michał Górny
2017-10-04 20:47 ` [gentoo-pms] [PATCH 25/28] EAPI 7 has automatic USE enforcing Michał Górny
2017-10-04 20:47 ` [gentoo-pms] [PATCH 26/28] EAPI 7 has binding leftmost-of dep groups (||=) Michał Górny
2017-10-04 20:47 ` [gentoo-pms] [PATCH 27/28] EAPI 7 supports runtime-modifiable USE flags Michał Górny
2017-10-04 20:47 ` [gentoo-pms] [PATCH 28/28] EAPI 7 has sandbox directory removal functions Michał Górny

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=20171004204712.10391-5-mgorny@gentoo.org \
    --to=mgorny@gentoo.org \
    --cc=gentoo-pms@lists.gentoo.org \
    --cc=ulm@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