summaryrefslogtreecommitdiff
path: root/~mtjm
diff options
context:
space:
mode:
Diffstat (limited to '~mtjm')
-rw-r--r--~mtjm/python2-pyflakes/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/~mtjm/python2-pyflakes/PKGBUILD b/~mtjm/python2-pyflakes/PKGBUILD
new file mode 100644
index 000000000..397c487b7
--- /dev/null
+++ b/~mtjm/python2-pyflakes/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 64234 2012-02-11 00:28:07Z arodseth $
+# Maintainer: Thomas Dziedzic < gostrc at gmail >
+# Contributor: TDY <tdy@gmx.com>
+# Contributor: Tiago Pierezan Camargo <tcamargo@gmail.com>
+
+pkgname=python2-pyflakes
+pkgver=0.5.0
+pkgrel=1
+pkgdesc='A lint-like tool for Python to identify common errors quickly without executing code'
+arch=('any')
+url='http://pypi.python.org/pypi/pyflakes'
+license=('custom:MIT')
+depends=('python2')
+provides=('pyflakes')
+conflicts=('pyflakes')
+replaces=('pyflakes')
+source=("http://pypi.python.org/packages/source/p/pyflakes/pyflakes-${pkgver}.tar.gz")
+md5sums=('568dab27c42e5822787aa8a603898672')
+
+build() {
+ cd pyflakes-${pkgver}
+
+ python2 setup.py build
+}
+
+package() {
+ cd pyflakes-${pkgver}
+
+ python2 setup.py install --prefix=/usr --root=${pkgdir} --optimize=1
+
+ install -D -m644 LICENSE \
+ ${pkgdir}/usr/share/licenses/pyflakes/LICENSE
+}