eclass/eapi8-dosym: Sync with Gentoo

It's from Gentoo commit 3dbeacb046899daf891f6c9f2ed8539c2e8855f9.
This commit is contained in:
Flatcar Buildbot 2023-03-20 07:24:01 +00:00
parent 57444e7cbc
commit d76c6f14d9

View File

@ -1,4 +1,4 @@
# Copyright 2020 Gentoo Authors
# Copyright 2020-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: eapi8-dosym.eclass
@ -6,7 +6,7 @@
# PMS team <pms@gentoo.org>
# @AUTHOR:
# Ulrich Müller <ulm@gentoo.org>
# @SUPPORTED_EAPIS: 5 6 7
# @SUPPORTED_EAPIS: 7
# @BLURB: Testing implementation of EAPI 8 dosym -r option
# @DESCRIPTION:
# A stand-alone implementation of the dosym command aimed for EAPI 8.
@ -17,8 +17,8 @@
# https://bugs.gentoo.org/708360
case ${EAPI} in
5|6|7) ;;
*) die "${ECLASS}: EAPI=${EAPI:-0} not supported" ;;
7) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
# @FUNCTION: _dosym8_canonicalize