diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-11-18 09:38:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-11-18 09:38:27 +0000 |
commit | 536c3711867ec947c1738f2c4b96f22e4863322d (patch) | |
tree | 697733f5cb713908dcf378e13fd15a798a906a91 /sys-cluster/spark-bin | |
parent | f65628136faa35d0c4d3b5e7332275c7b35fcd96 (diff) |
gentoo resync : 18.11.2018
Diffstat (limited to 'sys-cluster/spark-bin')
-rw-r--r-- | sys-cluster/spark-bin/Manifest | 4 | ||||
-rw-r--r-- | sys-cluster/spark-bin/files/99spark | 1 | ||||
-rw-r--r-- | sys-cluster/spark-bin/metadata.xml | 16 | ||||
-rw-r--r-- | sys-cluster/spark-bin/spark-bin-2.3.1.ebuild | 61 |
4 files changed, 82 insertions, 0 deletions
diff --git a/sys-cluster/spark-bin/Manifest b/sys-cluster/spark-bin/Manifest new file mode 100644 index 000000000000..ebdfbeb16f90 --- /dev/null +++ b/sys-cluster/spark-bin/Manifest @@ -0,0 +1,4 @@ +AUX 99spark 26 BLAKE2B c25fe3d379a16c8a51764ea5b4c27d8f34869687c882141f0428d102d921eb65fea8ac253e407fe07fd4cce1232dd513728b1340bc0bcd21bd19ce0aed0c2420 SHA512 6d64d751f1504bea332b16078804abcaf21c8ea9c69f94fef3a8929b6d6cb1107ec899a5dc49770997243cbfda61edbcfa4d505da29220a71f5be38c1008f4f0 +DIST spark-bin-2.3.1.tgz 225883783 BLAKE2B d89e83a54aaabd39c5fa0d9c51a1bb5635f60ded4869672a387d13d87fffbb48385d4fbf67b55a96e709f27348f73a089624a0563c98eaba31f93d74bf4548ee SHA512 dc3a97f3d99791d363e4f70a622b84d6e313bd852f6fdbc777d31eab44cbc112ceeaa20f7bf835492fb654f48ae57e9969f93d3b0e6ec92076d1c5e1b40b4696 +EBUILD spark-bin-2.3.1.ebuild 1414 BLAKE2B f103c0fc60b8914834cfafb9d100f21d7299dd4d03a06ff4c6ef88ed303374a54b42cfc297ca5918fb62066b9572c2111b3568b816f79a74e34aab79073e5e12 SHA512 e9fae04c42a84609bf483b9abb879e5ce5c1716604790d3f0478feace9f0df7604993751e8748c6a8495bf10e7d8826a56da53a1d2da07363fdaad28d30d661a +MISC metadata.xml 499 BLAKE2B 7116e88708f7dafb75197e46237ea5d405bc703feadece0bb65766537f64bd2f7ea2b34cf4a4c94d4f25d74f040b6cf5eb0b0072a20600a9d206087b38f63831 SHA512 273279c1235d9888e5b30073044687584699f7f26fd696f019c5b11545f32095319b6bfe52196ed6846cf74c8ffaa2c7f6c9f3a29749fa3315f18adba917094c diff --git a/sys-cluster/spark-bin/files/99spark b/sys-cluster/spark-bin/files/99spark new file mode 100644 index 000000000000..2aa3040328ab --- /dev/null +++ b/sys-cluster/spark-bin/files/99spark @@ -0,0 +1 @@ +SPARK_HOME=/usr/lib/spark diff --git a/sys-cluster/spark-bin/metadata.xml b/sys-cluster/spark-bin/metadata.xml new file mode 100644 index 000000000000..687380a6ed2b --- /dev/null +++ b/sys-cluster/spark-bin/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Gentoo Java Team</name> + </maintainer> + <maintainer type="person"> + <email>alec@alectenharmsel.com</email> + <name>Alec Ten Harmsel</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> +</pkgmetadata> diff --git a/sys-cluster/spark-bin/spark-bin-2.3.1.ebuild b/sys-cluster/spark-bin/spark-bin-2.3.1.ebuild new file mode 100644 index 000000000000..3742cb97bf5a --- /dev/null +++ b/sys-cluster/spark-bin/spark-bin-2.3.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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 +} |