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).
This commit is contained in:
parent
c8e3926719
commit
cd7d1b03d7
|
@ -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
|
||||
|
||||
|
|
@ -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 <joseph@lafreniere.xyz>"
|
||||
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"
|
||||
|
|
Loading…
Reference in New Issue