[gentoo-portage-dev] [PATCH] emerge: use asyncio interfaces for spinner during owner lookup (bug 591760)

2017-03-26 Thread Zac Medico
X-Gentoo-bug: 591760 X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=591760 --- pym/_emerge/depgraph.py | 13 - pym/portage/dbapi/vartree.py | 22 +- 2 files changed, 17 insertions(+), 18 deletions(-) diff --git a/pym/_emerge/depgraph.py

Re: [gentoo-portage-dev] [PATCH] emerge: use asyncio interfaces for spinner during owner lookup (bug 591760)

2017-03-26 Thread Brian Dolbec
On Sun, 26 Mar 2017 18:01:01 -0700 Zac Medico wrote: > X-Gentoo-bug: 591760 > X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=591760 > --- > pym/_emerge/depgraph.py | 13 - > pym/portage/dbapi/vartree.py | 22 +- > 2 files

Re: [gentoo-portage-dev] [PATCH] phase-helpers.sh: Loop over A rather than SRC_URI in __eapi0_pkg_nofetch.

2017-03-26 Thread Ulrich Mueller
> On Thu, 23 Mar 2017, Ulrich Mueller wrote: > On Thu, 23 Mar 2017, Zac Medico wrote: >> On Thu, Mar 23, 2017 at 2:55 AM, Ulrich Müller wrote: >>> Looping over SRC_URI also outputs non-filename elements (e.g, use >>> conditionals) which is avoided when looping over A.

Re: [gentoo-portage-dev] [PATCH] emerge: use asyncio interfaces for spinner during owner lookup (bug 591760)

2017-03-26 Thread Zac Medico
On Sun, Mar 26, 2017 at 7:25 PM, Zac Medico wrote: > On Sun, Mar 26, 2017 at 6:58 PM, Brian Dolbec wrote: >> On Sun, 26 Mar 2017 18:01:01 -0700 >> Zac Medico wrote: >> >>> X-Gentoo-bug: 591760 >>> X-Gentoo-bug-url:

Re: [gentoo-portage-dev] [PATCH] emerge: use asyncio interfaces for spinner during owner lookup (bug 591760)

2017-03-26 Thread Zac Medico
On Sun, Mar 26, 2017 at 6:58 PM, Brian Dolbec wrote: > On Sun, 26 Mar 2017 18:01:01 -0700 > Zac Medico wrote: > >> X-Gentoo-bug: 591760 >> X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=591760 >> --- >> pym/_emerge/depgraph.py | 13

[gentoo-portage-dev] [PATCH] Future: implement add_done_callback for asyncio compat (bug 591760)

2017-03-26 Thread Zac Medico
Implement the add_done_callback and remove_done_callback methods, since they are required in order to make further progress toward asyncio compatibility. Also implement the AbstractEventLoop create_future method for the EventLoop class, so that it returns an instance of _EventLoopFuture.

Re: [gentoo-portage-dev] [PATCH] Future: implement add_done_callback for asyncio compat (bug 591760)

2017-03-26 Thread Brian Dolbec
On Sun, 26 Mar 2017 03:13:11 -0700 Zac Medico wrote: > Implement the add_done_callback and remove_done_callback methods, > since they are required in order to make further progress toward > asyncio compatibility. > > Also implement the AbstractEventLoop create_future method

Re: [gentoo-portage-dev] [PATCH] Future: implement add_done_callback for asyncio compat (bug 591760)

2017-03-26 Thread Zac Medico
On Sun, Mar 26, 2017 at 12:07 PM, Brian Dolbec wrote: > On Sun, 26 Mar 2017 03:13:11 -0700 > Zac Medico wrote: > >> Implement the add_done_callback and remove_done_callback methods, >> since they are required in order to make further progress toward >>

[gentoo-portage-dev] [RFC] eslurp helper

2017-03-26 Thread Michał Górny
Hi, I'm thinking of creating a new helper in Portage. The draft name is eslurp. It would be used like: eslurp [--dist|--binpkg] ... i.e. it would have two modes: 1. --dist would place all listed files in DISTDIR (respecting any possible future DISTDIR split), 2. --binpkg would place all

[gentoo-portage-dev] [PATCH] phase-functions: Fix cleaning fake FILESDIR, reported by Arfrever

2017-03-26 Thread Michał Górny
--- bin/phase-functions.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/phase-functions.sh b/bin/phase-functions.sh index 50f0fdb9b..dfd8733c8 100644 --- a/bin/phase-functions.sh +++ b/bin/phase-functions.sh @@ -283,6 +283,7 @@ __dyn_clean() { rm -rf

Re: [gentoo-portage-dev] [PATCH] phase-functions: Fix cleaning fake FILESDIR, reported by Arfrever

2017-03-26 Thread Michał Górny
On nie, 2017-03-26 at 00:38 -0700, Zac Medico wrote: > On Sun, Mar 26, 2017 at 12:30 AM, Michał Górny wrote: > > --- > > bin/phase-functions.sh | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/bin/phase-functions.sh b/bin/phase-functions.sh > > index

Re: [gentoo-portage-dev] [PATCH] phase-functions: Fix cleaning fake FILESDIR, reported by Arfrever

2017-03-26 Thread Zac Medico
On Sun, Mar 26, 2017 at 12:30 AM, Michał Górny wrote: > --- > bin/phase-functions.sh | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/bin/phase-functions.sh b/bin/phase-functions.sh > index 50f0fdb9b..dfd8733c8 100644 > --- a/bin/phase-functions.sh > +++