Re: [gentoo-portage-dev] [PATCH] test_required_use: Add tests for ?? operator

2018-02-26 Thread Zac Medico
On 02/26/2018 04:40 AM, Michał Górny wrote: > --- > pym/portage/tests/resolver/test_required_use.py | 12 > 1 file changed, 12 insertions(+) > > diff --git a/pym/portage/tests/resolver/test_required_use.py > b/pym/portage/tests/resolver/test_required_use.py > index c8810faef..d40222

Re: [gentoo-portage-dev] [PATCH 1/2] portdbapi: add async_aux_get method (bug 648790)

2018-02-26 Thread Zac Medico
On 02/26/2018 11:58 AM, Michał Górny wrote: > W dniu pon, 26.02.2018 o godzinie 11∶40 -0800, użytkownik Zac Medico > napisał: >> On 02/26/2018 11:23 AM, Michał Górny wrote: >>> W dniu pon, 26.02.2018 o godzinie 10∶09 -0800, użytkownik Zac Medico >>> napisał: On 02/26/2018 04:29 AM, Michał Górn

Re: [gentoo-portage-dev] [PATCH 02/10] Use bash-4.2 for all future EAPIs, until declared otherwise

2018-02-26 Thread Michał Górny
W dniu pon, 26.02.2018 o godzinie 16∶59 +0100, użytkownik Michał Górny napisał: > --- > bin/eapi.sh | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/bin/eapi.sh b/bin/eapi.sh > index a9c56b8ac..f3ba0da6e 100644 > --- a/bin/eapi.sh > +++ b/bin/eapi.sh > @@ -1,5 +1,5 @@

Re: [gentoo-portage-dev] [PATCH 1/2] portdbapi: add async_aux_get method (bug 648790)

2018-02-26 Thread Michał Górny
W dniu pon, 26.02.2018 o godzinie 11∶40 -0800, użytkownik Zac Medico napisał: > On 02/26/2018 11:23 AM, Michał Górny wrote: > > W dniu pon, 26.02.2018 o godzinie 10∶09 -0800, użytkownik Zac Medico > > napisał: > > > On 02/26/2018 04:29 AM, Michał Górny wrote: > > > > W dniu nie, 25.02.2018 o godzin

Re: [gentoo-portage-dev] [PATCH 1/2] portdbapi: add async_aux_get method (bug 648790)

2018-02-26 Thread Zac Medico
On 02/26/2018 11:23 AM, Michał Górny wrote: > W dniu pon, 26.02.2018 o godzinie 10∶09 -0800, użytkownik Zac Medico > napisał: >> On 02/26/2018 04:29 AM, Michał Górny wrote: >>> W dniu nie, 25.02.2018 o godzinie 17∶50 -0800, użytkownik Zac Medico >>> napisał: Add async_aux_get method that retur

Re: [gentoo-portage-dev] [PATCH 1/2] portdbapi: add async_aux_get method (bug 648790)

2018-02-26 Thread Michał Górny
W dniu pon, 26.02.2018 o godzinie 10∶09 -0800, użytkownik Zac Medico napisał: > On 02/26/2018 04:29 AM, Michał Górny wrote: > > W dniu nie, 25.02.2018 o godzinie 17∶50 -0800, użytkownik Zac Medico > > napisał: > > > Add async_aux_get method that returns a Future and otherwise > > > behaves identica

Re: [gentoo-portage-dev] [PATCH 1/2] portdbapi: add async_aux_get method (bug 648790)

2018-02-26 Thread Zac Medico
On 02/26/2018 10:16 AM, Alec Warner wrote: > > > On Mon, Feb 26, 2018 at 1:09 PM, Zac Medico > wrote: > > On 02/26/2018 04:29 AM, Michał Górny wrote: > > W dniu nie, 25.02.2018 o godzinie 17∶50 -0800, użytkownik Zac Medico > > napisał: > >> Add async_a

Re: [gentoo-portage-dev] [PATCH 1/2] portdbapi: add async_aux_get method (bug 648790)

2018-02-26 Thread Alec Warner
On Mon, Feb 26, 2018 at 1:09 PM, Zac Medico wrote: > On 02/26/2018 04:29 AM, Michał Górny wrote: > > W dniu nie, 25.02.2018 o godzinie 17∶50 -0800, użytkownik Zac Medico > > napisał: > >> Add async_aux_get method that returns a Future and otherwise > >> behaves identically to aux_get. Use async_a

Re: [gentoo-portage-dev] [PATCH 1/2] portdbapi: add async_aux_get method (bug 648790)

2018-02-26 Thread Zac Medico
On 02/26/2018 04:29 AM, Michał Górny wrote: > W dniu nie, 25.02.2018 o godzinie 17∶50 -0800, użytkownik Zac Medico > napisał: >> Add async_aux_get method that returns a Future and otherwise >> behaves identically to aux_get. Use async_aux_get to implement >> the synchronous aux_get method. >> >> Bu

[gentoo-portage-dev] [PATCH 09/10] domo: force /usr prefix in EAPI 7

2018-02-26 Thread Michał Górny
Bug: https://bugs.gentoo.org/595924 --- bin/eapi.sh | 4 bin/ebuild-helpers/domo | 7 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/bin/eapi.sh b/bin/eapi.sh index b8b493f45..d8c487b69 100644 --- a/bin/eapi.sh +++ b/bin/eapi.sh @@ -186,6 +186,10 @@ ___eapi

