eclass/vcs-clean: Support EAPI 0 and 4

This commit is contained in:
Krzesimir Nowak 2021-12-21 10:58:33 +01:00
parent d410c427d4
commit 1737fd14c5

View File

@ -1,16 +1,18 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Flatcar: Support EAPI 0 and 4.
# @ECLASS: vcs-clean.eclass
# @MAINTAINER:
# base-system@gentoo.org
# @AUTHOR:
# Benedikt Böhm <hollow@gentoo.org>
# @SUPPORTED_EAPIS: 5 6 7
# @SUPPORTED_EAPIS: 0 4 5 6 7
# @BLURB: helper functions to remove VCS directories
case ${EAPI:-0} in
[567]) ;;
[04567]) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac