mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 15:11:19 +02:00
eclass/vim-doc: Sync with Gentoo
It's from Gentoo commit 0641762abe1deeec8ff4802ac726a1ce63d786aa.
This commit is contained in:
parent
cba5c2bbd4
commit
1974832fc8
@ -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: vim-doc.eclass
|
# @ECLASS: vim-doc.eclass
|
||||||
@ -16,13 +16,17 @@
|
|||||||
# DEPEND in vim-plugin or by whatever version of vim is being
|
# DEPEND in vim-plugin or by whatever version of vim is being
|
||||||
# installed by the eclass.
|
# installed by the eclass.
|
||||||
|
|
||||||
|
if [[ ! ${_VIM_DOC_ECLASS} ]] ; then
|
||||||
|
|
||||||
case ${EAPI} in
|
case ${EAPI} in
|
||||||
6|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."
|
||||||
|
;;
|
||||||
|
7|8) ;;
|
||||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [[ ! ${_VIM_DOC_ECLASS} ]] ; then
|
|
||||||
|
|
||||||
# @FUNCTION: update_vim_helptags
|
# @FUNCTION: update_vim_helptags
|
||||||
# @USAGE:
|
# @USAGE:
|
||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user