eclass/sgml-catalog-r1: Sync with Gentoo

It's from Gentoo commit 790bbc296c0607d3fdd1bc3ffcb374dd428a7a4f.
This commit is contained in:
Flatcar Buildbot 2025-08-04 07:16:55 +00:00
parent 46c1a15ef8
commit f0c067c725

View File

@ -1,4 +1,4 @@
# Copyright 2019-2023 Gentoo Authors
# Copyright 2019-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: sgml-catalog-r1.eclass
@ -6,14 +6,14 @@
# Michał Górny <mgorny@gentoo.org>
# @AUTHOR:
# Michał Górny <mgorny@gentoo.org>
# @SUPPORTED_EAPIS: 7
# @SUPPORTED_EAPIS: 7 8
# @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.
case ${EAPI} in
7) ;;
7|8) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac