aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-pylint/APKBUILD
blob: a7e6abc7e99a5ea8aa863ddc7e51db07ce275eb5 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-pylint
_pkgname=pylint
pkgver=2.4.4
pkgrel=0
pkgdesc="Analyzes Python code looking for bugs and signs of poor quality"
options="!check" # 1 test test_by_module_statement_value fails
url="https://github.com/PyCQA/pylint"
arch="noarch"
license="GPL-2.0-or-later"
depends="py3-astroid py3-isort py3-mccabe py3-setuptools"
checkdepends="mpdecimal py3-pytest py3-pytest-runner"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py pytest
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="835e0687ebc76c530e0042c5a5188b8aedab446531f621627e990cbeb37ab6ecc8de0f8c6ab171abaa63488e049e8d7782958461421f9a4127435f56b6d2ed0b  pylint-2.4.4.tar.gz"