summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-02-13 19:53:27 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-02-13 19:53:27 +0100
commit1dcf8bf08199e9fddf4f80780231e712ecbf5665 (patch)
treedde0ff6943ead3f8f973a07f6cd37264b36fe87b
parent7564595c88be9fe9b961c9b776c6ba7bb0d00451 (diff)
downloadabslibre-1dcf8bf08199e9fddf4f80780231e712ecbf5665.tar.gz
abslibre-1dcf8bf08199e9fddf4f80780231e712ecbf5665.tar.bz2
abslibre-1dcf8bf08199e9fddf4f80780231e712ecbf5665.zip
Add ~mtjm/python2-pyflakes, from AUR.
-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
+}