diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-09-25 20:21:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-09-25 20:21:45 +0100 |
commit | c719fdcee603a5a706a45d10cb598762d56a727d (patch) | |
tree | 620cbf137661399a3fb1eff92914204f9a970713 /sys-cluster/spark-bin | |
parent | cc4618c9ba3d974948ebf340b542d8cb01db2f55 (diff) |
gentoo resync : 25.09.2021
Diffstat (limited to 'sys-cluster/spark-bin')
-rw-r--r-- | sys-cluster/spark-bin/Manifest | 2 | ||||
-rw-r--r-- | sys-cluster/spark-bin/spark-bin-3.1.2.ebuild | 70 |
2 files changed, 72 insertions, 0 deletions
diff --git a/sys-cluster/spark-bin/Manifest b/sys-cluster/spark-bin/Manifest index ad568a670e40..19d8e45bcab2 100644 --- a/sys-cluster/spark-bin/Manifest +++ b/sys-cluster/spark-bin/Manifest @@ -3,7 +3,9 @@ DIST spark-bin-2.4.3-nohadoop-scala212.tgz 141465231 BLAKE2B e29b534076b981e3408 DIST spark-bin-2.4.7-nohadoop-scala211.tgz 168360525 BLAKE2B 9a8728a1c7450166d4d9635ff1be6a65d57df1832945672e92044e0fc88ef152e7e870d02ec590378ea97a47d4a68568da73e6a1e92f8eaaaa06f495ed9939ad SHA512 ff75e6db3c4ca5cece2a8a26ad7bd8a2c1c46b4f93e8f2922a31e6a8d98274bedc66bef3e469e862d249c5439355ccca83687a20d536a8400f2c058be553df57 DIST spark-bin-2.4.7-nohadoop-scala212.tgz 146775712 BLAKE2B f0381e6aebeae90990d5ad19d8db923efd01e9b215ddfe34e34a8272942e57fe7ec6a53208146006ba5c4e76f8e44d202e0715f63b559cc8749b523710b92a5f SHA512 708a702af5c754dba0137c88e3c7055d7759593f013798755468638b6fdc583a707aae4c2a4e14648f91c16b963f9bba9f8c44d28341c08c4512590a425f70a8 DIST spark-bin-3.0.1-nohadoop.tgz 156390722 BLAKE2B 9ac4645759ca0ec6d1501dfa79d149b9cbf49dee1c4b9dcf38f62490d3ad91db01ad61d9d6b1ef4dd7bcb81a868cb58b9251575dded823c8415801d10571afee SHA512 07fc6df224f303ef53189e6082004400d51cd6c2244d1851d90eabbe58404a69ff980bffe147a5259a34190e1e1c974c72d02470d10a783d2d87f43a8da0850b +DIST spark-bin-3.1.2-hadoop.tgz 228834641 BLAKE2B 7b0191a15414146a96394abc489940a5e572cea66749b6201f234878935c6591ff809f551dae7d6c7c996baefd551cd27c5c967e2f06184ffe2bf972f901f1ba SHA512 2385cb772f21b014ce2abd6b8f5e815721580d6e8bc42a26d70bbcdda8d303d886a6f12b36d40f6971b5547b70fae62b5a96146f0421cb93d4e51491308ef5d5 EBUILD spark-bin-2.4.3.ebuild 1779 BLAKE2B 1be2f9bf46f2d41525473aeb980c0ed1543762a1fbbaf3f3a8c278273bd7171ea5737be2d4484011760fca853cec7aa12361b1cd27ab844835e77d9b25887de8 SHA512 91022933f4ee62904c8ec3346f0dedea160c7329a07edf9afa646b9934eaaddfda9903f38fa498e615d96008e7fa8e7bb800a58cb801b7de799f607c545f1584 EBUILD spark-bin-2.4.7-r1.ebuild 1779 BLAKE2B 1be2f9bf46f2d41525473aeb980c0ed1543762a1fbbaf3f3a8c278273bd7171ea5737be2d4484011760fca853cec7aa12361b1cd27ab844835e77d9b25887de8 SHA512 91022933f4ee62904c8ec3346f0dedea160c7329a07edf9afa646b9934eaaddfda9903f38fa498e615d96008e7fa8e7bb800a58cb801b7de799f607c545f1584 EBUILD spark-bin-3.0.1-r2.ebuild 1410 BLAKE2B 03148b1b46f5f3577230e85b4a312b27bd305d18060db84bea824d72903fbad5ee169db16ec82974e2fcd35961716842ae6ad9874ba83ac2c4ce9de6de2e9b74 SHA512 8d95f8129b55b3d6762c87e6da9a8991569c177af1c7207b800864ce34030cc44c14b3a04c538f8c741192c778868ea62b8efa91493c3e130fd5e32042169ad9 +EBUILD spark-bin-3.1.2.ebuild 1285 BLAKE2B 6b49d8aa453f9731e354b169a9851db00a1797562d7475f54d4bab551efb174aa734e252d3c2c4976c972a756b2d46b4be8f15f9dec355395475b8d14bb8987f SHA512 7465318d43e4a12941d7eb52dfa3f1561094a520be59f26dc8101450080341b2d5a54b8c5e19e3deaf577abff79360e44d97e4b34b5572a015acba72b9042efc MISC metadata.xml 705 BLAKE2B 5f57e4cfb458f1f65c349b906851e891faf2476a0fc281c9cddd995dbbe7261f7db1fb61a8e32076c7f89cbb0d688f3c54f5c0d3d027cf38b0df543c372877f6 SHA512 ca52709c5f7aeeb9354ad1c55e62d3bc75e8dd213e2ace0eb7e4de6c74dc992b8573fef96536f4709682055e05690381ecf2592662db09489d093b7884325932 diff --git a/sys-cluster/spark-bin/spark-bin-3.1.2.ebuild b/sys-cluster/spark-bin/spark-bin-3.1.2.ebuild new file mode 100644 index 000000000000..63d7f5bbac0c --- /dev/null +++ b/sys-cluster/spark-bin/spark-bin-3.1.2.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2021 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-hadoop3.2.tgz -> ${P}-hadoop.tgz" + +LICENSE="Apache-2.0" +SLOT="3" +KEYWORDS="~amd64" + +RDEPEND=" + >=virtual/jre-1.8" + +DEPEND=" + >=virtual/jdk-1.8" + +S="${WORKDIR}/spark-${PV}-bin-hadoop3.2" + +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/find-spark-home + 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 + dobin "${s}" + done + + insinto usr/lib/spark-${SLOT} + + local spark_dirs=( conf jars python sbin yarn ) + + local d + for d in "${spark_dirs[@]}"; do + doins -r "${d}" + done + + newenvd - "50${PN}${SLOT}" <<-_EOF_ + PATH="/usr/lib/spark-${SLOT}/bin:/usr/lib/spark-${SLOT}/sbin" + SPARK_HOME="/usr/lib/spark-${SLOT}" + _EOF_ + + einstalldocs +} + +pkg_postinst() { + einfo + einfo "Spark is now slotted. You have installed Spark ${SLOT}." + einfo +} |