aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-flake8-todo/APKBUILD
blob: d716f9e0e7eb355c751d05a9cfcbdda4e08d5479 (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-todo
_pkgname=flake8-todo
pkgver=0.6
pkgrel=0
pkgdesc="TODO notes checker plugin for flake8"
url="https://github.com/schlamar/flake8-todo"
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="e43766af016e8bc502903ba37c2bab5a  flake8-todo-0.6.tar.gz"
sha256sums="974ad0de9212fa9f38bc5136ca6cb491b5736ef3b3d1df6fbaec7eea22d553e1  flake8-todo-0.6.tar.gz"
sha512sums="6988a41f5fc05d0cbd14617681c1002d466c33b3e3e5ce5bc8500f66457015e6538c083163cd4f6c1b4d5954e123e4de1c0caaec539053df6fc9be58d358bfa0  flake8-todo-0.6.tar.gz"