summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Ten Harmsel <alec@alectenharmsel.com>2019-11-11 16:03:52 -0500
committerJoonas Niilola <juippis@gentoo.org>2019-11-13 17:04:55 +0200
commitdd14546adbc40378fbdb11622cd9653beaffd67c (patch)
treeff1a3725ec53979f8a5ce4779db123a6b38c8190 /sys-cluster
parentsys-cluster/spark-bin: Remove ${ED} from dosym (diff)
downloadgentoo-dd14546adbc40378fbdb11622cd9653beaffd67c.tar.gz
gentoo-dd14546adbc40378fbdb11622cd9653beaffd67c.tar.bz2
gentoo-dd14546adbc40378fbdb11622cd9653beaffd67c.zip
sys-cluster/spark-bin: Drop 2.3.1, 2.4.4
Bumped to *-r1 with the change to relative paths in symlinks. Signed-off-by: Alec Ten Harmsel <alec@alectenharmsel.com> Package-Manager: Portage-2.3.76, Repoman-2.3.16 Closes: https://github.com/gentoo/gentoo/pull/13614 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/spark-bin/spark-bin-2.3.1.ebuild61
-rw-r--r--sys-cluster/spark-bin/spark-bin-2.4.4.ebuild61
2 files changed, 0 insertions, 122 deletions
diff --git a/sys-cluster/spark-bin/spark-bin-2.3.1.ebuild b/sys-cluster/spark-bin/spark-bin-2.3.1.ebuild
deleted file mode 100644
index 3742cb97bf5a..000000000000
--- a/sys-cluster/spark-bin/spark-bin-2.3.1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit java-pkg-2
-
-DESCRIPTION="Lightning-fast unified analytics engine"
-HOMEPAGE="https://spark.apache.org"
-SRC_URI="mirror://apache/spark/spark-${PV}/spark-${PV}-bin-hadoop2.7.tgz -> ${P}.tgz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
- >=virtual/jre-1.8"
-
-DEPEND="
- >=virtual/jdk-1.8"
-
-S="${WORKDIR}/spark-${PV}-bin-hadoop2.7"
-
-DOCS=( LICENSE NOTICE README.md RELEASE )
-
-# Nothing to compile here.
-src_compile() { :; }
-
-src_install() {
- dodir usr/lib/spark
- into usr/lib/spark
-
- dobin bin/beeline \
- bin/find-spark-home \
- bin/pyspark \
- bin/spark-class \
- bin/spark-shell \
- bin/spark-sql \
- bin/spark-submit
-
- insinto usr/lib/spark/bin
- doins bin/load-spark-env.sh
-
- insinto usr/lib/spark
- doins -r conf
- doins -r jars
- doins -r python
- doins -r sbin
- doins -r yarn
-
- dosym "${ED%/}"/usr/lib/spark/bin/beeline /usr/bin/beeline
- dosym "${ED%/}"/usr/lib/spark/bin/pyspark /usr/bin/pyspark
- dosym "${ED%/}"/usr/lib/spark/bin/pyspark /usr/bin/find-spark-home
- dosym "${ED%/}"/usr/lib/spark/bin/spark-class /usr/bin/spark-class
- dosym "${ED%/}"/usr/lib/spark/bin/spark-shell /usr/bin/spark-shell
- dosym "${ED%/}"/usr/lib/spark/bin/spark-sql /usr/bin/spark-sql
- dosym "${ED%/}"/usr/lib/spark/bin/spark-submit /usr/bin/spark-submit
-
- doenvd "${FILESDIR}"/99spark
- einstalldocs
-}
diff --git a/sys-cluster/spark-bin/spark-bin-2.4.4.ebuild b/sys-cluster/spark-bin/spark-bin-2.4.4.ebuild
deleted file mode 100644
index ecd0c7b00f8a..000000000000
--- a/sys-cluster/spark-bin/spark-bin-2.4.4.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit java-pkg-2
-
-DESCRIPTION="Lightning-fast unified analytics engine"
-HOMEPAGE="https://spark.apache.org"
-SRC_URI="mirror://apache/spark/spark-${PV}/spark-${PV}-bin-hadoop2.7.tgz -> ${P}.tgz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
- >=virtual/jre-1.8"
-
-DEPEND="
- >=virtual/jdk-1.8"
-
-S="${WORKDIR}/spark-${PV}-bin-hadoop2.7"
-
-DOCS=( LICENSE NOTICE README.md RELEASE )
-
-# Nothing to compile here.
-src_compile() { :; }
-
-src_install() {
- dodir usr/lib/spark
- into usr/lib/spark
-
- dobin bin/beeline \
- bin/find-spark-home \
- bin/pyspark \
- bin/spark-class \
- bin/spark-shell \
- bin/spark-sql \
- bin/spark-submit
-
- insinto usr/lib/spark/bin
- doins bin/load-spark-env.sh
-
- insinto usr/lib/spark
- doins -r conf
- doins -r jars
- doins -r python
- doins -r sbin
- doins -r yarn
-
- dosym "${ED%/}"/usr/lib/spark/bin/beeline /usr/bin/beeline
- dosym "${ED%/}"/usr/lib/spark/bin/pyspark /usr/bin/pyspark
- dosym "${ED%/}"/usr/lib/spark/bin/pyspark /usr/bin/find-spark-home
- dosym "${ED%/}"/usr/lib/spark/bin/spark-class /usr/bin/spark-class
- dosym "${ED%/}"/usr/lib/spark/bin/spark-shell /usr/bin/spark-shell
- dosym "${ED%/}"/usr/lib/spark/bin/spark-sql /usr/bin/spark-sql
- dosym "${ED%/}"/usr/lib/spark/bin/spark-submit /usr/bin/spark-submit
-
- doenvd "${FILESDIR}"/99spark
- einstalldocs
-}