New package: python-yamllint-1.6.0
This commit is contained in:
parent
e2b7963568
commit
cce55bd549
2 changed files with 30 additions and 0 deletions
29
srcpkgs/python-yamllint/template
Normal file
29
srcpkgs/python-yamllint/template
Normal file
|
@ -0,0 +1,29 @@
|
|||
# Template file for 'python-yamllint'
|
||||
pkgname=python-yamllint
|
||||
version=1.6.0
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc="yamllint-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="yamllint"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python-yaml"
|
||||
short_desc="A Python2 linter for YAML files"
|
||||
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
|
||||
homepage="https://github.com/adrienverge/yamllint"
|
||||
license="GPL-3"
|
||||
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||
checksum=4e7ea55142fdfc247bb01711962bae852136bf56ddfdd1d66e07eff355d9969e
|
||||
alternatives="yamllint:yamllint:/usr/bin/yamllint2"
|
||||
|
||||
python3-yamllint_package() {
|
||||
noarch=yes
|
||||
depends="python3-yaml"
|
||||
pycompile_module="yamllint"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
alternatives="yamllint:yamllint:/usr/bin/yamllint3"
|
||||
pkg_install() {
|
||||
vmove usr/bin/*3
|
||||
vmove usr/lib/python3*
|
||||
}
|
||||
}
|
1
srcpkgs/python3-yamllint
Symbolic link
1
srcpkgs/python3-yamllint
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-yamllint
|
Loading…
Reference in a new issue