mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
out-of-source-utils.eclass: drop support for EAPI 6
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
@@ -6,20 +6,16 @@
|
||||
# Michał Górny <mgorny@gentoo.org>
|
||||
# @AUTHOR:
|
||||
# Michał Górny <mgorny@gentoo.org>
|
||||
# @SUPPORTED_EAPIS: 6 7 8
|
||||
# @SUPPORTED_EAPIS: 7 8
|
||||
# @BLURB: Utility functions for building packages out-of-source
|
||||
# @DESCRIPTION:
|
||||
# This eclass provides a run_in_build_dir() helper that can be used
|
||||
# to execute specified command inside BUILD_DIR.
|
||||
|
||||
if [[ ! ${_OUT_OF_SOURCE_UTILS_ECLASS} ]]; then
|
||||
if [[ -z ${_OUT_OF_SOURCE_UTILS_ECLASS} ]]; then
|
||||
_OUT_OF_SOURCE_UTILS_ECLASS=1
|
||||
|
||||
case ${EAPI} in
|
||||
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" ;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user