blob: 090c1a001954f19862720374b73ed742204edb12 (
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: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=yamllint
pkgver=1.28.0
pkgrel=1
pkgdesc="A linter for YAML files"
url="https://github.com/adrienverge/yamllint"
arch="noarch"
license="GPL-3.0-or-later"
depends="python3 py3-pathspec py3-yaml"
makedepends="py3-setuptools"
source="https://github.com/adrienverge/yamllint/archive/v$pkgver/yamllint-$pkgver.tar.gz
skip-locale-tests.patch"
build() {
python3 setup.py build
}
check() {
python3 -m unittest discover
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
343474223d6c756d86a575e66340b074bfddb66d9800d7472613c278192739bd5ed1fb7ebd38bdc81fe23b8e3b1326d5b22cb3621ca36d7709240a2085da3892 yamllint-1.28.0.tar.gz
abf8e7089ffa29efd8cea682d7b1178a3a93a5f1158bdf6d058437308e2dce33b72278a303b5a1b9e7dc57040c414ba7945c19b0500788cd3426c9192bce5440 skip-locale-tests.patch
"
|