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
(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
(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
(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?
(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.
src_prepare is available in newer EAPIs; in older you need to use src_unpack.