aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pandas/APKBUILD
blob: 477108225a95285b500c9d225d34498f6d3ea33b (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
# Contributor: Carlos Giraldo <cgiraldo@gradiant.org>
# Maintainer: Carlos Giraldo <cgiraldo@gradiant.org>
pkgname=py3-pandas
_pkgname=pandas
pkgver=1.1.3
pkgrel=0
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
	https://github.com/pandas-dev/pandas/commit/61e3fd0ad3f2a675c53a347eb34937d703419ffc.patch
	"
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="9ccec596bb5827b2e3dd48fc59ebea0c42467902e7940746782905df41383790e965ef1a9ad03c905b4087e9745c2961e18bc20822c1dd9f23f2413a5ddcd8b7  pandas-1.1.3.tar.gz
c7c0f7834e488b08afb9c2cb9db9793c924a196743f87f9321f398aef927ddc0f73f5e2a88539ec4e27418c99468eac82289ccebb2a74b90b2c60cee90c06b4c  61e3fd0ad3f2a675c53a347eb34937d703419ffc.patch"