Summary: | [Future EAPI] Accumulate PROPERTIES and RESTRICT across eclasses | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Ulrich Müller <ulm> |
Component: | PMS/EAPI | Assignee: | Package Manager Specification <pms> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra, mgorny, pacho |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/portage/pull/638 | ||
Whiteboard: | in-eapi-8 | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 174380 |
Description
Ulrich Müller
![]() (In reply to Ulrich Müller from comment #0) > HOMEPAGE, SRC_URI, LICENSE, and KEYWORDS would be additional candidates, but > I believe that setting a default value in an eclass and overriding it in the > ebuild is a valid usage case for all of them. The same could be argued about every metadata variable, in particular about dependencies. It's not like we aren't adding switches to a lot of eclasses to suppress or modify defaults. For the record, I was only being the devil's advocate here. Let's go with PROPERTIES and RESTRICT then. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/pms.git/commit/?id=52a242e2f7923f3bee9978ffb14741fa25da9c14 commit 52a242e2f7923f3bee9978ffb14741fa25da9c14 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2021-05-16 18:46:09 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2021-06-05 08:55:37 +0000 EAPI 8 accumulates PROPERTIES and RESTRICT across eclasses Bug: https://bugs.gentoo.org/701132 Signed-off-by: Ulrich Müller <ulm@gentoo.org> eapi-differences.tex | 4 ++++ eclasses.tex | 27 ++++++++++++++++++++++----- 2 files changed, 26 insertions(+), 5 deletions(-) |