testing/py3-flake8-quotes: switch to py3

This commit is contained in:
Leo 2019-07-20 12:40:44 -03:00
parent 410a10dae8
commit d4e5bb8f66

View File

@ -1,26 +1,27 @@
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-flake8-quotes
pkgname=py3-flake8-quotes
_pkgname=flake8-quotes
pkgver=0.8.1
pkgrel=2
pkgrel=3
pkgdesc="Extension for flake8 which lint for double quotes"
url="http://github.com/zheller/flake8-quotes/"
arch="noarch"
license="MIT"
depends="flake8"
makedepends="python3-dev"
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() {
cd "$builddir"
python3 setup.py build || return 1
python3 setup.py build
}
package() {
cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
md5sums="f04c699da47d41c1bf4cb532072d17b6 flake8-quotes-0.8.1.tar.gz"