51 lines
1.1 KiB
Plaintext

# Contributor: Andy Hawkins <andy@gently.org.uk>
# Maintainer: Andy Hawkins <andy@gently.org.uk>
pkgname=py3-parametrize-from-file
pkgver=0.14.0
pkgrel=0
pkgdesc="Parametrize From File"
url="https://parametrize-from-file.readthedocs.io/en/latest/"
arch="noarch"
license="MIT"
depends="
python3>=3.6
py3-toml
py3-yaml
py3-nestedtext
py3-tidyexc
py3-more-itertools>=8.10
py3-contextlib2
py3-decopatch
py3-voluptuous
"
makedepends="
py3-build
py3-flit
py3-installer
"
checkdepends="
py3-pytest
py3-pytest-cov
py3-coveralls
py3-numpy
"
source="https://github.com/kalekundert/parametrize_from_file/archive/v$pkgver/parametrize_from_file-v$pkgver.tar.gz"
builddir="$srcdir/parametrize_from_file-$pkgver"
build() {
python3 -m build --no-isolation --wheel .
}
check() {
PYTHONPATH="$PWD/build/lib" pytest
}
package() {
python3 -m installer -d "$pkgdir" \
dist/parametrize_from_file-$pkgver-py2.py3-none-any.whl
}
sha512sums="
b1e061229139a11a11a88aec19c6051d9306cc3106ee1b1a49d905229de481313d2a73dc0be2d12027ba4870cf7877a05dd0fc4d836baf7be48c94a40ef977dd parametrize_from_file-v0.14.0.tar.gz
"