Gentoo Archives: gentoo-portage-dev

From: Michael Orlitzky <mjo@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] [PATCH 0/1] Test PMS-compliant usage of the ROOT variable.
Date: Wed, 11 May 2016 16:08:48
Message-Id: 1462982905-17867-1-git-send-email-mjo@gentoo.org
1 Per the discussion over on -dev, this adds a test case for usage of
2 the ROOT variable outside of the PMS-defined pkg_* functions (which is
3 not allowed).
4
5 There should probably be a warning for this in repoman, since most
6 usages I've seen are really intended to be EPREFIX and not ROOT. Any
7 cases that are not so easy to fix will stand out once the trivial ones
8 are. Perhaps in EAPI-$next, the warning can become an error.
9
10 Michael Orlitzky (1):
11 Add a test case for PMS-compliant usage of the ROOT variable.
12
13 ebuild-test/root-var-usage/metadata.xml | 24 ++++++
14 ebuild-test/root-var-usage/root-var-usage-0.ebuild | 90 ++++++++++++++++++++++
15 2 files changed, 114 insertions(+)
16 create mode 100644 ebuild-test/root-var-usage/metadata.xml
17 create mode 100644 ebuild-test/root-var-usage/root-var-usage-0.ebuild
18
19 --
20 2.7.3

Replies