mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 02:35:23 +03:00
30 lines
1,007 B
Text
30 lines
1,007 B
Text
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
pkgname=py3-scikit-plot
|
|
pkgver=0.3.7
|
|
pkgrel=0
|
|
pkgdesc="An intuitive library to add plotting functionality to scikit-learn objects"
|
|
url="https://github.com/reiinakano/scikit-plot"
|
|
arch="noarch !riscv64 !s390x" # py3-matplotlib #scikit-learn
|
|
license="MIT"
|
|
depends="python3 py3-joblib py3-matplotlib py3-scipy py3-scikit-learn"
|
|
checkdepends="python3-dev py3-pytest"
|
|
makedepends="py3-setuptools"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/reiinakano/scikit-plot/archive/v$pkgver/scikit-plot-$pkgver.tar.gz"
|
|
builddir="$srcdir/scikit-plot-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 -m pytest -k 'not test_metrics'
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
46dfe3d5562f70f379611e3f287c5721b95e4b5f860700ed9553b327a56359d7d2c5ea683251a68d81cd257184fc9d535907b2afc9cc7b56236557a69500236c py3-scikit-plot-0.3.7.tar.gz
|
|
"
|