From dfbc1310ea3106211e19f2e65fb518ab1a7e67b8 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Mon, 14 Nov 2016 19:50:20 +0100 Subject: [PATCH] python-pycodestyle: update to 2.2.0 --- srcpkgs/python-pycodestyle/template | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/srcpkgs/python-pycodestyle/template b/srcpkgs/python-pycodestyle/template index f296340e5b..e6b8a0eff6 100644 --- a/srcpkgs/python-pycodestyle/template +++ b/srcpkgs/python-pycodestyle/template @@ -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 " 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 }