pylint: update to 1.7.1
This commit is contained in:
parent
4e571d337e
commit
ff7769fef9
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'pylint'
|
||||
pkgname=pylint
|
||||
version=1.7.0
|
||||
version=1.7.1
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc="pylint-${version}"
|
||||
|
@ -9,13 +9,13 @@ pycompile_module="pylint"
|
|||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python-setuptools python-astroid python-six python-isort python-mccabe
|
||||
python-backports.configparser python-backports.functools_lru_cache
|
||||
python-singledispatch python-editdistance"
|
||||
python-singledispatch"
|
||||
short_desc="Python2 code static checker"
|
||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||
homepage="http://www.pylint.org/"
|
||||
license="GPL-2"
|
||||
distfiles="${PYPI_SITE}/p/pylint/pylint-${version}.tar.gz"
|
||||
checksum=27dec85ce32fe5cb78eaad11c165cfb53479ad92930783f04016eebe41f28a3a
|
||||
checksum=8b4a7ab6cf5062e40e2763c0b4a596020abada1d7304e369578b522e46a6264a
|
||||
|
||||
alternatives="
|
||||
pylint:epylint:/usr/bin/epylint2
|
||||
|
@ -27,6 +27,9 @@ alternatives="
|
|||
pylint:pyreverse.1:/usr/share/man/man1/pyreverse2.1
|
||||
pylint:symilar.1:/usr/share/man/man1/symilar2.1"
|
||||
|
||||
pre_build() {
|
||||
sed -i '/setup_requires=/d' setup.py
|
||||
}
|
||||
post_install() {
|
||||
# no tests
|
||||
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"
|
||||
noarch=yes
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
depends="python3-setuptools python3-astroid python3-six python3-isort
|
||||
python3-mccabe python3-editdistance"
|
||||
depends="python3-setuptools python3-astroid python3-six python3-isort python3-mccabe"
|
||||
pycompile_module="pylint"
|
||||
replaces="python3.4-pylint>=0"
|
||||
pkg_install() {
|
||||
|
|
Loading…
Reference in a new issue