• Re: [gentoo-dev] [PATCH] java-pkg-simple.eclass: eqawarn if module-info

    From Ulrich Mueller@21:1/5 to All on Wed May 4 08:00:01 2022
    On Wed, 04 May 2022, Florian Schmaus wrote:

    + 5|6) inherit eutils ;; # eutils for eqawarn

    Adding eutils in 2022 seems a little backwards. Maybe make the output
    command conditional instead? Something like this:

    # conditional needed in EAPIs 5 and 6
    local eqawarn=eqawarn
    declare -F eqawarn >/dev/null || eqawarn=ewarn
    ${eqawarn} ...

    Alternatively, port the few remaining EAPI 5 and 6 consumers to a newer
    EAPI. :)

    Ulrich

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iQFDBAEBCAAtFiEEtDnZ1O9xIP68rzDbUYgzUIhBXi4FAmJyFcIPHHVsbUBnZW50 b28ub3JnAAoJEFGIM1CIQV4u9F8H+gKVC+/QYqPv9F7geD+aebCneoObhEo0VI/F sBMTTLNyDiFaaE43PRxmw6oVb91dSt5G6ss5YYMbUPCSIiLc2ogtzzuwE43qi9cQ KNeOsqoC/ia/FzFtwbw7Bgmp4SOyK0GLsnx13aRsTs8v6DpgzSzUUCdtWyznVrNU QJRQ7Ck22a9iR+NkkbwCJy7RAmK2Z2mrMPfwndaArBITKk9lgYXdOj3tPl7PS2la VgrRjKo60uesURtE4KTESFm6p3arc93JDVT6ZbXRo3jdO+QbpMp0Q2FXAYug06iG 7R/yDSoTm8UkRxcwjhb/NYwNMLeeSZLgE806vOweLxfuJjP0j54=ZJ+L
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Florian Schmaus@21:1/5 to Ulrich Mueller on Wed May 4 09:00:01 2022
    On 04/05/2022 07.57, Ulrich Mueller wrote:
    On Wed, 04 May 2022, Florian Schmaus wrote:

    + 5|6) inherit eutils ;; # eutils for eqawarn

    Adding eutils in 2022 seems a little backwards. Maybe make the output
    command conditional instead? Something like this:

    # conditional needed in EAPIs 5 and 6
    local eqawarn=eqawarn
    declare -F eqawarn >/dev/null || eqawarn=ewarn
    ${eqawarn} ...

    Alternatively, port the few remaining EAPI 5 and 6 consumers to a newer
    EAPI. :)

    This is being worked on.

    That said, I am not sure if a ewarn fallback is sensible. I was told
    eqawarn can be used to trigger tinderbox bugs, and that is exactly what
    we want, to see if there are any affected packages that we did not
    identify yet. And some of those potential packages are EAPI < 7.

    - Flow

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)