2016-12-03 00:01:58 +01:00
|
|
|
# Template file for 'python-vint'
|
|
|
|
pkgname=python-vint
|
2017-06-11 04:31:39 +02:00
|
|
|
version=0.3.13
|
|
|
|
revision=1
|
2016-12-03 00:01:58 +01:00
|
|
|
noarch=yes
|
2017-06-11 04:31:39 +02:00
|
|
|
wrksrc="vim-vint-${version}"
|
2016-12-03 00:01:58 +01:00
|
|
|
build_style=python-module
|
|
|
|
pycompile_module="vint"
|
|
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
2017-06-11 04:31:39 +02:00
|
|
|
depends="python-setuptools python-ansicolor python-chardet python-enum34
|
|
|
|
python-pathlib python-yaml"
|
|
|
|
short_desc="Lint tool for Vim script language (Python2)"
|
2016-12-03 00:01:58 +01:00
|
|
|
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
|
|
|
|
homepage="https://github.com/Kuniwak/vint"
|
|
|
|
license="MIT"
|
2017-06-11 04:31:39 +02:00
|
|
|
distfiles="${PYPI_SITE}/v/vim-vint/vim-vint-${version}.tar.gz"
|
|
|
|
checksum=bf752b23b8d6164cefda8e4426fb0d2e03554424f03944985e8cdc7bec28472a
|
2016-12-03 00:01:58 +01:00
|
|
|
alternatives="vint:vint:/usr/bin/vint2"
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE.txt
|
|
|
|
}
|
|
|
|
|
|
|
|
python3-vint_package() {
|
|
|
|
noarch=yes
|
2017-06-11 04:31:39 +02:00
|
|
|
depends="python3-setuptools python3-ansicolor python3-chardet python3-yaml"
|
2016-12-03 00:01:58 +01:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|