summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8f1e8e152c4cf7288b256c3fe29462409a91caf5 (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
# Maintainer: brodokk <brodokk at brodokk dot space>

_pkgname=flakehell
pkgname=python-$_pkgname

pkgver=0.9.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-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')
makedepends=(python-build python-installer)

source=("https://github.com/flakehell/$_pkgname/archive/refs/tags/v.$pkgver.tar.gz")
sha512sums=('8733d9cf5b19abf6170104837521e2950deeb5ea334e004ff920b4135a243bc51acbe95e907000f57220fbc7589bbaa43745fec27a6e0405dee08792f5dded79')

build() {
    cd "$_pkgname-v.$pkgver"
    python -m build --wheel --no-isolation
}

package() {
    cd "$_pkgname-v.$pkgver"
    python -m installer --destdir="$pkgdir" dist/*.whl
}