>>>>> On Thu, 15 Jul 2021, Marek Szuba wrote:
 
>  case "${EAPI:-0}" in
> -     0|1|2|3|4)
> +     [0-6])
>               die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}"
>               ;;
> -     5|6|7)
> +     7|8)
>               ;;
>       *)
>               die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}"

In the latest bunch of updates, we have changed many eclasses to have
only a single error case, and also standardized the die message.
Maybe simplify this eclass as well?

case ${EAPI} in
        7|8) ;;
        *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac

Attachment: signature.asc
Description: PGP signature

Reply via email to