blob: 6da9a0c8c88f0def877bd7e89e4e1fbbc4f60cec (
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
34
35
36
37
38
39
40
41
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-flake8
_pkgname=flake8
pkgver=2.0
pkgrel=0
pkgdesc="A modular source code checker"
url="https://bitbucket.org/tarek/flake8/wiki/Home"
arch="noarch"
license="MIT"
depends="python"
depends_dev=""
makedepends="python-dev py-setuptools py-mccabe py-pep8 pyflakes"
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="176c6b3613777122721db181560aa1e3 flake8-2.0.tar.gz"
sha256sums="8dce4f7e64cc202cc6da93eab84b2ce660110ff684b6738bba64a0a431b3bc69 flake8-2.0.tar.gz"
sha512sums="6e3d8030562c4489dce8d4b17464ea8c0239b7c28fcefb7c67bff645e18628bc3074ff0ff197ab54228544d0ff85c2ff9509502c8f98371d8dc5df6f1e3ec047 flake8-2.0.tar.gz"
|