summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Ten Harmsel <alec@alectenharmsel.com>2019-10-09 07:37:06 -0400
committerJoonas Niilola <juippis@gentoo.org>2019-10-16 08:22:02 +0300
commitaf9fbf622e9c9d8ad48a66e4dbb8ba5a662176a1 (patch)
treecc639e9c1a057caa7b5e434e62301d1639223201 /sys-cluster/spark-bin
parentgames-emulation/pcsx2: fix dependencies on -9999 (diff)
downloadgentoo-af9fbf622e9c9d8ad48a66e4dbb8ba5a662176a1.tar.gz
gentoo-af9fbf622e9c9d8ad48a66e4dbb8ba5a662176a1.tar.bz2
gentoo-af9fbf622e9c9d8ad48a66e4dbb8ba5a662176a1.zip
sys-cluster/spark-bin: bump to 2.4.4
Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Alec Ten Harmsel <alec@alectenharmsel.com> Closes: https://bugs.gentoo.org/696182 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sys-cluster/spark-bin')
-rw-r--r--sys-cluster/spark-bin/Manifest1
-rw-r--r--sys-cluster/spark-bin/spark-bin-2.4.4.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/sys-cluster/spark-bin/Manifest b/sys-cluster/spark-bin/Manifest
index 52f941ec3a24..b87e67bb13d9 100644
--- a/sys-cluster/spark-bin/Manifest
+++ b/sys-cluster/spark-bin/Manifest
@@ -1,2 +1,3 @@
DIST spark-bin-2.3.1.tgz 225883783 BLAKE2B d89e83a54aaabd39c5fa0d9c51a1bb5635f60ded4869672a387d13d87fffbb48385d4fbf67b55a96e709f27348f73a089624a0563c98eaba31f93d74bf4548ee SHA512 dc3a97f3d99791d363e4f70a622b84d6e313bd852f6fdbc777d31eab44cbc112ceeaa20f7bf835492fb654f48ae57e9969f93d3b0e6ec92076d1c5e1b40b4696
DIST spark-bin-2.4.3.tgz 229988313 BLAKE2B 6d8dedcdc9419e3b59c021ff583d360a40dbcfd85c925ea3ee0ae4b82cd1ee7ae3a4caa080e7e871857e7e0e4e482148633e12b64b0dd875b09cb9a2d1ddcc35 SHA512 e8b7f9e1dec868282cadcad81599038a22f48fb597d44af1b13fcc76b7dacd2a1caf431f95e394e1227066087e3ce6c2137c4abaf60c60076b78f959074ff2ad
+DIST spark-bin-2.4.4.tgz 230091034 BLAKE2B 66f7e7bae6fe6959f233adc085560cf1b80a641b4018eb334d77f390eb88f5ab898e1ea59c1c17ca15a122f4f98eea4670ea7152bc2c83f6cb76cd11d3f586ec SHA512 2e3a5c853b9f28c7d4525c0adcb0d971b73ad47d5cce138c85335b9f53a6519540d3923cb0b5cee41e386e49ae8a409a51ab7194ba11a254e037a848d0c4a9e5
diff --git a/sys-cluster/spark-bin/spark-bin-2.4.4.ebuild b/sys-cluster/spark-bin/spark-bin-2.4.4.ebuild
new file mode 100644
index 000000000000..ecd0c7b00f8a
--- /dev/null
+++ b/sys-cluster/spark-bin/spark-bin-2.4.4.ebuild
@@ -0,0 +1,61 @@
+# 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
+}