# Contributor: Bart Ribbers # Maintainer: Steven Guikal pkgname=py3-pytest-black pkgver=0.3.12 pkgrel=6 pkgdesc="pytest plugin to enable format checking with black" url="https://github.com/shopkeep/pytest-black" arch="noarch" license="MIT" depends=" py3-pytest black py3-toml " makedepends=" py3-gpep517 py3-setuptools py3-setuptools_scm py3-wheel " checkdepends="py3-pytest" subpackages="$pkgname-pyc" source="https://pypi.python.org/packages/source/p/pytest-black/pytest-black-$pkgver.tar.gz" builddir="$srcdir/pytest-black-$pkgver" build() { 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 } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" 3bf6cc27a872f351ad1b49650d5b4758d14fea65627008204d2f45557c61e597def6aa6eb6f61fb439ebf783b4df997a3c4320ccbb65ee99d0dd9eaa6fde05bd pytest-black-0.3.12.tar.gz "