Re: [gentoo-dev] [PATCH] db-use.eclass: add support for EAPI 8, die on unknown EAPI

2022-02-18 Thread Ulrich Mueller
> On Fri, 18 Feb 2022, Florian Schmaus wrote: > -case "${EAPI:-0}" in > - 0|1|2|3|4|5|6) inherit eapi7-ver multilib ;; > - *) inherit multilib ;; > +case ${EAPI} in > + [56]) inherit eapi7-ver ;& # fallthrough > + [78]) inherit multilib ;; Please keep the 5|6) etc. syntax, bec

[gentoo-dev] [PATCH] db-use.eclass: add support for EAPI 8, die on unknown EAPI

2022-02-18 Thread Florian Schmaus
Add support for EAPI 8 and drop support for EAPIs < 5. Also explicitly die on unknown EAPI values. Note that this is a deviation from the currenty approach that the eclass uses since 86416d2c4bf1 ("eclass: db-use - Update to eapi7-ver"). But I argue that it is confusing that your static ananlysis t