aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-flake8-author/APKBUILD
blob: 093fdc15bc283d0667a1c702df3e1f9c36083c80 (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-author
_pkgname=flake8-author
pkgver=1.1.1
pkgrel=0
pkgdesc="Extension for flake8 to check author's entries"
url="https://github.com/jparise/flake8-author"
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="64f73e17764bf9f8c43901444f220eb3  flake8-author-1.1.1.tar.gz"
sha256sums="52a1a9bc9caa15bc9b8675c4b93e3effa67ac1ee4f0cc64f11e7df892fb96912  flake8-author-1.1.1.tar.gz"
sha512sums="9c789c22b9715639e3608752b17573b64bce6fd8ceac65533571849f151271874950f3297b7ffbc3665c2ab3a3784395fc5abf79b4cd24e817fea0ec1f7448a4  flake8-author-1.1.1.tar.gz"