From ead7697a01fd631b56240b2d58aedd98ba7f92d3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 27 Nov 2024 02:00:01 +0000 Subject: gentoo auto-resync : 27:11:2024 - 02:00:00 --- sys-cluster/spark-bin/Manifest | 2 +- sys-cluster/spark-bin/spark-bin-3.1.2-r1.ebuild | 63 ++++++++++++++++++++++ sys-cluster/spark-bin/spark-bin-3.1.2.ebuild | 70 ------------------------- 3 files changed, 64 insertions(+), 71 deletions(-) create mode 100644 sys-cluster/spark-bin/spark-bin-3.1.2-r1.ebuild delete mode 100644 sys-cluster/spark-bin/spark-bin-3.1.2.ebuild (limited to 'sys-cluster/spark-bin') diff --git a/sys-cluster/spark-bin/Manifest b/sys-cluster/spark-bin/Manifest index c3e25e9b7947..f5fa806740fd 100644 --- a/sys-cluster/spark-bin/Manifest +++ b/sys-cluster/spark-bin/Manifest @@ -1,3 +1,3 @@ DIST spark-bin-3.1.2-hadoop.tgz 228834641 BLAKE2B 7b0191a15414146a96394abc489940a5e572cea66749b6201f234878935c6591ff809f551dae7d6c7c996baefd551cd27c5c967e2f06184ffe2bf972f901f1ba SHA512 2385cb772f21b014ce2abd6b8f5e815721580d6e8bc42a26d70bbcdda8d303d886a6f12b36d40f6971b5547b70fae62b5a96146f0421cb93d4e51491308ef5d5 -EBUILD spark-bin-3.1.2.ebuild 1285 BLAKE2B 6b49d8aa453f9731e354b169a9851db00a1797562d7475f54d4bab551efb174aa734e252d3c2c4976c972a756b2d46b4be8f15f9dec355395475b8d14bb8987f SHA512 7465318d43e4a12941d7eb52dfa3f1561094a520be59f26dc8101450080341b2d5a54b8c5e19e3deaf577abff79360e44d97e4b34b5572a015acba72b9042efc +EBUILD spark-bin-3.1.2-r1.ebuild 1242 BLAKE2B aa16f81b4ccc75b500127204f5f9122ad4f5625ab2480dbe035cedf269be7c1eadcbb43135366e7418889522de13b554bce373156ee37baf4c179b0070b55fc3 SHA512 698f796df3ec3cfba6bdf555e0140ea442739dc71b528e2ecd4641ae728edc92f5a19479bccc968b9b1007859643d236ef36b6498b33976ae5626f2654c7a428 MISC metadata.xml 530 BLAKE2B 1522106248bdddc95eeb1126ab7e15907157339f47d31b3166a282174a943d18ecbd633597b9892820c16cb8a137aa9e506b149ad14f0f38b82852f3c8410e86 SHA512 b12f30ccf0fd2898a9a47924090f3f24c18d77ea37b771b9c58a4adb47661b7e67ecc45b1af10b6e176435b6cd320c54c7957f2a10f8a0a5328290e3080b7ebf diff --git a/sys-cluster/spark-bin/spark-bin-3.1.2-r1.ebuild b/sys-cluster/spark-bin/spark-bin-3.1.2-r1.ebuild new file mode 100644 index 000000000000..cc0110ef3786 --- /dev/null +++ b/sys-cluster/spark-bin/spark-bin-3.1.2-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit java-pkg-2 + +DESCRIPTION="Lightning-fast unified analytics engine" +HOMEPAGE="https://spark.apache.org" +SRC_URI="https://archive.apache.org/dist/spark/spark-${PV}/spark-${PV}-bin-hadoop3.2.tgz -> ${P}-hadoop.tgz" +S="${WORKDIR}/spark-${PV}-bin-hadoop3.2" + +LICENSE="Apache-2.0" +SLOT="3" +KEYWORDS="~amd64" + +DEPEND=">=virtual/jdk-1.8:*" +RDEPEND=">=virtual/jre-1.8:*" + +DOCS=( NOTICE README.md RELEASE ) + +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 +} diff --git a/sys-cluster/spark-bin/spark-bin-3.1.2.ebuild b/sys-cluster/spark-bin/spark-bin-3.1.2.ebuild deleted file mode 100644 index 63d7f5bbac0c..000000000000 --- a/sys-cluster/spark-bin/spark-bin-3.1.2.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# 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 -} -- cgit v1.2.3