python-pycodestyle: update to 2.2.0
This commit is contained in:
parent
cf89b035d3
commit
dfbc1310ea
1 changed files with 2 additions and 6 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue