mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-26 08:51:25 +02:00
The current $source URL does not seem to exist anymore. Grabbing the source from the github project. The checksum package changed!
27 lines
841 B
Plaintext
27 lines
841 B
Plaintext
# 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"
|