aboutsummaryrefslogtreecommitdiffstats
path: root/main/pyflakes/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/pyflakes/APKBUILD')
-rw-r--r--main/pyflakes/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/main/pyflakes/APKBUILD b/main/pyflakes/APKBUILD
new file mode 100644
index 0000000000..cb53407331
--- /dev/null
+++ b/main/pyflakes/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=pyflakes
+pkgver=0.8.1
+pkgrel=0
+pkgdesc="A passive checker of Python programs"
+url="https://launchpad.net/pyflakes"
+arch="noarch"
+license="MIT"
+depends="python"
+depends_dev=""
+makedepends="python-dev"
+install=""
+subpackages=""
+source="http://pypi.python.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz"
+
+_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="905fe91ad14b912807e8fdc2ac2e2c23 pyflakes-0.8.1.tar.gz"
+sha256sums="3fa80a10b36d51686bf7744f5dc99622cd5c98ce8ed64022e629868aafc17769 pyflakes-0.8.1.tar.gz"
+sha512sums="b9843637891f3e82a8430121395ceb4ec5df48b5ba73b96a307ebcb4a393e8cebee1681e094ee1f71a85b58bd2f32562b78fbd61d3fa85634f3ac448b1244637 pyflakes-0.8.1.tar.gz"