diff --git a/testing/py3-flake8-quotes/APKBUILD b/testing/py3-flake8-quotes/APKBUILD index 2c15eaa9327..6ccb9ef1411 100644 --- a/testing/py3-flake8-quotes/APKBUILD +++ b/testing/py3-flake8-quotes/APKBUILD @@ -1,26 +1,27 @@ # Contributor: Fabian Affolter # Maintainer: Fabian Affolter -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"