commit: 1d1c7ad8baf8e33ce44e30724966890e88d0c349 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Wed Dec 17 15:30:12 2025 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Mon Jan 26 11:33:25 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d1c7ad8
sgml-catalog-r1.eclass: Support EAPI 9 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> eclass/sgml-catalog-r1.eclass | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/eclass/sgml-catalog-r1.eclass b/eclass/sgml-catalog-r1.eclass index 4b4d5334670b..0235936e604b 100644 --- a/eclass/sgml-catalog-r1.eclass +++ b/eclass/sgml-catalog-r1.eclass @@ -6,20 +6,20 @@ # Michał Górny <[email protected]> # @AUTHOR: # Michał Górny <[email protected]> -# @SUPPORTED_EAPIS: 7 8 +# @SUPPORTED_EAPIS: 7 8 9 # @BLURB: Functions for installing SGML catalogs # @DESCRIPTION: # This eclass regenerates /etc/sgml/catalog as necessary for the DocBook # tooling. This is done via exported pkg_postinst and pkg_postrm phases. +if [[ -z ${_SGML_CATALOG_R1_ECLASS} ]]; then +_SGML_CATALOG_R1_ECLASS=1 + case ${EAPI} in - 7|8) ;; + 7|8|9) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac -if [[ -z ${_SGML_CATALOG_R1_ECLASS} ]]; then -_SGML_CATALOG_R1_ECLASS=1 - if [[ ${CATEGORY}/${PN} != app-text/sgml-common ]]; then RDEPEND=">=app-text/sgml-common-0.6.3-r7" fi
