Created attachment 853732 [details, diff] glep-0068: Allow EAPI 5 dependency specifications As discussed in #gentoo-council on 2023-01-22: <@ulm> mgorny: anyway, why I have looked at GLEP 68, in the first place: I wonder if we could allow EAPI 5 dependency specification in the restrict attribute? slots, in particular <@mgorny> i don't see why not [...] <@ulm> mgorny: how about this? https://dpaste.com/D999F5YSZ <@ulm> or rather, https://dpaste.com/APW3MHJC4 (with version increased) <@ulm> gah, also slot should be the same in lines 42 and 48. corrected locally <@mgorny> LGTM <@mgorny> no clue if anything actually parses restrict="" though <+Arsen> iirc equery did <@ulm> hm, and does it support EAPI 5? <@ulm> Arsen: looks like it simply displays the restriction, and it does so only for the maintainer <+Arsen> hm, yeah, that sounds about right Please review attached patch.
LGTM. Perhaps it'd make sense to have a "Changes" section but I don't want to force you to look through history for previous changes to fill it in.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/data/glep.git/commit/?id=d9ee35e0bd53b28e7cc1ffd6f2c4e4f1ad028b0a commit d9ee35e0bd53b28e7cc1ffd6f2c4e4f1ad028b0a Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2023-02-22 07:23:19 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2023-02-22 15:59:52 +0000 glep-0068: Allow EAPI 5 dependency specifications This applies to the "restrict" attribute which is used with the "maintainer", "longdescription", "flag", and "stabilize-allarches" elements. Closes: https://bugs.gentoo.org/895790 Reviewed-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org> glep-0068.rst | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-)