python-pycodestyle: update to 2.2.0

This commit is contained in:
Alessio Sergi 2016-11-14 19:50:20 +01:00
parent cf89b035d3
commit dfbc1310ea

View file

@ -1,6 +1,6 @@
# Template file for 'python-pycodestyle'
pkgname=python-pycodestyle
version=2.1.0
version=2.2.0
revision=1
noarch=yes
replaces="pycodestyle>=0"
@ -14,14 +14,10 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/PyCQA/pycodestyle"
license="MIT"
distfiles="${PYPI_SITE}/p/pycodestyle/pycodestyle-${version}.tar.gz"
checksum=5b540e4f19b4938c082cfd13f5d778d1ad2308b337abbc687ab9335233f5f3e2
checksum=df81dc3293e0123e2e8d1f2aaf819600e4ae287d8b3af8b72181af50257e5d9a
alternatives="pycodestyle:pycodestyle:/usr/bin/pycodestyle2"
post_install() {
# fix permissions
find ${DESTDIR}/usr/lib/python*/site-packages -type f -perm 0640 \
-exec chmod 0644 "{}" \;
sed -n '/Copyright/,/SOFTWARE\./p' pycodestyle.py >LICENSE
vlicense LICENSE
}