summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 459a0c574200a672540155b0ec373c9e347de9bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: neodarz <neodarz at neodarz dot net>

_pkgname=flake8-commas
pkgname=python-$_pkgname

pkgver=2.1.0
pkgrel=1
pkgdesc="Flake8 extension for enforcing trailing commas in python"

url='https://github.com/PyCQA/flake8-commas'
arch=('any')
license=('MIT')

depends=('python' 'python-setuptools')

source=("https://github.com/PyCQA/$_pkgname/archive/$pkgver.tar.gz")
sha512sums=('beec3bd687c90dafbe88702218dc56bc7a8adfcd7f597d96a1c350850298593cd5062243e75d9bae6b7476be8f28ff09b7f729d7d818c7250a8bf61cc20e7d08')

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