Re: [gentoo-dev] [PATCH] fcaps.eclass: support EAPI 8

2021-06-17 Thread David Michael
On Thu, Jun 17, 2021 at 7:02 AM Ulrich Mueller wrote: > > On Thu, 17 Jun 2021, Michał Górny wrote: > > On Thu, 2021-06-17 at 12:10 +0200, Ulrich Mueller wrote: > >> > > > > > On Thu, 17 Jun 2021, David Michael wrote: > >> > @@ -33,15 +34,12 @@ _FCAPS_ECLASS=1 > >> > > >> > IUSE="+filecaps" >

Re: [gentoo-dev] [PATCH] fcaps.eclass: support EAPI 8

2021-06-17 Thread Ulrich Mueller
> On Thu, 17 Jun 2021, Michał Górny wrote: > On Thu, 2021-06-17 at 12:10 +0200, Ulrich Mueller wrote: >> > > > > > On Thu, 17 Jun 2021, David Michael wrote: >> >> > @@ -33,15 +34,12 @@ _FCAPS_ECLASS=1 >> >   >> >  IUSE="+filecaps" >> >   >> > -# Since it is needed in pkg_postinst() it must

Re: [gentoo-dev] [PATCH] fcaps.eclass: support EAPI 8

2021-06-17 Thread Michał Górny
On Thu, 2021-06-17 at 12:10 +0200, Ulrich Mueller wrote: > > > > > > On Thu, 17 Jun 2021, David Michael wrote: > > > @@ -33,15 +34,12 @@ _FCAPS_ECLASS=1 > >   > >  IUSE="+filecaps" > >   > > -# Since it is needed in pkg_postinst() it must be in RDEPEND > > +# Since it is needed in pkg_postinst()

Re: [gentoo-dev] [PATCH] fcaps.eclass: support EAPI 8

2021-06-17 Thread Ulrich Mueller
> On Thu, 17 Jun 2021, David Michael wrote: > @@ -33,15 +34,12 @@ _FCAPS_ECLASS=1 > > IUSE="+filecaps" > > -# Since it is needed in pkg_postinst() it must be in RDEPEND > +# Since it is needed in pkg_postinst() it must be in IDEPEND > case "${EAPI:-0}" in > - [0-6]) > -

[gentoo-dev] [PATCH] fcaps.eclass: support EAPI 8

2021-06-16 Thread David Michael
This defines the native install-time libcap dependency as: - EAPI < 7: RDEPEND Only regular ROOT=/ builds can be expected to work. - EAPI = 7: RDEPEND + BDEPEND Also install the native setcap at built time, so cross- compiling will work, but not installing binpkgs in