blob: 397c487b74534bb2a8603c3c2e8af48008627f07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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
}
|