Discussion:
[gentoo-pms] [PATCH] Recognise "test_network" as token in PROPERTIES
Ulrich Müller
2021-05-19 14:59:19 UTC
Permalink
This was originally proposed as a RESTRICT token for EAPI 8, but
implementing it retroactively in PROPERTIES (where it is optional
from the spec's point of view) appears to be more feasible.

Bug: https://bugs.gentoo.org/553696
Signed-off-by: Ulrich Müller <***@gentoo.org>
---
ebuild-vars.tex | 2 ++
1 file changed, 2 insertions(+)

diff --git a/ebuild-vars.tex b/ebuild-vars.tex
index cd03882..64951ab 100644
--- a/ebuild-vars.tex
+++ b/ebuild-vars.tex
@@ -225,6 +225,8 @@ The following tokens are permitted inside \t{PROPERTIES}:
\item[interactive] The package may require interaction with the user via the tty.
\item[live] The package uses ``live'' source code that may vary each time that the package is
installed.
+\item[test_network] The package manager may run tests that require an internet connection, even if
+ the ebuild has \t{RESTRICT=test}.
\end{description}

Package managers may recognise other tokens. Ebuilds may not rely upon any token being supported.
--
2.31.1
Ulrich Mueller
2021-05-27 16:48:07 UTC
Permalink
Post by Ulrich Müller
This was originally proposed as a RESTRICT token for EAPI 8, but
implementing it retroactively in PROPERTIES (where it is optional
from the spec's point of view) appears to be more feasible.
Bug: https://bugs.gentoo.org/553696
---
ebuild-vars.tex | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ebuild-vars.tex b/ebuild-vars.tex
index cd03882..64951ab 100644
--- a/ebuild-vars.tex
+++ b/ebuild-vars.tex
\item[interactive] The package may require interaction with the user via the tty.
\item[live] The package uses ``live'' source code that may vary each time that the package is
installed.
+\item[test_network] The package manager may run tests that require an internet connection, even if
+ the ebuild has \t{RESTRICT=test}.
\end{description}
Package managers may recognise other tokens. Ebuilds may not rely upon any token being supported.
--
2.31.1
Pushed.

Loading...