mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 23:21:17 +02:00
eclass/perl-functions: Sync with Gentoo
It's from Gentoo commit 75c1c9c04acf63c2c7ed1d8bf62609a654754758.
This commit is contained in:
parent
f38839a876
commit
15c37bd2ea
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
# @ECLASS: perl-functions.eclass
|
# @ECLASS: perl-functions.eclass
|
||||||
@ -17,11 +17,12 @@
|
|||||||
# global scope.
|
# global scope.
|
||||||
|
|
||||||
case ${EAPI} in
|
case ${EAPI} in
|
||||||
7|8)
|
6)
|
||||||
;;
|
ewarn "${CATEGORY}/${PF}: ebuild uses ${ECLASS} with deprecated EAPI ${EAPI}!"
|
||||||
*)
|
ewarn "${CATEGORY}/${PF}: Support will be removed on 2024-10-08. Please port to newer EAPI."
|
||||||
die "${ECLASS}: EAPI ${EAPI:-0} not supported"
|
|
||||||
;;
|
;;
|
||||||
|
7|8) ;;
|
||||||
|
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
[[ ${CATEGORY} == "perl-core" ]] && inherit alternatives
|
[[ ${CATEGORY} == "perl-core" ]] && inherit alternatives
|
||||||
|
Loading…
x
Reference in New Issue
Block a user