python-pycparser: update to 2.16

This commit is contained in:
Alessio Sergi 2016-10-23 10:41:30 +02:00
parent 0603c00ba0
commit edbbfff41c
1 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'python-pycparser'
pkgname=python-pycparser
version=2.14
revision=2
version=2.16
revision=1
noarch=yes
wrksrc="pycparser-${version}"
build_style=python-module
@ -11,13 +11,13 @@ pycompile_module="pycparser"
short_desc="Complete C99 parser in pure Python2"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/eliben/pycparser"
license="BSD"
license="3-clause-BSD"
distfiles="${PYPI_SITE}/p/pycparser/pycparser-${version}.tar.gz"
checksum=7959b4a74abdc27b312fed1c21e6caf9309ce0b29ea86b591fd2e99ecdf27f73
checksum=108f9ff23869ae2f8b38e481e7b4b4d4de1e32be968f29bbe303d629c34a6260
post_install() {
# replace bundled copy of ply
for pyver in $python_versions; do
for pyver in $py2_ver $py3_ver; do
rm -rf ${DESTDIR}/usr/lib/python${pyver}/site-packages/pycparser/ply
ln -sf ../ply ${DESTDIR}/usr/lib/python${pyver}/site-packages/pycparser/ply
done