aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-flake8-todo
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-09-05 21:05:54 +0000
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2013-09-08 14:35:47 +0200
commit18b4fb386cd86603ab35c36897ee2de8e2e9d338 (patch)
tree9b55b1280a6a0f74389423573530d89142edbe51 /testing/py-flake8-todo
parente8caf8f1dbe803ffddfc43e9b8811002d7e1aaa2 (diff)
downloadaports-18b4fb386cd86603ab35c36897ee2de8e2e9d338.tar.bz2
aports-18b4fb386cd86603ab35c36897ee2de8e2e9d338.tar.xz
testing/py-flake8-todo: new aport
TODO notes checker plugin for flake8 https://github.com/schlamar/flake8-todo
Diffstat (limited to 'testing/py-flake8-todo')
-rw-r--r--testing/py-flake8-todo/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-flake8-todo/APKBUILD b/testing/py-flake8-todo/APKBUILD
new file mode 100644
index 0000000000..7823de17cc
--- /dev/null
+++ b/testing/py-flake8-todo/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-flake8-todo
+_pkgname=flake8-todo
+pkgver=0.2
+pkgrel=0
+pkgdesc="TODO notes checker plugin for flake8"
+url="https://github.com/schlamar/flake8-todo"
+arch="noarch"
+license="MIT"
+depends="python py-flake8"
+depends_dev=""
+makedepends="python-dev py-setuptools"
+install=""
+subpackages=""
+source="http://pypi.python.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"
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+}
+
+md5sums="3afe48d32dedcc6fbcd6ab8321001f5a flake8-todo-0.2.zip"
+sha256sums="0f80a4ba138882db2154eec110f911b85b425b705780639ec462b2e1368aa5ab flake8-todo-0.2.zip"
+sha512sums="65111f3bd0655dfee8bdd27276c692403d972d88ebc468f7e4c17f16a57bceef6dca06e46049987988205e01d9cd26c8b2cee693db0832144425f187a526488d flake8-todo-0.2.zip"