diff options
Diffstat (limited to 'community/py3-parametrize-from-file/APKBUILD')
-rw-r--r-- | community/py3-parametrize-from-file/APKBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/community/py3-parametrize-from-file/APKBUILD b/community/py3-parametrize-from-file/APKBUILD new file mode 100644 index 00000000000..2c46f5f77a4 --- /dev/null +++ b/community/py3-parametrize-from-file/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: Andy Hawkins <andy@gently.org.uk> +# Maintainer: Andy Hawkins <andy@gently.org.uk> +pkgname=py3-parametrize-from-file +pkgver=0.20.0 +pkgrel=1 +pkgdesc="Parametrize From File" +url="https://parametrize-from-file.readthedocs.io/en/latest/" +arch="noarch" +license="MIT" +depends=" + python3>=3.8 + py3-toml + py3-yaml + py3-nestedtext + py3-tidyexc + py3-more-itertools>=8.10 + py3-decopatch + " +makedepends=" + py3-flit-core + py3-gpep517 + " +checkdepends=" + py3-pytest + py3-pytest-cov + py3-coveralls + py3-numpy + " +subpackages="$pkgname-pyc" +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() { + gpep517 build-wheel \ + --wheel-dir .dist \ + --output-fd 3 3>&1 >&2 +} + +check() { + PYTHONPATH="$PWD/build/lib" pytest +} + +package() { + python3 -m installer -d "$pkgdir" \ + .dist/parametrize_from_file*.whl +} + +sha512sums=" +b6911d2f2429b97f5a6a2ae81695a900aa27b9287ea07e0cfb9b791c2d36c42d44f01ee65f0a7c4517ac749d7ad2b0ad8c51b065be68d0d9bc570104bde9d205 parametrize_from_file-v0.20.0.tar.gz +" |