Merge pull request #5421 from lafrenierejm/python-vint
New package: python-vint-0.3.11
This commit is contained in:
commit
593b4edad6
|
@ -0,0 +1,34 @@
|
|||
# Template file for 'python-vint'
|
||||
pkgname=python-vint
|
||||
version=0.3.11
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc="vint-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="vint"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python-ansicolor python-chardet python-enum34 python-pathlib python-yaml"
|
||||
short_desc="Python2 lint tool for Vim script Language"
|
||||
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
|
||||
homepage="https://github.com/Kuniwak/vint"
|
||||
license="MIT"
|
||||
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||
checksum=33fc2178b9244d3058669984735a3e20f82fd0e927b31387fc910336614d671f
|
||||
alternatives="vint:vint:/usr/bin/vint2"
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE.txt
|
||||
}
|
||||
|
||||
python3-vint_package() {
|
||||
noarch=yes
|
||||
depends="python3-ansicolor python3-chardet python3-yaml"
|
||||
pycompile_module="vint"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
alternatives="vint:vint:/usr/bin/vint3"
|
||||
pkg_install() {
|
||||
vmove usr/bin/*3
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE.txt
|
||||
}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
python-vint
|
Loading…
Reference in New Issue