Re: [gentoo-dev] [PATCH 2/2] meson.eclass: EAPI 8 support

2021-06-24 Thread Ulrich Mueller
> On Thu, 24 Jun 2021, David Michael wrote: > if [[ -z ${_MESON_ECLASS} ]]; then Here would be a good place to assign _MESON_ECLASS=1. It should go _before_ any inherit commands, otherwise it won't prevent circular inherits. > > +[[ ${EAPI} == 6 ]] && inherit eapi7-ver > inherit

[gentoo-dev] [PATCH 2/2] meson.eclass: EAPI 8 support

2021-06-24 Thread David Michael
Signed-off-by: David Michael --- Hi, This updates meson.eclass to conform to conventions that other eclasses seem to follow. E.g. conditional inherits are first (presumably for function precedence), and defining the inherit guard at the end. It also removes the split inherit guard. The only