From cd7d1b03d77642c33e5e5f237186bc4098a94c03 Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Sat, 10 Jun 2017 21:31:39 -0500 Subject: [PATCH] python-vint: update to 0.3.13 Minor changes were made to $short_desc to normalize it with other Python packages. $distfiles now uses PyPi rather than the project's GitHub releases. There is also a regression with vint when using pyyaml 3.12, so that requirement has been locked to 3.11_2 (the latest package before the update to 3.12). --- srcpkgs/python-vint/patches/outdateddeps.patch | 14 -------------- srcpkgs/python-vint/template | 17 +++++++++-------- 2 files changed, 9 insertions(+), 22 deletions(-) delete mode 100644 srcpkgs/python-vint/patches/outdateddeps.patch diff --git a/srcpkgs/python-vint/patches/outdateddeps.patch b/srcpkgs/python-vint/patches/outdateddeps.patch deleted file mode 100644 index 7fdd135616d..00000000000 --- a/srcpkgs/python-vint/patches/outdateddeps.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- setup.py.bck 2017-01-20 17:36:52.666818102 -0500 -+++ setup.py 2017-01-20 17:37:23.204501483 -0500 -@@ -12,9 +12,9 @@ - requires = load_requires_from_file('requirements.txt') - if sys.version_info < (3, 4): - # To enable Enum in Python < 3.4 -- requires.append('enum34 == 1.0.4') -+ requires.append('enum34 >= 1.0.4') - # To enable pathlib in Python < 3.4 -- requires.append('pathlib == 1.0.1') -+ requires.append('pathlib >= 1.0.1') - return requires - - diff --git a/srcpkgs/python-vint/template b/srcpkgs/python-vint/template index 48ca420354c..3c72a1c2f49 100644 --- a/srcpkgs/python-vint/template +++ b/srcpkgs/python-vint/template @@ -1,19 +1,20 @@ # Template file for 'python-vint' pkgname=python-vint -version=0.3.11 -revision=2 +version=0.3.13 +revision=1 noarch=yes -wrksrc="vint-${version}" +wrksrc="vim-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" +depends="python-setuptools python-ansicolor python-chardet python-enum34 + python-pathlib python-yaml" +short_desc="Lint tool for Vim script language (Python2)" maintainer="Joseph LaFreniere " homepage="https://github.com/Kuniwak/vint" license="MIT" -distfiles="${homepage}/archive/v${version}.tar.gz" -checksum=33fc2178b9244d3058669984735a3e20f82fd0e927b31387fc910336614d671f +distfiles="${PYPI_SITE}/v/vim-vint/vim-vint-${version}.tar.gz" +checksum=bf752b23b8d6164cefda8e4426fb0d2e03554424f03944985e8cdc7bec28472a alternatives="vint:vint:/usr/bin/vint2" post_install() { @@ -22,7 +23,7 @@ post_install() { python3-vint_package() { noarch=yes - depends="python3-ansicolor python3-chardet python3-yaml" + depends="python3-setuptools python3-ansicolor python3-chardet python3-yaml" pycompile_module="vint" short_desc="${short_desc/Python2/Python3}" alternatives="vint:vint:/usr/bin/vint3"