mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 02:35:23 +03:00
30 lines
999 B
Text
30 lines
999 B
Text
# Contributor: Carlos Giraldo <cgiraldo@gradiant.org>
|
|
# Maintainer: Carlos Giraldo <cgiraldo@gradiant.org>
|
|
pkgname=py3-pandas
|
|
_pkgname=pandas
|
|
pkgver=1.3.1
|
|
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
|
|
"
|
|
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="
|
|
ec57d123038cd4018dbfbe2da2d10211d507cdbaa849f4752c5770d017c55cf1d2c4b29f7c86e480695205e95622b28cd75319338644302732eb4ac9efef6993 pandas-1.3.1.tar.gz
|
|
"
|