From f35adcd9daee7c773439a874336f1af44693746e Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Fri, 2 Dec 2016 17:01:58 -0600 Subject: [PATCH] New package: python-vint-0.3.11 --- srcpkgs/python-vint/template | 34 ++++++++++++++++++++++++++++++++++ srcpkgs/python3-vint | 1 + 2 files changed, 35 insertions(+) create mode 100644 srcpkgs/python-vint/template create mode 120000 srcpkgs/python3-vint diff --git a/srcpkgs/python-vint/template b/srcpkgs/python-vint/template new file mode 100644 index 00000000000..04e5da9791a --- /dev/null +++ b/srcpkgs/python-vint/template @@ -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 " +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 + } +} diff --git a/srcpkgs/python3-vint b/srcpkgs/python3-vint new file mode 120000 index 00000000000..1a1aa05fd19 --- /dev/null +++ b/srcpkgs/python3-vint @@ -0,0 +1 @@ +python-vint \ No newline at end of file