Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 503302 - sys-apps/baselayout: missing EAPI
Summary: sys-apps/baselayout: missing EAPI
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-03 11:39 UTC by David Heidelberg (okias)
Modified: 2014-03-09 01:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Heidelberg (okias) 2014-03-03 11:39:36 UTC
Hello, I'd like to use user_patch with baselayout.

It allows me distribute updates to lot machines, but baselayout missing EAPI. As I checked funtoo, it does use EAPI=4.

Is any reason to not use EAPI=4 or 5?

Thank you

Reproducible: Always
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2014-03-03 11:51:53 UTC
(In reply to David Heidelberger (okias) from comment #0)
> Hello, I'd like to use user_patch with baselayout.

what's user_patch?

you can 'inherit eutils' to use `epatch_user` function in src_prepare() with any EAPI, if EAPI is not defined, it's 0, which is fine too

> 
> It allows me distribute updates to lot machines, but baselayout missing
> EAPI. As I checked funtoo, it does use EAPI=4.
> 
> Is any reason to not use EAPI=4 or 5?

is there any reason to upgrade it from this bug? i don't think so. it will happen naturally with version bumps, next version might or might not use EAPI=4 or 5
but it shouldn't be a problem even if it's left at 0

i'm inclined to close this as invalid, please reopen if you have a compelling reason
Comment 2 David Heidelberg (okias) 2014-03-03 20:08:59 UTC
(In reply to Samuli Suominen from comment #1)
> (In reply to David Heidelberger (okias) from comment #0)
> > Hello, I'd like to use user_patch with baselayout.
> 
> what's user_patch?
> 
> you can 'inherit eutils' to use `epatch_user` function in src_prepare() with
> any EAPI, if EAPI is not defined, it's 0, which is fine too

Sorry, I mean epatch_user, baselayout already inherit eutils.
> 
> > 
> > It allows me distribute updates to lot machines, but baselayout missing
> > EAPI. As I checked funtoo, it does use EAPI=4.
> > 
> > Is any reason to not use EAPI=4 or 5?
> 
> is there any reason to upgrade it from this bug? i don't think so. it will

Well, after enabling EAPI I can use epatch_user placed in patches/sys-apps/baselayout . It would be great, if this function will be available

> happen naturally with version bumps, next version might or might not use
> EAPI=4 or 5
> but it shouldn't be a problem even if it's left at 0

What problems could eventually cause simply enabling EAPI=4 or 5?

> 
> i'm inclined to close this as invalid, please reopen if you have a
> compelling reason
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2014-03-04 05:08:40 UTC
(In reply to David Heidelberger (okias) from comment #2)
> (In reply to Samuli Suominen from comment #1)
> > (In reply to David Heidelberger (okias) from comment #0)
> > > Hello, I'd like to use user_patch with baselayout.
> > 
> > what's user_patch?
> > 
> > you can 'inherit eutils' to use `epatch_user` function in src_prepare() with
> > any EAPI, if EAPI is not defined, it's 0, which is fine too
> 
> Sorry, I mean epatch_user, baselayout already inherit eutils.
> > 
> > > 
> > > It allows me distribute updates to lot machines, but baselayout missing
> > > EAPI. As I checked funtoo, it does use EAPI=4.
> > > 
> > > Is any reason to not use EAPI=4 or 5?
> > 
> > is there any reason to upgrade it from this bug? i don't think so. it will
> 
> Well, after enabling EAPI I can use epatch_user placed in
> patches/sys-apps/baselayout . It would be great, if this function will be
> available

You still don't make sense. There is no 'user patching support' in Portage in any of the released EAPIs. It's only in eutils.eclass which is not related to EAPI.

> 
> > happen naturally with version bumps, next version might or might not use
> > EAPI=4 or 5
> > but it shouldn't be a problem even if it's left at 0
> 
> What problems could eventually cause simply enabling EAPI=4 or 5?

None. What's the reasons for jumping the gun now?
Comment 4 David Heidelberg (okias) 2014-03-04 21:43:33 UTC
(In reply to Samuli Suominen from comment #3)
> (In reply to David Heidelberger (okias) from comment #2)
> > (In reply to Samuli Suominen from comment #1)
> > > (In reply to David Heidelberger (okias) from comment #0)
> > > > Hello, I'd like to use user_patch with baselayout.
> > > 
> > > what's user_patch?
> > > 
> > > you can 'inherit eutils' to use `epatch_user` function in src_prepare() with
> > > any EAPI, if EAPI is not defined, it's 0, which is fine too
> > 
> > Sorry, I mean epatch_user, baselayout already inherit eutils.
> > > 
> > > > 
> > > > It allows me distribute updates to lot machines, but baselayout missing
> > > > EAPI. As I checked funtoo, it does use EAPI=4.
> > > > 
> > > > Is any reason to not use EAPI=4 or 5?
> > > 
> > > is there any reason to upgrade it from this bug? i don't think so. it will
> > 
> > Well, after enabling EAPI I can use epatch_user placed in
> > patches/sys-apps/baselayout . It would be great, if this function will be
> > available
> 
> You still don't make sense. There is no 'user patching support' in Portage
> in any of the released EAPIs. It's only in eutils.eclass which is not
> related to EAPI.

Well, epatch_user worked for me only with defined EAPI.
Comment 5 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2014-03-09 01:52:17 UTC
src_prepare is available in newer EAPIs; in older you need to use src_unpack.