aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-flake8-quotes/APKBUILD
blob: cbcb17cfcbb2b2ba5963525c1a2df2614409763c (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
31
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-flake8-quotes
_pkgname=flake8-quotes
pkgver=2.1.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/${_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="94ccacac3a1ff8b5c8e6ade7568a3784ebcdb7e81d998adeb3f5240eac5c454486578d7a996e96a01ca34e8f510b96ad0cc8872fdc321f9aa8616330e85b0c22  flake8-quotes-2.1.0.tar.gz"