aboutsummaryrefslogtreecommitdiff
path: root/testing/py3-flake8-quotes/APKBUILD
blob: 68a6b089ca573a1da6e50b4ede88bb7084c2e2f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-flake8-quotes
pkgver=3.2.0
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/f/flake8-quotes/flake8-quotes-$pkgver.tar.gz"
builddir="$srcdir"/flake8-quotes-$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="29e3d73ab8710ae39c5dd610cef60dabcc72312b23a6ae44ff2969426fde8cf3f35b0b5d1445688374fc1236c9eef73a394cf987b7738835a877e6a78d86fdb8  flake8-quotes-3.2.0.tar.gz"