aboutsummaryrefslogtreecommitdiffstats
path: root/community/vint/APKBUILD
blob: a1cf98c2bf1b42793bac077c615dfe83cfa964a1 (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
31
# Contributor: Keith Maxwell <keith.maxwell@gmail.com>
# Maintainer: Keith Maxwell <keith.maxwell@gmail.com>
pkgname=vint
pkgver=0.3.21
pkgrel=2
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"
makedepends="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/vint/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="47e832d382952cb16bcc233eefa1f06ca74f95eb445d7f96d6804391b91a2c8a8e7b749b7f33f65aed9d3bdc1ff5e5332a62c3935969395f16a854f0f66e383b  vint-0.3.21.tar.gz
e777c74ffc16964848f22f051281a284fa05774bd7be9417ea5ad033ea9bc264687df10151e08bf5d319aa7168481e5dd8e3366a942af4fe739ef64511268fa4  01-python3-shebang.patch"