blob: 57b56811c1c779f2d427faae56c28611ed2d5dc6 (
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
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-flake8-class
_pkgname=flake8-class
pkgver=0.0.6
pkgrel=1
pkgdesc="Extension for flake8 lint of class declations"
url="https://github.com/hellysmile/flake8-class"
arch="noarch"
license="MIT"
depends="flake8"
makedepends="python3-dev"
source="$_pkgname-$pkgver.tar.gz::https://github.com/hellysmile/$_pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
build() {
cd "$builddir"
python3 setup.py build || return 1
}
package() {
cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
sha512sums="598a7a29500ec85fa9eb81b378d1271d888508246ba63cac6df8473922c009c5d6fb514884b9c57686652e90eedede3c41f16b291737b9b5cf6b21a42cba2356 flake8-class-0.0.6.tar.gz"
|