summaryrefslogtreecommitdiff
path: root/repo/python-flake8/python-flake8.xibuild
blob: 6a7b5eca071eb65603f0b6cd220a8362a3eeb8b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

MAKEDEPS="python"
DEPS="python-mccabe python-pycodestyle python-pyflakes python-importlib-python-metadata"

PKG_VER=4.0.1
SOURCE=https://files.pythonhosted.org/packages/source/f/flake8/flake8-$PKG_VER.tar.gz
MAKEDEPS="python"
DESC="the modular source code checker: pep8 pyflakes and co"

build() {
    python setup.py build
}

package () {
    python setup.py install --root="$PKG_DEST" --optimize=1
}