# Contributor: Andy Hawkins # Maintainer: Andy Hawkins pkgname=py3-pytest-tmp-files pkgver=0.0.1 pkgrel=0 pkgdesc="Temporary file hierarchies for pytest" url="https://pypi.org/project/pytest-tmp-files/" arch="noarch" license="MIT" depends=" py3-dateutil py3-pytest " makedepends=" py3-flit-core py3-gpep517 " checkdepends=" py3-parametrize-from-file " subpackages="$pkgname-pyc" source="https://github.com/kalekundert/pytest_tmp_files/archive/v$pkgver/pytest_tmp_files-$pkgver.tar.gz" builddir="$srcdir/pytest_tmp_files-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m venv --clear --without-pip --system-site-packages test-env test-env/bin/python3 -m installer .dist/pytest_tmp_files-$pkgver*-py3-none-any.whl test-env/bin/python3 -m pytest } package() { python3 -m installer -d "$pkgdir" \ .dist/pytest_tmp_files-$pkgver*-py3-none-any.whl } sha512sums=" 1b391ec75a2f0141f772d6442f748518fa29d07eaddf062fc8e9935aefc41afe2b481b98a36b3f75631dba317ad07fbf47d011bac73f894269757857a6779bdc pytest_tmp_files-0.0.1.tar.gz "