blob: 2a54b48972423902a2812f80f5cac0b64713f987 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: envolution
# Contributor: Yonggang Li <gnaggnoyil@gmail.com>
# Contributor: isbest <icoderdev@outlook.com>
# shellcheck shell=bash disable=SC2034,SC2154
_pkgbasename=pyspark
pkgname=python-${_pkgbasename}
pkgver=3.5.5
pkgrel=1
pkgdesc="Apache Spark Python API"
arch=('any')
url="https://pypi.org/project/${_pkgbasename}"
license=('Apache-2.0')
depends=('python-py4j')
makedepends=(
'python-build'
'python-installer'
'python-wheel'
'python-setuptools'
)
optdepends=(
'python-pandas'
'python-pyarrow'
'python-numpy'
'python-grpcio'
'python-grpcio-status'
'python-googleapis-common-protos'
)
source=(
"https://pypi.org/packages/source/${_pkgbasename:0:1}/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz"
)
sha256sums=('6effc9ce98edf231f4d683fd14f7270629bf8458c628d6a2620ded4bb34f3cb9')
build() {
cd "${srcdir}/${_pkgbasename}-${pkgver}"
env PYTHONHASHSEED=0 python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${_pkgbasename}-${pkgver}"
env PYTHONHASHSEED=0 python -m installer --destdir="${pkgdir}" dist/*.whl
}
# vim:set ts=2 sw=2 et:
|