aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pandas/APKBUILD
blob: 7f71f44b0155338833a160926158e2782cc97d3a (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
# Contributor: Carlos Giraldo <cgiraldo@gradiant.org>
# Maintainer: Carlos Giraldo <cgiraldo@gradiant.org>
pkgname=py3-pandas
_pkgname=pandas
pkgver=1.5.1
pkgrel=0
pkgdesc="Powerful data structures for data analysis, time series, and statistics"
url="https://pandas.pydata.org/"
arch="all"
license="BSD-3-Clause"
depends="py3-dateutil py3-numpy py3-tz"
makedepends="
	cython
	linux-headers
	py3-gpep517
	py3-numpy-dev
	py3-setuptools
	python3-dev
	py3-wheel
	"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
	"
builddir="$srcdir/$_pkgname-$pkgver"

replaces="py-pandas" # Backwards compatibility
provides="py-pandas=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	gpep517 build-wheel \
		--wheel-dir dist \
		--output-fd 1
}

package() {
	python3 -m installer -d "$pkgdir" \
		dist/pandas-$pkgver-*.whl
}

sha512sums="
e5f25f21f17f36c6488f14fbfa391beb9f1989652de01cb8346d2826dead9331fea27295ee1e6f42d0875f2f1a91fcd23d606edd339432589bca5ba8d89e5ecd  pandas-1.5.1.tar.gz
"