pylint: update to 1.7.1

This commit is contained in:
Alessio Sergi 2017-04-21 14:54:17 +02:00
parent 4e571d337e
commit ff7769fef9

View file

@ -1,6 +1,6 @@
# Template file for 'pylint' # Template file for 'pylint'
pkgname=pylint pkgname=pylint
version=1.7.0 version=1.7.1
revision=1 revision=1
noarch=yes noarch=yes
wrksrc="pylint-${version}" wrksrc="pylint-${version}"
@ -9,13 +9,13 @@ pycompile_module="pylint"
hostmakedepends="python-setuptools python3-setuptools" hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools python-astroid python-six python-isort python-mccabe depends="python-setuptools python-astroid python-six python-isort python-mccabe
python-backports.configparser python-backports.functools_lru_cache python-backports.configparser python-backports.functools_lru_cache
python-singledispatch python-editdistance" python-singledispatch"
short_desc="Python2 code static checker" short_desc="Python2 code static checker"
maintainer="Alessio Sergi <al3hex@gmail.com>" maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="http://www.pylint.org/" homepage="http://www.pylint.org/"
license="GPL-2" license="GPL-2"
distfiles="${PYPI_SITE}/p/pylint/pylint-${version}.tar.gz" distfiles="${PYPI_SITE}/p/pylint/pylint-${version}.tar.gz"
checksum=27dec85ce32fe5cb78eaad11c165cfb53479ad92930783f04016eebe41f28a3a checksum=8b4a7ab6cf5062e40e2763c0b4a596020abada1d7304e369578b522e46a6264a
alternatives=" alternatives="
pylint:epylint:/usr/bin/epylint2 pylint:epylint:/usr/bin/epylint2
@ -27,6 +27,9 @@ alternatives="
pylint:pyreverse.1:/usr/share/man/man1/pyreverse2.1 pylint:pyreverse.1:/usr/share/man/man1/pyreverse2.1
pylint:symilar.1:/usr/share/man/man1/symilar2.1" pylint:symilar.1:/usr/share/man/man1/symilar2.1"
pre_build() {
sed -i '/setup_requires=/d' setup.py
}
post_install() { post_install() {
# no tests # no tests
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/pylint/test rm -rf ${DESTDIR}/usr/lib/python*/site-packages/pylint/test
@ -56,8 +59,7 @@ python3-pylint_package() {
pylint:symilar.1:/usr/share/man/man1/symilar3.1" pylint:symilar.1:/usr/share/man/man1/symilar3.1"
noarch=yes noarch=yes
short_desc="${short_desc/Python2/Python3}" short_desc="${short_desc/Python2/Python3}"
depends="python3-setuptools python3-astroid python3-six python3-isort depends="python3-setuptools python3-astroid python3-six python3-isort python3-mccabe"
python3-mccabe python3-editdistance"
pycompile_module="pylint" pycompile_module="pylint"
replaces="python3.4-pylint>=0" replaces="python3.4-pylint>=0"
pkg_install() { pkg_install() {