[gentoo-user] Re: Eapi 6 ?

2014-09-16 Thread James
Rich Freeman gentoo.org> writes: > All you need to do is add epatch_user to src_prepare in an existing > ebuild to use it. If you want to patch the build system you'll also > need to make calls to autotools/etc as needed after calling > epatch_user. OK, so I'll (hopefully) finsish one of my ugl

[gentoo-user] Re: Eapi 6 ?

2014-09-16 Thread James
Neil Bothwick digimed.co.uk> writes: > You can often do it without touching the ebuild at all by putting > post_src_unpack() { > cd "${S}" > epatch_user > } > in /etc/portage/env/category/package[-version] Thx Neil, Nice trick to know. But, I do not have an /etc/portage/env/

[gentoo-user] Re: Eapi 6 ?

2014-09-18 Thread James
Neil Bothwick digimed.co.uk> writes: > The rest was gathered by starting at http:///www and working down... Neil, You should start a Neils-tips page on wiki.gentoo.org Order them as you like; kind of like your limricks in our signature. That way, when folks ask questions, we can refer the

Re: [gentoo-user] Re: Eapi 6 ?

2014-09-16 Thread Alan McKinnon
On 16/09/2014 22:06, James wrote: > Rich Freeman gentoo.org> writes: > >> All you need to do is add epatch_user to src_prepare in an existing >> ebuild to use it. If you want to patch the build system you'll also >> need to make calls to autotools/etc as needed after calling >> epatch_user. > >

Re: [gentoo-user] Re: Eapi 6 ?

2014-09-17 Thread Neil Bothwick
On Wed, 17 Sep 2014 03:40:37 + (UTC), James wrote: > > You can often do it without touching the ebuild at all by putting > > > post_src_unpack() { > > cd "${S}" > > epatch_user > > } > > > in /etc/portage/env/category/package[-version] > > Nice trick to know. But, > I

[gentoo-user] Re: EAPI-6 dev-python ebuilds

2016-03-21 Thread James
David M. Fellows unb.ca> writes: > grep -r -l "EAPI=5" * |grep 'ebuild$' grep -r -l "EAPI=6" * |grep 'ebuild$' yep, it works just fine. sorry for being a bit brain-dead this am... thx, James

[gentoo-user] Re: EAPI-6 dev-python ebuilds

2016-03-22 Thread Jonathan Callen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 03/21/2016 01:31 PM, James wrote: > David M. Fellows unb.ca> writes: > > >> grep -r -l "EAPI=5" * |grep 'ebuild$' > > grep -r -l "EAPI=6" * |grep 'ebuild$' > > > yep, it works just fine. sorry for being a bit brain-dead this > am... > > >

[gentoo-user] Re: EAPI-6 dev-python ebuilds

2016-03-23 Thread James
Michael Orlitzky gentoo.org> writes: > > grep -r -l --include="*.ebuild" "EAPI=6" . > There's a chicken-and-egg problem with storing the EAPI in a variable > within the ebuild whose EAPI you need to know to parse the ebuild that > contains the EAPI variable whose value you need before you can p

[gentoo-user] Re: EAPI-6 dev-python ebuilds

2016-03-24 Thread Martin Vaeth
James wrote: > > works for a specific file, but I want to parse the entire /dev-python > portion of the portage tree. Is there a more robust tool? eix -c --eapi 6 --and -C dev-python

Re: [gentoo-user] Re: EAPI-6 dev-python ebuilds

2016-03-23 Thread Michael Orlitzky
On 03/22/2016 09:34 PM, Jonathan Callen wrote: > > For future reference, this would be a bit more efficient: > > grep -r -l --include="*.ebuild" "EAPI=6" . > > This way, grep only looks at the files you want to search anyway. > There's a chicken-and-egg problem with storing the EAPI in a varia