From ec9f79e1d3358df31a704f16a76a269ccceae2b2 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 24 Dec 2022 20:03:07 +0000 Subject: gentoo auto-resync : 24:12:2022 - 20:03:07 --- eclass/mate.eclass | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'eclass/mate.eclass') diff --git a/eclass/mate.eclass b/eclass/mate.eclass index a734b4c4dc7e..66b4cf446249 100644 --- a/eclass/mate.eclass +++ b/eclass/mate.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: mate.eclass @@ -7,7 +7,8 @@ # @AUTHOR: # Authors: NP-Hardass based upon the gnome2 # and autotools-utils eclasses -# @SUPPORTED_EAPIS: 6 7 +# @SUPPORTED_EAPIS: 7 +# @PROVIDES: mate-desktop.org # @BLURB: Provides phases for MATE based packages. # @DESCRIPTION: # Exports portage base functions used by ebuilds written for packages using the @@ -16,7 +17,7 @@ # Check EAPI only case "${EAPI:-0}" in - 6|7) ;; + 7) ;; *) die "EAPI=${EAPI:-0} is not supported" ;; esac @@ -26,10 +27,6 @@ esac # @DESCRIPTION: # Available values for MATE_LA_PUNT: # - "no": will not clean any .la files -# - In EAPI < 7: -# - "yes": will run prune_libtool_files --modules -# - If it is not set, it will run prune_libtool_files -# - In EAPI 7: # - Any non-"no" value will run # find "${ED}" -name '*.la' -delete || die # MATE_LA_PUNT is a stub to GNOME2_LA_PUNT @@ -38,11 +35,6 @@ GNOME2_LA_PUNT="${MATE_LA_PUNT}" inherit gnome2 autotools mate-desktop.org -case "${EAPI:-0}" in - 6|7) EXPORT_FUNCTIONS src_prepare src_configure src_install pkg_preinst pkg_postinst pkg_postrm ;; - *) die "EAPI=${EAPI:-0} is not supported" ;; -esac - # Autotools requires our MATE m4 files DEPEND=">=mate-base/mate-common-${MATE_BRANCH}" @@ -164,3 +156,5 @@ mate_pkg_postinst() { mate_pkg_postrm() { gnome2_pkg_postrm "$@" } + +EXPORT_FUNCTIONS src_prepare src_configure src_install pkg_preinst pkg_postinst pkg_postrm -- cgit v1.2.3