mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 10:45:15 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
36 lines
957 B
Text
36 lines
957 B
Text
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
pkgname=py3-statys
|
|
_pkgorig=statys
|
|
pkgver=1.0.1
|
|
pkgrel=2
|
|
pkgdesc="Statistical analyzers to provide more robust comparisons between Machine Learning techniques"
|
|
url="https://github.com/gugarosa/statys"
|
|
arch="noarch !x86" #assertion errors
|
|
license="Apache-2.0"
|
|
depends="
|
|
python3
|
|
py3-matplotlib
|
|
py3-numpy
|
|
py3-scipy
|
|
"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest xvfb-run"
|
|
source="https://github.com/gugarosa/statys/archive/v$pkgver/$_pkgorig-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgorig-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
xvfb-run -a python3 -m pytest -k 'not plot'
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
e729268ff5c93b2088806e61cc8cce6378da712f90c7cb997583b89e543b5e4672a9852d0e2f5ba96e8d31a80840d1c3e255b88f4a1f8c4b6c4761d20c8e29f7 statys-1.0.1.tar.gz
|
|
"
|