summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2022-07-23 21:19:44 +0200
committerUlrich Müller <ulm@gentoo.org>2022-07-24 19:49:46 +0200
commitc8f8da6fd898798e288738e02295d166d40a806b (patch)
tree94f5cde196b771bbf39271f8edc40e9b1eb23de6 /eclass
parentvcs-snapshot.eclass: Add missing inherit for eqawarn (diff)
downloadgentoo-c8f8da6fd898798e288738e02295d166d40a806b.tar.gz
gentoo-c8f8da6fd898798e288738e02295d166d40a806b.tar.bz2
gentoo-c8f8da6fd898798e288738e02295d166d40a806b.zip
java-pkg-simple.eclass: Drop support for EAPI 5
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/java-pkg-simple.eclass10
1 files changed, 3 insertions, 7 deletions
diff --git a/eclass/java-pkg-simple.eclass b/eclass/java-pkg-simple.eclass
index c0a6b4d21df9..34c044e2ba2d 100644
--- a/eclass/java-pkg-simple.eclass
+++ b/eclass/java-pkg-simple.eclass
@@ -6,7 +6,7 @@
# java@gentoo.org
# @AUTHOR:
# Java maintainers <java@gentoo.org>
-# @SUPPORTED_EAPIS: 5 6 7 8
+# @SUPPORTED_EAPIS: 6 7 8
# @BLURB: Eclass for packaging Java software with ease.
# @DESCRIPTION:
# This class is intended to build pure Java packages from Java sources
@@ -16,8 +16,8 @@
# addressed by an ebuild by putting corresponding files into the target
# directory before calling the src_compile function of this eclass.
-case ${EAPI:-0} in
- 5|6) inherit eutils ;; # eutils for eqawarn
+case ${EAPI} in
+ 6) inherit eutils ;; # eutils for eqawarn
7|8) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
@@ -468,10 +468,6 @@ java-pkg-simple_src_install() {
java-pkg_dosrc ${srcdirs}
fi
- if [[ ${EAPI} == 5 ]]; then
- # einstalldocs is only available on EAPI >= 6.
- return
- fi
einstalldocs
}