mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-16 01:16:59 +02:00
eclass/multiprocessing: Support EAPI 0 and 4
This commit is contained in:
parent
ab2a0d9f2a
commit
a58b103f26
@ -1,13 +1,15 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
# Flatcar: Support EAPI 0 and 4.
|
||||||
|
|
||||||
# @ECLASS: multiprocessing.eclass
|
# @ECLASS: multiprocessing.eclass
|
||||||
# @MAINTAINER:
|
# @MAINTAINER:
|
||||||
# base-system@gentoo.org
|
# base-system@gentoo.org
|
||||||
# @AUTHOR:
|
# @AUTHOR:
|
||||||
# Brian Harring <ferringb@gentoo.org>
|
# Brian Harring <ferringb@gentoo.org>
|
||||||
# Mike Frysinger <vapier@gentoo.org>
|
# Mike Frysinger <vapier@gentoo.org>
|
||||||
# @SUPPORTED_EAPIS: 5 6 7 8
|
# @SUPPORTED_EAPIS: 0 4 5 6 7 8
|
||||||
# @BLURB: multiprocessing helper functions
|
# @BLURB: multiprocessing helper functions
|
||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
# The multiprocessing eclass contains a suite of utility functions
|
# The multiprocessing eclass contains a suite of utility functions
|
||||||
@ -25,7 +27,7 @@
|
|||||||
# @CODE
|
# @CODE
|
||||||
|
|
||||||
case ${EAPI:-0} in
|
case ${EAPI:-0} in
|
||||||
[5678]) ;;
|
[045678]) ;;
|
||||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user