1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 02:05:16 +03:00
aports/community/py3-seaborn/APKBUILD
2023-02-20 11:22:37 +01:00

35 lines
1.1 KiB
Text

# 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.12.2
pkgrel=0
pkgdesc="Statistical data visualization in Python"
url="https://github.com/mwaskom/seaborn"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-numpy py3-pandas py3-matplotlib py3-scipy" # statsmodels is also in extras
makedepends="py3-gpep517 py3-flit-core"
checkdepends="py3-pytest py3-pytest-xdist"
source="$pkgname-$pkgver.tar.gz::https://github.com/mwaskom/seaborn/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgorig-$pkgver"
build() {
gpep517 build-wheel \
--wheel-dir dist \
--output-fd 3 3>&1 >&2
}
check() {
pytest -n $JOBS \
-k 'not test_categorical and not test_distributions and not test_axisgrid' # a minor portion of tests is failing (e.g. assertionErrors)
}
package() {
python3 -m installer -d "$pkgdir" \
dist/seaborn-$pkgver-py3-none-any.whl
}
sha512sums="
106dc4d74de19ebda49e5c77b5d52e2ffd6587f457769c037e0741085e76a9a1050cf9f1a1baa17d5b78040526ce868c4e4feeba9c45fe0c9714b181ec269c2b py3-seaborn-0.12.2.tar.gz
"