diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2023-07-05 09:52:24 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-07-06 07:27:20 +0100 |
commit | e6fef45d3e7fd7dee71718723d068103f6890d64 (patch) | |
tree | 6e172472b8a7d5d9b775ec0484f1c2187d53f772 /eclass | |
parent | app-portage/gentle: add 0.4.0, drop 0.3.0 (diff) | |
download | gentoo-e6fef45d3e7fd7dee71718723d068103f6890d64.tar.gz gentoo-e6fef45d3e7fd7dee71718723d068103f6890d64.tar.bz2 gentoo-e6fef45d3e7fd7dee71718723d068103f6890d64.zip |
java-virtuals-2.eclass: Removal
Marked @DEAD since 2023-06-05 with commit #38467a7
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/31758
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/java-virtuals-2.eclass | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/eclass/java-virtuals-2.eclass b/eclass/java-virtuals-2.eclass deleted file mode 100644 index 2923fe35a0e5..000000000000 --- a/eclass/java-virtuals-2.eclass +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# @DEAD -# @ECLASS: java-virtuals-2.eclass -# @MAINTAINER: -# java@gentoo.org -# @AUTHOR: -# Original Author: Alistair John Bush <ali_bush@gentoo.org> -# @SUPPORTED_EAPIS: 8 -# @BLURB: Java virtuals eclass -# @DESCRIPTION: -# To provide a default (and only) src_install function for ebuilds in the -# java-virtuals category. - -case ${EAPI} in - 8) ;; - *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; -esac - -if [[ -z ${_JAVA_VIRTUALS_2_ECLASS} ]] ; then -_JAVA_VIRTUALS_2_ECLASS=1 - -inherit java-utils-2 - -DEPEND="dev-java/java-config" -RDEPEND="${DEPEND}" - -S="${WORKDIR}" - -# @FUNCTION: java-virtuals-2_src_install -# @DESCRIPTION: -# default src_install - -java-virtuals-2_src_install() { - java-virtuals-2_do_write -} - -# @FUNCTION: java-pkg_do_virtuals_write -# @INTERNAL -# @DESCRIPTION: -# Writes the virtual env file out to disk. - -java-virtuals-2_do_write() { - java-pkg_init_paths_ - - dodir "${JAVA_PKG_VIRTUALS_PATH}" - { - if [[ -n "${JAVA_VIRTUAL_PROVIDES}" ]]; then - echo "PROVIDERS=\"${JAVA_VIRTUAL_PROVIDES}\"" - fi - - if [[ -n "${JAVA_VIRTUAL_VM}" ]]; then - echo "VM=\"${JAVA_VIRTUAL_VM}\"" - fi - - if [[ -n "${JAVA_VIRTUAL_VM_CLASSPATH}" ]]; then - echo "VM_CLASSPATH=\"${JAVA_VIRTUAL_VM_CLASSPATH}\"" - fi - echo "MULTI_PROVIDER=\"${JAVA_VIRTUAL_MULTI=FALSE}\"" - } > "${JAVA_PKG_VIRTUAL_PROVIDER}" -} - -fi - -EXPORT_FUNCTIONS src_install |