# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-flake8-quotes _pkgname=flake8-quotes pkgver=2.1.1 pkgrel=0 pkgdesc="Extension for flake8 which lint for double quotes" url="http://github.com/zheller/flake8-quotes/" arch="noarch" license="MIT" depends="py3-flake8" makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver replaces="py-flake8-quotes" # Backwards compatiblity provides="py-flake8-quotes=$pkgver-r$pkgrel" # Backwards compatiblity build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="f5f1a36d5b3e5ca4472bc41ede483186e0d1f72479e671ce69ca67a008c0adb76dc9f599c2fa5126f28d1e06ffccc9f5e913416395d5964c50e406e22c119110 flake8-quotes-2.1.1.tar.gz"