aboutsummaryrefslogtreecommitdiffstats
path: root/testing/vint/APKBUILD
blob: a6f732cf00211f51965ededabc0cdbc473bdcb37 (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
30
# Contributor: Keith Maxwell <keith.maxwell@gmail.com>
# Maintainer: Keith Maxwell <keith.maxwell@gmail.com>
pkgname=vint
pkgver=0.3.20
pkgrel=0
pkgdesc="Fast and Highly Extensible Vim script Language Lint"
url="https://github.com/Kuniwak/vint"
arch="noarch"
license="MIT"
depends="python3 py3-yaml py3-chardet py3-ansicolor py3-setuptools"
checkdepends="py3-pytest py3-pytest-cov py3-coverage"
# no tests in artifact on PyPI
source="$pkgname-$pkgver.tar.gz::https://github.com/Kuniwak/$pkgname/archive/v$pkgver.tar.gz
	01-python3-shebang.patch
	"

build() {
	python3 setup.py build
}

check() {
	python3 -m pytest
}

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

sha512sums="a71437cf20361d86fccfdccc05bebd30b40941ebbf65d587eb158d5e4ed3fdcb807b2291de082df7b9f66f4ccf1832ee0797156133a6c152536bd1915ffc4da4  vint-0.3.20.tar.gz
e777c74ffc16964848f22f051281a284fa05774bd7be9417ea5ad033ea9bc264687df10151e08bf5d319aa7168481e5dd8e3366a942af4fe739ef64511268fa4  01-python3-shebang.patch"