Skip to content

Commit

Permalink
wrapper.eclass: drop support for EAPI 5 and 6
Browse files Browse the repository at this point in the history
Signed-off-by: David Seifert <[email protected]>
  • Loading branch information
SoapGentoo committed Oct 8, 2024
1 parent bb1b0ac commit ca47195
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions eclass/wrapper.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,13 @@
# @ECLASS: wrapper.eclass
# @MAINTAINER:
# [email protected]
# @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
Expand Down Expand Up @@ -59,7 +55,7 @@ make_wrapper() {
exeopts -m 0755
exeinto "${path}"
newexe "${tmpwrapper}" "${wrapper}"
) || die
)
else
newbin "${tmpwrapper}" "${wrapper}"
fi
Expand Down

0 comments on commit ca47195

Please sign in to comment.