python-pycparser: fix permissions (#5041)

This commit is contained in:
Johannes 2016-10-24 19:26:59 +02:00 committed by Alessio Sergi
parent aea2b842b7
commit bb8b2ba9bb
1 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'python-pycparser'
pkgname=python-pycparser
version=2.16
revision=1
revision=2
noarch=yes
wrksrc="pycparser-${version}"
build_style=python-module
@ -15,6 +15,11 @@ license="3-clause-BSD"
distfiles="${PYPI_SITE}/p/pycparser/pycparser-${version}.tar.gz"
checksum=108f9ff23869ae2f8b38e481e7b4b4d4de1e32be968f29bbe303d629c34a6260
post_extract() {
# fix permissions
chmod -R go+rX .
}
post_install() {
# replace bundled copy of ply
for pyver in $py2_ver $py3_ver; do