mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 13:41:20 +02:00
32 lines
1.0 KiB
Plaintext
32 lines
1.0 KiB
Plaintext
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
pkgname=py3-seaborn
|
|
_pkgorig=seaborn
|
|
pkgver=0.11.2
|
|
pkgrel=0
|
|
pkgdesc="Statistical data visualization in Python"
|
|
url="https://github.com/mwaskom/seaborn"
|
|
arch="noarch !riscv64" # py3-matplotlib
|
|
license="BSD-3-Clause"
|
|
depends="python3 py3-numpy py3-pandas py3-matplotlib py3-scipy" # statsmodels is also in extras
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/mwaskom/seaborn/archive/refs/tags/v$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgorig-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
pytest -k 'not test_categorical and not test_distributions' # a minor portion of tests is failing (e.g. assertionErrors)
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
f0670f20201cb72c5407cf1cda9543568c98162e5ed8af4f2d3f5bbb10de58d2ab466245c5be07a11f647d934fa3ed6bd162df857377f82b0336118d4f4b4917 py3-seaborn-0.11.2.tar.gz
|
|
"
|