Re: [PATCH 3/4] texlive-module.eclass: support EAPI 9

Sam James <[email protected]>
Newsgroups gmane.linux.gentoo.devel
Organization Gentoo
Message-ID <[email protected]>
Florian Schmaus <[email protected]> writes:

> Signed-off-by: Florian Schmaus <[email protected]>

While here (I guess in another commit), please cleanup the pre-2023
conditionals.

> ---
>  eclass/texlive-module.eclass | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass
> index 15dcdea5df20..e14aab5194b4 100644
> --- a/eclass/texlive-module.eclass
> +++ b/eclass/texlive-module.eclass
> @@ -6,7 +6,7 @@
>  # [email protected]
>  # @AUTHOR:
>  # Original Author: Alexis Ballier <[email protected]>
> -# @SUPPORTED_EAPIS: 7 8
> +# @SUPPORTED_EAPIS: 7 8 9
>  # @BLURB: Provide generic install functions so that modular texlive's texmf ebuild will only have to inherit this eclass
>  # @DESCRIPTION:
>  # Purpose: Provide generic install functions so that modular texlive's texmf ebuilds will
> @@ -72,14 +72,15 @@
>  # e.g. for enabling/disabling a feature
>  
>  case ${EAPI} in
> -	7|8) ;;
> +	7|8) inherit eapi9-pipestatus ;;
> +	9) ;;
>  	*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
>  esac
>  
>  if [[ -z ${_TEXLIVE_MODULE_ECLASS} ]]; then
>  _TEXLIVE_MODULE_ECLASS=1
>  
> -inherit eapi9-pipestatus texlive-common
> +inherit texlive-common
>  
>  HOMEPAGE="https://www.tug.org/texlive/"
signature.asc (application/pgp-signature, 418 B)
-----BEGIN PGP SIGNATURE-----

iQEBBAEWCgCpFiEEJaa7iN2bdkxrVUHCc4QJ9SDfkZAFAmqE20QbFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25z
Lm9wZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyNUE2QkI4OEREOUI3NjRDNkI1NTQx
QzI3Mzg0MDlGNTIwREY5MTkwDxxzYW1AZ2VudG9vLm9yZwAKCRBzhAn1IN+RkDaL
AQCcUKmzRhGw5WON7mTLPsEN7t/nBraMKjclxUcTgpxG5gEAmfONTIix6ITPVXpf
wbN/wgjoWlFVRZx6Jiy3XoslqAM=
=ZDjv
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.