• [gentoo-dev] [PATCH] sgml-catalog-r1.eclass: Remove obsolete environmen

    From James Le Cuirot@21:1/5 to All on Fri Dec 31 13:00:02 2021
    These files are only regenerated when gensgmlenv is present, but this
    tool was part of sgmltools-lite, which was last-rited over a year ago.

    The presence of 93sgmltools-lite can break tools such as
    asciidoc. When SGML_CATALOG_FILES is defined, it automatically passes
    the --catalogs option to xmllint, which uses the obsolete variable
    over the updated catalogs listed in /etc/sgml/catalog.

    Signed-off-by: James Le Cuirot <chewi@gentoo.org>
    ---
    eclass/sgml-catalog-r1.eclass | 18 +++++-------------
    1 file changed, 5 insertions(+), 13 deletions(-)

    diff --git a/eclass/sgml-catalog-r1.eclass b/eclass/sgml-catalog-r1.eclass index 1e1f17815ac4..9f8bb13d6095 100644
    --- a/eclass/sgml-catalog-r1.eclass
    +++ b/eclass/sgml-catalog-r1.eclass
    @@ -1,4 +1,4 @@
    -# Copyright 2019 Gentoo Authors
    +# Copyright 2019-2021 Gentoo Authors
    # Distributed under the terms of the GNU General Public License v2

    # @ECLASS: sgml-catalog-r1.eclass
    @@ -9,9 +9,8 @@
    # @SUPPORTED_EAPIS: 7
    # @BLURB: Functions for installing SGML catalogs
    # @DESCRIPTION:
    -# This eclass regenerates /etc/sgml/catalog, /etc/sgml.{,c}env
    -# and /etc/env.d/93sgmltools-lite as necessary for the DocBook tooling.
    -# This is done via exported pkg_postinst and pkg_postrm phases.
    +# 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:-0} in
    7) ;;
    @@ -50,16 +49,9 @@ sgml-c