Per the discussion over on -dev, this adds a test case for usage of the ROOT variable outside of the PMS-defined pkg_* functions (which is not allowed).
There should probably be a warning for this in repoman, since most usages I've seen are really intended to be EPREFIX and not ROOT. Any cases that are not so easy to fix will stand out once the trivial ones are. Perhaps in EAPI-$next, the warning can become an error. Michael Orlitzky (1): Add a test case for PMS-compliant usage of the ROOT variable. ebuild-test/root-var-usage/metadata.xml | 24 ++++++ ebuild-test/root-var-usage/root-var-usage-0.ebuild | 90 ++++++++++++++++++++++ 2 files changed, 114 insertions(+) create mode 100644 ebuild-test/root-var-usage/metadata.xml create mode 100644 ebuild-test/root-var-usage/root-var-usage-0.ebuild -- 2.7.3