diff options
author | root <root@rshg054.dnsready.net> | 2012-02-13 23:15:14 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-13 23:15:14 +0000 |
commit | 16e845de1bbf76ab48a02bfaa21730f45e6afaaa (patch) | |
tree | 29a9ad28230397e62bdb0ab5cd970763a6033f69 /~mtjm/python2-pyflakes/PKGBUILD | |
parent | 0020cc650ff973f269f23332e82fc097254d0adc (diff) |
Mon Feb 13 23:15:14 UTC 2012
Diffstat (limited to '~mtjm/python2-pyflakes/PKGBUILD')
-rw-r--r-- | ~mtjm/python2-pyflakes/PKGBUILD | 33 |
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 +} |