summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2020-11-26 15:01:50 +0100
committerPatrice Clement <monsieurp@gentoo.org>2020-11-26 15:06:27 +0100
commit7b6a1854a80887fd4a0497d1fe48bfe533ad6682 (patch)
treea435ef350f2714f696dbc14568e2942d8cb7fd5d /sys-cluster/spark-bin
parentsys-cluster/spark-bin: set SPARK_HOME correctly. (diff)
downloadgentoo-7b6a1854a80887fd4a0497d1fe48bfe533ad6682.tar.gz
gentoo-7b6a1854a80887fd4a0497d1fe48bfe533ad6682.tar.bz2
gentoo-7b6a1854a80887fd4a0497d1fe48bfe533ad6682.zip
sys-cluster/spark-bin: add load-spark-env script to SPARK_SCRIPTS.
Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'sys-cluster/spark-bin')
-rw-r--r--sys-cluster/spark-bin/spark-bin-2.4.7.ebuild6
-rw-r--r--sys-cluster/spark-bin/spark-bin-3.0.1-r1.ebuild6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys-cluster/spark-bin/spark-bin-2.4.7.ebuild b/sys-cluster/spark-bin/spark-bin-2.4.7.ebuild
index e74d8346bae1..3c1fcfa0a955 100644
--- a/sys-cluster/spark-bin/spark-bin-2.4.7.ebuild
+++ b/sys-cluster/spark-bin/spark-bin-2.4.7.ebuild
@@ -30,8 +30,11 @@ src_install() {
dodir usr/lib/spark-${SLOT}
into usr/lib/spark-${SLOT}
+ mv bin/load-spark-env.sh bin/load-spark-env || die
+
local SPARK_SCRIPTS=(
bin/beeline
+ bin/load-spark-env
bin/pyspark
bin/spark-class
bin/spark-shell
@@ -47,9 +50,6 @@ src_install() {
dobin "${s}"
done
- insinto usr/lib/spark-${SLOT}/bin
- doins bin/load-spark-env.sh
-
insinto usr/lib/spark-${SLOT}
doins -r conf
doins -r jars
diff --git a/sys-cluster/spark-bin/spark-bin-3.0.1-r1.ebuild b/sys-cluster/spark-bin/spark-bin-3.0.1-r1.ebuild
index d5a887380637..25c01561919e 100644
--- a/sys-cluster/spark-bin/spark-bin-3.0.1-r1.ebuild
+++ b/sys-cluster/spark-bin/spark-bin-3.0.1-r1.ebuild
@@ -30,8 +30,11 @@ src_install() {
dodir usr/lib/spark-${SLOT}
into usr/lib/spark-${SLOT}
+ mv bin/load-spark-env.sh bin/load-spark-env || die
+
local SPARK_SCRIPTS=(
bin/beeline
+ bin/load-spark-env
bin/pyspark
bin/spark-class
bin/spark-shell
@@ -47,9 +50,6 @@ src_install() {
dobin "${s}"
done
- insinto usr/lib/spark-${SLOT}/bin
- doins bin/load-spark-env.sh
-
insinto usr/lib/spark-${SLOT}
doins -r conf
doins -r jars