Diff spark-bin-2.4.7-r1 with a spark-bin-3.0.1-r2
/usr/portage/sys-cluster/spark-bin/spark-bin-3.0.1-r2.ebuild 2023-10-09 14:52:35.468368501 +0300 | ||
---|---|---|
7 | 7 | |
8 | 8 |
DESCRIPTION="Lightning-fast unified analytics engine" |
9 | 9 |
HOMEPAGE="https://spark.apache.org" |
10 |
SRC_URI=" |
|
11 |
!scala212? ( scala211? ( mirror://apache/spark/spark-${PV}/spark-${PV}-bin-without-hadoop.tgz -> ${P}-nohadoop-scala211.tgz ) ) |
|
12 |
!scala211? ( scala212? ( mirror://apache/spark/spark-${PV}/spark-${PV}-bin-without-hadoop-scala-2.12.tgz -> ${P}-nohadoop-scala212.tgz ) ) |
|
13 |
" |
|
14 | ||
15 |
REQUIRED_USE="^^ ( scala211 scala212 )" |
|
10 |
SRC_URI="mirror://apache/spark/spark-${PV}/spark-${PV}-bin-without-hadoop.tgz -> ${P}-nohadoop.tgz" |
|
16 | 11 | |
17 | 12 |
LICENSE="Apache-2.0" |
18 |
SLOT="2" |
|
13 |
SLOT="3" |
|
19 | 14 |
KEYWORDS="~amd64" |
20 | 15 | |
21 |
IUSE="scala211 scala212" |
|
22 | ||
23 | 16 |
RDEPEND=" |
24 | 17 |
>=virtual/jre-1.8" |
25 | 18 | |
26 | 19 |
DEPEND=" |
27 | 20 |
>=virtual/jdk-1.8" |
28 | 21 | |
29 |
DOCS=( LICENSE NOTICE README.md RELEASE ) |
|
22 |
S="${WORKDIR}/spark-${PV}-bin-without-hadoop" |
|
30 | 23 | |
31 |
src_unpack() { |
|
32 |
unpack ${A} |
|
33 |
use scala211 && S="${WORKDIR}/spark-${PV}-bin-without-hadoop" |
|
34 |
use scala212 && S="${WORKDIR}/spark-${PV}-bin-without-hadoop-scala-2.12" |
|
35 |
} |
|
24 |
DOCS=( LICENSE NOTICE README.md RELEASE ) |
|
36 | 25 | |
37 | 26 |
# Nothing to compile here. |
38 | 27 |
src_compile() { :; } |