aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-flake8-todo
diff options
context:
space:
mode:
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"