mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 18:47:16 -08:00
readme.gentoo-r1.eclass: drop support for EAPI 6
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
# Pacho Ramos <pacho@gentoo.org>
|
||||
# @AUTHOR:
|
||||
# Author: Pacho Ramos <pacho@gentoo.org>
|
||||
# @SUPPORTED_EAPIS: 6 7 8
|
||||
# @SUPPORTED_EAPIS: 7 8
|
||||
# @BLURB: install a doc file shown via elog messages
|
||||
# @DESCRIPTION:
|
||||
# An eclass for installing a README.gentoo doc file recording tips
|
||||
@@ -21,10 +21,6 @@ if [[ -z ${_README_GENTOO_ECLASS} ]]; then
|
||||
_README_GENTOO_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
|
||||
@@ -82,7 +78,7 @@ readme.gentoo_create_doc() {
|
||||
( # subshell to avoid pollution of calling environment
|
||||
docinto .
|
||||
dodoc "${T}"/README.gentoo
|
||||
) || die
|
||||
)
|
||||
README_GENTOO_DOC_VALUE=$(< "${T}/README.gentoo")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user