diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2023-02-15 19:08:35 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2023-02-17 09:03:37 +0100 |
commit | 37f37e4ebb72a9219266050a7758ec1ed63feae9 (patch) | |
tree | b5f791384136e1ab249fd21d6f70c9d37200996c /eclass/java-pkg-opt-2.eclass | |
parent | java-ant-2.eclass: drop support for EAPI 5 (diff) | |
download | gentoo-37f37e4ebb72a9219266050a7758ec1ed63feae9.tar.gz gentoo-37f37e4ebb72a9219266050a7758ec1ed63feae9.tar.bz2 gentoo-37f37e4ebb72a9219266050a7758ec1ed63feae9.zip |
java-pkg-opt-2.eclass: drop support for EAPI 5
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'eclass/java-pkg-opt-2.eclass')
-rw-r--r-- | eclass/java-pkg-opt-2.eclass | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/eclass/java-pkg-opt-2.eclass b/eclass/java-pkg-opt-2.eclass index b4461d7f1491..8e69e6c0253f 100644 --- a/eclass/java-pkg-opt-2.eclass +++ b/eclass/java-pkg-opt-2.eclass @@ -1,4 +1,4 @@ -# Copyright 2004-2021 Gentoo Authors +# Copyright 2004-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: java-pkg-opt-2.eclass @@ -6,7 +6,7 @@ # java@gentoo.org # @AUTHOR: # Thomas Matthijs <axxo@gentoo.org> -# @SUPPORTED_EAPIS: 5 6 7 8 +# @SUPPORTED_EAPIS: 6 7 8 # @PROVIDES: java-utils-2 # @BLURB: Eclass for package with optional Java support # @DESCRIPTION: @@ -14,7 +14,7 @@ # support. case ${EAPI:-0} in - [5678]) ;; + [678]) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac @@ -49,10 +49,6 @@ java-pkg-opt-2_pkg_setup() { java-pkg-opt-2_src_prepare() { use ${JAVA_PKG_OPT_USE} && java-utils-2_src_prepare - case "${EAPI:-0}" in - [0-5]) ;; - *) use ${JAVA_PKG_OPT_USE} || eapply_user ;; - esac } |