commit: b584919154bb53ce5209d61758bfd43e67968ea0 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Wed Dec 17 15:29:26 2025 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Wed Jan 21 11:12:34 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5849191
aspell-dict-r1.eclass: Support EAPI 9 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> eclass/aspell-dict-r1.eclass | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/eclass/aspell-dict-r1.eclass b/eclass/aspell-dict-r1.eclass index 6d10c9fb302e..3adc1d1a302a 100644 --- a/eclass/aspell-dict-r1.eclass +++ b/eclass/aspell-dict-r1.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: aspell-dict-r1.eclass @@ -7,7 +7,7 @@ # @AUTHOR: # Seemant Kulleen <[email protected]> (original author) # David Seifert <[email protected]> (-r1 author) -# @SUPPORTED_EAPIS: 8 +# @SUPPORTED_EAPIS: 8 9 # @BLURB: An eclass to streamline the construction of ebuilds for new Aspell dictionaries. # @DESCRIPTION: # The aspell-dict-r1 eclass is designed to streamline the construction of ebuilds for @@ -36,14 +36,14 @@ readonly ASPELL_SPELLANG=${PN/aspell-/} # This value is used to construct SRC_URI strings. # If the value needs to be overridden, it needs to be overridden before inheriting the eclass. +if [[ -z ${_ASPELL_DICT_R1_ECLASS} ]]; then +_ASPELL_DICT_R1_ECLASS=1 + case ${EAPI} in - 8) ;; + 8|9) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac -if [[ -z ${_ASPELL_DICT_R1_ECLASS} ]]; then -_ASPELL_DICT_R1_ECLASS=1 - # Most of those aspell packages have an idiosyncratic versioning scheme, # where the last separating version separator is replaced by a '-'. _ASPELL_P=aspell${ASPELL_VERSION}-${ASPELL_SPELLANG}-${PV%.*}-${PV##*.}
