summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2024-10-08 17:31:48 +0200
committerDavid Seifert <soap@gentoo.org>2024-10-08 17:31:48 +0200
commitca471955da9c82ea8565147bbe5cc1740248b00c (patch)
tree2bb6c945b7eb23d0196e6dfae7bb662ed02ed7b8 /eclass
parentwebapp.eclass: drop support for EAPI 6 (diff)
downloadgentoo-ca471955da9c82ea8565147bbe5cc1740248b00c.tar.gz
gentoo-ca471955da9c82ea8565147bbe5cc1740248b00c.tar.bz2
gentoo-ca471955da9c82ea8565147bbe5cc1740248b00c.zip
wrapper.eclass: drop support for EAPI 5 and 6
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/wrapper.eclass8
1 files changed, 2 insertions, 6 deletions
diff --git a/eclass/wrapper.eclass b/eclass/wrapper.eclass
index a62bb51d0fe7..1f995a60509f 100644
--- a/eclass/wrapper.eclass
+++ b/eclass/wrapper.eclass
@@ -4,17 +4,13 @@
# @ECLASS: wrapper.eclass
# @MAINTAINER:
# base-system@gentoo.org
-# @SUPPORTED_EAPIS: 5 6 7 8
+# @SUPPORTED_EAPIS: 7 8
# @BLURB: create a shell wrapper script
if [[ -z ${_WRAPPER_ECLASS} ]]; then
_WRAPPER_ECLASS=1
case ${EAPI} in
- 5|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
@@ -59,7 +55,7 @@ make_wrapper() {
exeopts -m 0755
exeinto "${path}"
newexe "${tmpwrapper}" "${wrapper}"
- ) || die
+ )
else
newbin "${tmpwrapper}" "${wrapper}"
fi