blob: c23b0177baa413dd97521c581109d3bf1243cbcc (
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
32
33
34
35
36
37
38
39
40
41
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-flake8-todo
_pkgname=flake8-todo
pkgver=0.3
pkgrel=1
pkgdesc="TODO notes checker plugin for flake8"
url="https://github.com/schlamar/flake8-todo"
arch="noarch"
license="MIT"
depends="python2 flake8"
depends_dev=""
makedepends="python2-dev py-setuptools"
install=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python2 setup.py build || return 1
}
package() {
cd "$_builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="489b799f09678b0459e24ee71ec757fe flake8-todo-0.3.zip"
sha256sums="462788906ce7a0a6914d95cc61a5502bd157b56878832241d47ddb4f26c9ae0d flake8-todo-0.3.zip"
sha512sums="c5b36d3c42f87588ef4aa8fc9a9fd67b2047183c90e4dce8ac12d1b7656c135bd6635a08d92c463c36bc0fb80f55b42bdb5145841dc1fabf934ca8d76e6008a7 flake8-todo-0.3.zip"
|