summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f01d8963f69e32fc58c34b73d114d393449101c4 (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
# Maintainer: neodarz <neodarz at neodarz dot net>

_pkgname=flakehell
pkgname=python-$_pkgname

pkgver=0.5.0
pkgrel=1
pkgdesc="Flake8 wrapper to make it nice, legacy-friendly, configurable."

url='https://flakehell.readthedocs.io/'
arch=('any')
license=('MIT')

depends=('python' 'python-setuptools' 'python-dephell' 'python-attrs' 'python-entrypoints' 'python-typing-extensions' 'python-termcolor' 'python-flake8-quotes' 'python-pygments' 'python-isort' 'python-pylint' 'python-urllib3' 'flake8' 'python-mccabe' 'python-flake8-commas')

source=("https://github.com/life4/$_pkgname/archive/v.$pkgver.tar.gz")
sha512sums=('a69f00131c5453e46809bdd1e978348b47c218022f9b3b95db126380cfd05e78261492b99745f364a6883e6401c93d8472554fcb62543536793ecc69f92ab1a1')

prepare() {
    cd "$_pkgname-v.$pkgver"
    dephell deps convert --from pyproject.toml --to setup.py
}

package() {
    cd "$_pkgname-v.$pkgver"
    python setup.py install --root="$pkgdir" --optimize=1
}