mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 18:55:29 +03:00
40 lines
1 KiB
Text
40 lines
1 KiB
Text
# Contributor: Carlos Giraldo <cgiraldo@gradiant.org>
|
|
# Maintainer: Carlos Giraldo <cgiraldo@gradiant.org>
|
|
pkgname=py3-pandas
|
|
_pkgname=pandas
|
|
pkgver=1.5.3
|
|
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://github.com/pandas-dev/pandas/releases/download/v$pkgver/pandas-$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 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/pandas-$pkgver-*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
3c725c33dcaf78b952d2eb966ced73ff0073162a01d3cbcb722d58d8f12a82163e6e684c27284c735bdfb32dea263b960f70f6a80ff93e6b316316d40835ae35 pandas-1.5.3.tar.gz
|
|
"
|