commit: e6fef45d3e7fd7dee71718723d068103f6890d64 Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net> AuthorDate: Wed Jul 5 07:52:24 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Jul 6 06:27:20 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6fef45d
java-virtuals-2.eclass: Removal Marked @DEAD since 2023-06-05 with commit #38467a7 Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/31758 Signed-off-by: Sam James <sam <AT> gentoo.org> eclass/java-virtuals-2.eclass | 66 ------------------------------------------- 1 file changed, 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: -# [email protected] -# @AUTHOR: -# Original Author: Alistair John Bush <[email protected]> -# @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