[gentoo-portage-dev] [PATCH 10/10] Ban DESTTREE/INSDESTTREE in EAPI 7

2018-02-26 Thread Michał Górny
Ban the direct use of DESTTREE/INSDESTTREE in EAPI 7. Use new _E_* helper variables for into/insinto. Bug: https://bugs.gentoo.org/173630 --- bin/eapi.sh | 4 bin/ebuild-helpers/dobin| 16 bin/ebuild-helpers/doconfd | 4 ++-- bin/ebuild-helpers/doenvd

[gentoo-portage-dev] [PATCH 06/10] Ban dohtml for EAPI 7

2018-02-26 Thread Michał Górny
Bug: https://bugs.gentoo.org/show_bug.cgi?id=520546 --- bin/eapi.sh | 6 +- bin/ebuild-helpers/dohtml | 7 ++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/bin/eapi.sh b/bin/eapi.sh index f3ba0da6e..964e19d7d 100644 --- a/bin/eapi.sh +++ b/bin/eapi.sh @@ -5

[gentoo-portage-dev] [PATCH 07/10] Ban dolib/libopts for EAPI 7

2018-02-26 Thread Michał Górny
Bug: https://bugs.gentoo.org/630416 --- bin/eapi.sh | 4 bin/ebuild-helpers/dolib| 7 ++- bin/ebuild-helpers/dolib.a | 4 ++-- bin/ebuild-helpers/dolib.so | 4 ++-- bin/phase-helpers.sh| 6 +- 5 files changed, 19 insertions(+), 6 deletions(-) diff --git a

[gentoo-portage-dev] [PATCH 08/10] dolib.{a,so}: inline the logic from dolib

2018-02-26 Thread Michał Górny
This cleans up the kinda-ugly logic necessary to preserve dolib.a/so while removing dolib in EAPI 7, and removes the undesirable symlink handling in dolib.a. --- bin/ebuild-helpers/dolib| 2 +- bin/ebuild-helpers/dolib.a | 42 +- bin/ebuild-helpers/dol

[gentoo-portage-dev] [PATCH 03/10] Empty ||/^^ REQUIRED_USE groups are no longer true in EAPI 7

2018-02-26 Thread Michał Górny
Bug: https://bugs.gentoo.org/636596 --- pym/portage/dep/__init__.py | 4 ++-- pym/portage/eapi.py | 10 -- pym/portage/tests/dep/testCheckRequiredUse.py | 5 +++-- pym/portage/tests/resolver/test_required_use.py | 8 4 files cha

[gentoo-portage-dev] [PATCH 05/10] isolated-functions.sh: Ensure informational command output to stderr

2018-02-26 Thread Michał Górny
Ensure that einfo, elog, ewarn... commands direct all output to stderr consistently. This ensures that various logging messages won't pollute stdout, and therefore be accidentally caught in $(). This satisfies the 'output commands do not pollute' stdout requirement that is tentatively included in

[gentoo-portage-dev] [PATCH 02/10] Use bash-4.2 for all future EAPIs, until declared otherwise

2018-02-26 Thread Michał Górny
--- bin/eapi.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/eapi.sh b/bin/eapi.sh index a9c56b8ac..f3ba0da6e 100644 --- a/bin/eapi.sh +++ b/bin/eapi.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2012 Gentoo Foundation +# Copyright 2012-2018 Gentoo Foundation # Distr

[gentoo-portage-dev] [PATCH 04/10] Empty || *DEPEND group no longer satisfy deps in EAPI 7

2018-02-26 Thread Michał Górny
Bug: https://bugs.gentoo.org/636596 --- pym/portage/dep/__init__.py | 3 +++ pym/portage/tests/resolver/test_eapi.py | 9 - 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/pym/portage/dep/__init__.py b/pym/portage/dep/__init__.py index 2a081f3d8..47ec7a6c1 100644

[gentoo-portage-dev] [PATCH 01/10] Enable testing EAPI 7_pre1

2018-02-26 Thread Michał Górny
--- pym/portage/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 4773738b2..69658b432 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -462,7 +462,7 @@ def abssymlink(symlink, target=None):

[gentoo-portage-dev] [PATCH 00/10] EAPI 7, part one

2018-02-26 Thread Michał Górny
Hi, everyone. Here's the first part of EAPI 7 support patches. All changes included here were tested and should not break anything. I'd like to merge them now to avoid having to rebase a very long batch of patches. I have added tests for changed ^^/|| behavior. Other changes I've tested manually.

[gentoo-portage-dev] [PATCH] test_required_use: Add tests for ?? operator

2018-02-26 Thread Michał Górny
--- pym/portage/tests/resolver/test_required_use.py | 12 1 file changed, 12 insertions(+) diff --git a/pym/portage/tests/resolver/test_required_use.py b/pym/portage/tests/resolver/test_required_use.py index c8810faef..d4004 100644 --- a/pym/portage/tests/resolver/test_required_

Re: [gentoo-portage-dev] [PATCH 1/2] portdbapi: add async_aux_get method (bug 648790)

2018-02-26 Thread Michał Górny
W dniu nie, 25.02.2018 o godzinie 17∶50 -0800, użytkownik Zac Medico napisał: > Add async_aux_get method that returns a Future and otherwise > behaves identically to aux_get. Use async_aux_get to implement > the synchronous aux_get method. > > Bug: https://bugs.gentoo.org/648790 > --- > pym/porta