Re: [gentoo-portage-dev] [PATCH gentoolkit 1/2] eclean: Inline _sort_keys method

2019-12-04 Thread Matt Turner
On Wed, Dec 4, 2019 at 9:17 PM Zac Medico wrote: > > On 12/4/19 6:12 PM, Matt Turner wrote: > > The boilerplate for calling this method was larger than what it actually > > contained. Additionally I think this change will allow the loop to run > > on a generator rather than a full list. > > > >

[gentoo-portage-dev] [PATCH gentoolkit 1/2] eclean: Inline _sort_keys method

2019-12-04 Thread Matt Turner
The boilerplate for calling this method was larger than what it actually contained. Additionally I think this change will allow the loop to run on a generator rather than a full list. Signed-off-by: Matt Turner --- pym/gentoolkit/eclean/clean.py | 21 ++--- 1 file changed, 6

[gentoo-portage-dev] [PATCH gentoolkit 2/2] eclean: Delete empty directories

2019-12-04 Thread Matt Turner
Closes: https://bugs.gentoo.org/671592 Signed-off-by: Matt Turner --- pym/gentoolkit/eclean/clean.py | 4 1 file changed, 4 insertions(+) diff --git a/pym/gentoolkit/eclean/clean.py b/pym/gentoolkit/eclean/clean.py index b790de0..89300ce 100644 --- a/pym/gentoolkit/eclean/clean.py +++

Re: [gentoo-portage-dev] [PATCH gentoolkit 1/2] eclean: Inline _sort_keys method

2019-12-04 Thread Zac Medico
On 12/4/19 6:12 PM, Matt Turner wrote: > The boilerplate for calling this method was larger than what it actually > contained. Additionally I think this change will allow the loop to run > on a generator rather than a full list. > > Signed-off-by: Matt Turner > --- >

Re: [gentoo-portage-dev] [PATCH gentoolkit 2/2] eclean: Delete empty directories

2019-12-04 Thread Zac Medico
On 12/4/19 6:12 PM, Matt Turner wrote: > Closes: https://bugs.gentoo.org/671592 > Signed-off-by: Matt Turner > --- > pym/gentoolkit/eclean/clean.py | 4 > 1 file changed, 4 insertions(+) > > diff --git a/pym/gentoolkit/eclean/clean.py b/pym/gentoolkit/eclean/clean.py > index

[gentoo-portage-dev] [PATCH] _queue_disjunctive_deps: group disjunctions (bug 701996)

2019-12-04 Thread Zac Medico
When disjunctive dependencies are queued, group together disjunctions from the same dependency string so that any overlap between them will trigger expansion to DNF. Bug: https://bugs.gentoo.org/701996 Signed-off-by: Zac Medico --- lib/_emerge/depgraph.py | 8 +++-