Re: [gentoo-dev] [PATCH 1/4] distutils-r1.eclass: Introduce install_for_testing --via-root

2020-11-29 Thread Michał Górny
On Sun, 2020-11-29 at 12:02 +0100, Ulrich Mueller wrote: > > > > > > On Sun, 29 Nov 2020, Michał Górny wrote: > > > + case ${install_method} in > > + home) > > + local add_args=( > > + install > > +

Re: [gentoo-dev] [PATCH 1/4] distutils-r1.eclass: Introduce install_for_testing --via-root

2020-11-29 Thread Ulrich Mueller
> On Sun, 29 Nov 2020, Michał Górny wrote: > + case ${install_method} in > + home) > + local add_args=( > + install > + --home="${TEST_DIR}" > +

[gentoo-dev] [PATCH 1/4] distutils-r1.eclass: Introduce install_for_testing --via-root

2020-11-28 Thread Michał Górny
Introduce a new --via-root mode for distutils_install_for_testing function. The legacy --via-home seems to no longer work for a lot of packages but before we can confirm that --via-root is good enough for every single one of them, let's have two variants to choose from. The general