On 29/02/2024 15.34, Michael Orlitzky wrote:
On Thu, 2024-02-29 at 15:21 +0100, Florian Schmaus wrote:The eclass only supports EAPIs {7,8,...} so it should suffice to blacklist EAPI=7.Fair point, but that would mean to remember to adjust this line once the eclass gets support for EAPI 9.It should do the right thing automatically when EAPI=9 is added, no? If the goal of "-gt 8" is to match EAPI=8 and newer, then rejecting (only) the one EAPI that's older than 8 should be equivalent without involving a numerical comparison.
Of course, you are right. Not sure how I could miss that. I'll go with [[ ${EAPI} != 7 ]] then. Thanks - Flow
OpenPGP_0x8CAC2A9678548E35.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature