python-pycparser: update to 2.14

This commit is contained in:
Alessio Sergi 2015-06-10 20:04:44 +02:00
parent a7137e9719
commit eb328c48cd

View File

@ -1,6 +1,6 @@
# Template file for 'python-pycparser'
pkgname=python-pycparser
version=2.13
version=2.14
revision=1
noarch=yes
wrksrc="pycparser-${version}"
@ -14,7 +14,7 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/eliben/pycparser"
license="BSD"
distfiles="${PYPI_SITE}/p/pycparser/pycparser-${version}.tar.gz"
checksum=b399599a8a0e386bfcbc5e01a38d79dd6e926781f9e358cd5512f41ab7d20eb7
checksum=7959b4a74abdc27b312fed1c21e6caf9309ce0b29ea86b591fd2e99ecdf27f73
post_install() {
# replace bundled copy of ply
@ -22,6 +22,7 @@ post_install() {
rm -rf ${DESTDIR}/usr/lib/python${pyver}/site-packages/pycparser/ply
ln -sf ../ply ${DESTDIR}/usr/lib/python${pyver}/site-packages/pycparser/ply
done
vlicense LICENSE
}
python3.4-pycparser_package() {
@ -32,5 +33,6 @@ python3.4-pycparser_package() {
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
vlicense LICENSE
}
}