aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pandas/APKBUILD
blob: e58e0b187077ddf81d4316dcbc1351dd3bc8bc43 (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
# Contributor: Carlos Giraldo <cgiraldo@gradiant.org>
# Maintainer: Carlos Giraldo <cgiraldo@gradiant.org>
pkgname=py3-pandas
_pkgname=pandas
pkgver=1.2.1
pkgrel=1
pkgdesc="Powerful data structures for data analysis, time series, and statistics"
url="https://pandas.pydata.org/"
arch="all !mips !mips64" # blocked by py3-numpy
license="BSD-3-Clause"
depends="py3-dateutil py3-numpy py3-tz"
makedepends="linux-headers py3-numpy-dev python3-dev py3-setuptools cython"
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() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="9bf9212ebdd07785f1877f5f80d6a5beb4637e8a1cf741e32a705a48724280a8e8daae209c66c1a3f00718b566127d77af578d6c72a5d9b68e2b03784c604083  pandas-1.2.1.tar.gz"