summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2020-11-26 16:29:34 +0100
committerPatrice Clement <monsieurp@gentoo.org>2020-11-26 16:55:12 +0100
commit4bf3046a84d93c1cb3efdef1cc33a1ca01fb39b0 (patch)
tree5243c277035425cd28f849047dff4ea2b3d2506b /sys-cluster
parentsys-cluster/spark-bin: do not install Hadoop JARs. (diff)
downloadgentoo-4bf3046a84d93c1cb3efdef1cc33a1ca01fb39b0.tar.gz
gentoo-4bf3046a84d93c1cb3efdef1cc33a1ca01fb39b0.tar.bz2
gentoo-4bf3046a84d93c1cb3efdef1cc33a1ca01fb39b0.zip
sys-cluster/spark-bin: clean up old.
Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/spark-bin/Manifest1
-rw-r--r--sys-cluster/spark-bin/spark-bin-3.0.1-r1.ebuild71
-rw-r--r--sys-cluster/spark-bin/spark-bin-3.0.1.ebuild61
3 files changed, 0 insertions, 133 deletions
diff --git a/sys-cluster/spark-bin/Manifest b/sys-cluster/spark-bin/Manifest
index dab23c007afe..ec5874526442 100644
--- a/sys-cluster/spark-bin/Manifest
+++ b/sys-cluster/spark-bin/Manifest
@@ -3,4 +3,3 @@ DIST spark-bin-2.4.3-scala212.tgz 141465231 BLAKE2B e29b534076b981e340833da0b6d9
DIST spark-bin-2.4.7-scala211.tgz 168360525 BLAKE2B 9a8728a1c7450166d4d9635ff1be6a65d57df1832945672e92044e0fc88ef152e7e870d02ec590378ea97a47d4a68568da73e6a1e92f8eaaaa06f495ed9939ad SHA512 ff75e6db3c4ca5cece2a8a26ad7bd8a2c1c46b4f93e8f2922a31e6a8d98274bedc66bef3e469e862d249c5439355ccca83687a20d536a8400f2c058be553df57
DIST spark-bin-2.4.7-scala212.tgz 146775712 BLAKE2B f0381e6aebeae90990d5ad19d8db923efd01e9b215ddfe34e34a8272942e57fe7ec6a53208146006ba5c4e76f8e44d202e0715f63b559cc8749b523710b92a5f SHA512 708a702af5c754dba0137c88e3c7055d7759593f013798755468638b6fdc583a707aae4c2a4e14648f91c16b963f9bba9f8c44d28341c08c4512590a425f70a8
DIST spark-bin-3.0.1-nohadoop.tgz 156390722 BLAKE2B 9ac4645759ca0ec6d1501dfa79d149b9cbf49dee1c4b9dcf38f62490d3ad91db01ad61d9d6b1ef4dd7bcb81a868cb58b9251575dded823c8415801d10571afee SHA512 07fc6df224f303ef53189e6082004400d51cd6c2244d1851d90eabbe58404a69ff980bffe147a5259a34190e1e1c974c72d02470d10a783d2d87f43a8da0850b
-DIST spark-bin-3.0.1.tgz 219929956 BLAKE2B dd53df1e0123feae5b69f97193d1edc647bd4802ab78c54e471ed54b3ae6eee32ace51e379569f4947599d24aba5af63b401c11ef2af6234ffc6ac1afbbe275f SHA512 f4a10baec5b8ff1841f10651cac2c4aa39c162d3029ca180a9749149e6060805b5b5ddf9287b4aa321434810172f8cc0534943ac005531bb48b6622fbe228ddc
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
deleted file mode 100644
index bfb1770cf38f..000000000000
--- a/sys-cluster/spark-bin/spark-bin-3.0.1-r1.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2020 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="3"
-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-${SLOT}
- into usr/lib/spark-${SLOT}
-
- local SPARK_SCRIPTS=(
- bin/beeline
- bin/load-spark-env.sh
- bin/pyspark
- bin/spark-class
- bin/spark-shell
- bin/spark-sql
- bin/spark-submit
- )
-
- local s
- for s in "${SPARK_SCRIPTS[@]}"; do
- ebegin "Setting SPARK_HOME to /usr/lib/spark-${SLOT} in $(basename ${s}) script ..."
- sed -i -e "2iSPARK_HOME=/usr/lib/spark-${SLOT}" "${s}"
- eend $?
- dobin "${s}"
- done
-
- insinto usr/lib/spark-${SLOT}
- doins -r conf
- doins -r jars
- doins -r python
- doins -r sbin
- doins -r yarn
-
- einstalldocs
-}
-
-pkg_postinst() {
- einfo
- einfo "Spark is now slotted. You have installed Spark ${SLOT}."
- einfo
- einfo "Make sure to add /usr/lib/spark-${SLOT}/{bin,sbin} directories"
- einfo "to your PATH in order to run Spark shell scripts:"
- einfo
- einfo "$ export PATH=\$PATH:/usr/lib/spark-${SLOT}/bin"
- einfo "$ export PATH=\$PATH:/usr/lib/spark-${SLOT}/sbin"
- einfo
-}
diff --git a/sys-cluster/spark-bin/spark-bin-3.0.1.ebuild b/sys-cluster/spark-bin/spark-bin-3.0.1.ebuild
deleted file mode 100644
index 9c98c787d467..000000000000
--- a/sys-cluster/spark-bin/spark-bin-3.0.1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2020 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 ../lib/spark/bin/beeline /usr/bin/beeline
- dosym ../lib/spark/bin/find-spark-home /usr/bin/find-spark-home
- dosym ../lib/spark/bin/pyspark /usr/bin/pyspark
- dosym ../lib/spark/bin/spark-class /usr/bin/spark-class
- dosym ../lib/spark/bin/spark-shell /usr/bin/spark-shell
- dosym ../lib/spark/bin/spark-sql /usr/bin/spark-sql
- dosym ../lib/spark/bin/spark-submit /usr/bin/spark-submit
-
- doenvd "${FILESDIR}"/99spark
- einstalldocs
-}