commit: b7271ac38cdd057201c52cc48810f60d72779933 Author: Florian Schmaus <flow <AT> gentoo <DOT> org> AuthorDate: Mon Aug 9 18:23:13 2021 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Wed Aug 18 10:39:59 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7271ac3
xdg.eclass: drop support for EAPI 4 Thanks to Andreas Sturmlechner for providing feedback. Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> eclass/xdg.eclass | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eclass/xdg.eclass b/eclass/xdg.eclass index d973a09c29d..08dc8432a5e 100644 --- a/eclass/xdg.eclass +++ b/eclass/xdg.eclass @@ -6,7 +6,7 @@ # [email protected] # @AUTHOR: # Original author: Gilles Dartiguelongue <[email protected]> -# @SUPPORTED_EAPIS: 4 5 6 7 8 +# @SUPPORTED_EAPIS: 5 6 7 8 # @BLURB: Provides phases for XDG compliant packages. # @DESCRIPTION: # Utility eclass to update the desktop, icon and shared mime info as laid @@ -16,7 +16,7 @@ inherit xdg-utils _DEFINE_XDG_SRC_PREPARE=false case "${EAPI}" in - 4|5|6|7) + 5|6|7) # src_prepare is only exported in EAPI < 8. EXPORT_FUNCTIONS src_prepare _DEFINE_XDG_SRC_PREPARE=true @@ -35,7 +35,7 @@ _XDG_DEPEND=" " case "${EAPI}" in - 4|5|6|7) + 5|6|7) DEPEND="${_XDG_DEPEND}" ;; *) @@ -52,7 +52,7 @@ if ${_DEFINE_XDG_SRC_PREPARE}; then xdg_src_prepare() { xdg_environment_reset - [[ ${EAPI:-0} != [45] ]] && default + [[ ${EAPI} != 5 ]] && default } fi
