# Contributor: Iztok Fister, Jr. # Maintainer: Iztok Fister, Jr. pkgname=py3-mizani pkgver=0.12.1 pkgrel=0 pkgdesc="A scales package for python" url="https://github.com/has2k1/mizani" arch="noarch" license="MIT" depends=" python3 py3-numpy py3-scipy py3-pandas py3-matplotlib py3-palettable py3-tzdata " checkdepends="py3-pytest-xdist py3-pytest-cov" makedepends="py3-gpep517 py3-setuptools_scm py3-wheel" subpackages="$pkgname-pyc" source="https://github.com/has2k1/mizani/archive/v$pkgver/mizani-$pkgver.tar.gz" builddir="$srcdir/mizani-$pkgver" build() { export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m venv --clear --without-pip --system-site-packages .testenv .testenv/bin/python3 -m installer .dist/*.whl .testenv/bin/python3 -m pytest -n auto -k 'not breaks and not test_bounds' } package() { python3 -m installer -d "$pkgdir" \ .dist/mizani-$pkgver-py3-none-any.whl } sha512sums=" 017ef41dd8fbe39ab073c6e5a4cb031dc5f54d2d16289cf101b1f16d73e3b1aa6935fe6290d92721fc9f2d9959441f111b014a053a4c24901ffef05a249faf7a mizani-0.12.1.tar.gz "