# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-flake8-print _pkgname=flake8-print pkgver=5.0.0 pkgrel=5 pkgdesc="Extension for flake8 which lint for print statements" url="https://github.com/jbkahn/flake8-print" arch="noarch" license="MIT" depends="py3-flake8 python3" makedepends="py3-poetry-core py3-pytest-runner py3-gpep517 py3-wheel" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver replaces="py-flake8-print" # Backwards compatiblity provides="py-flake8-print=$pkgver-r$pkgrel" # Backwards compatiblity build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } package() { gpep517 install-wheel --destdir "$pkgdir" \ .dist/*.whl } sha512sums=" 69fd20fa92b795c8efa5971f9e17e6ac579fb642b3c07fafc4143b4d01acc2c577dbba6fd818c8ad92ad60709986777da59b804f2fec768f210a64b88252a987 flake8-print-5.0.0.tar.gz "