blob: e6fa8d94df516dd3042787047917da9f315e5521 (
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
|
# Maintainer: acxz <akashpatel2008@yahoo.com>
pkgname="python-flake8-class-newline"
_pkgname="flake8-class-newline"
pkgver=1.6.0
pkgrel=1
pkgdesc="Flake lint for newline after class definitions."
arch=('any')
url="https://github.com/AlexanderVanEck/${_pkgname}"
license=('MIT')
depends=('flake8')
source=("https://github.com/AlexanderVanEck/flake8-class-newline/archive/$pkgver.tar.gz")
md5sums=('abf91dad16b08ec69b13b12886550774')
build() {
cd "${_pkgname}-${pkgver}"
python setup.py build
}
package() {
cd "${_pkgname}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1
install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|