aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-flake8-quotes/APKBUILD
blob: 2c15eaa9327ca78c5ced0e57df954e77d4447f3f (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-flake8-quotes
_pkgname=flake8-quotes
pkgver=0.8.1
pkgrel=2
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"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	cd "$builddir"
	python3 setup.py build || return 1
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="f04c699da47d41c1bf4cb532072d17b6  flake8-quotes-0.8.1.tar.gz"
sha256sums="668ec2fb0fbf1574a95f49e393364f8a114c7180e5cedc7377c5f4b5257e00fb  flake8-quotes-0.8.1.tar.gz"
sha512sums="f90182798817b88bbf72d7966498e5d2b37e0b2d6ec1e2cecdee69bae8ce582507cd7e3c82a1a9589dfd0bfa9976781280f6c1d51ebc1232a31d6e9a5c34b5e9  flake8-quotes-0.8.1.tar.gz"