python-pycodestyle: update to 2.4.0

This commit is contained in:
Alessio Sergi 2018-04-11 18:14:58 +02:00
parent 54e6f888b7
commit d803cfe839
1 changed files with 3 additions and 5 deletions

View File

@ -1,9 +1,8 @@
# Template file for 'python-pycodestyle'
pkgname=python-pycodestyle
version=2.3.1
revision=2
version=2.4.0
revision=1
noarch=yes
replaces="pycodestyle>=0"
wrksrc="pycodestyle-${version}"
build_style=python-module
pycompile_module="pycodestyle.py"
@ -14,11 +13,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=682256a5b318149ca0d2a9185d365d8864a768a28db66a84a2ea946bcc426766
checksum=cbfca99bd594a10f674d0cd97a3d802a1fdef635d4361e1a2658de47ed261e3a
alternatives="pycodestyle:pycodestyle:/usr/bin/pycodestyle2"
post_install() {
sed -n '/Copyright/,/SOFTWARE\./p' pycodestyle.py >LICENSE
vlicense LICENSE
}