python-pycparser: update to 2.12
This commit is contained in:
parent
0adec5a729
commit
c508c1bcf2
1 changed files with 10 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'python-pycparser'
|
# Template file for 'python-pycparser'
|
||||||
pkgname=python-pycparser
|
pkgname=python-pycparser
|
||||||
version=2.10
|
version=2.12
|
||||||
revision=1
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="pycparser-${version}"
|
wrksrc="pycparser-${version}"
|
||||||
|
@ -14,7 +14,15 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
homepage="https://github.com/eliben/pycparser"
|
homepage="https://github.com/eliben/pycparser"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
distfiles="${PYPI_SITE}/p/pycparser/pycparser-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/p/pycparser/pycparser-${version}.tar.gz"
|
||||||
checksum=957d98b661c0b64b580ab6f94b125e09b6714154ee51de40bca16d3f0076b86c
|
checksum=da24c80aeb3c794ac64fe5503a01f65f13fece3e02513fd2e0761f93c96597b0
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
# replace bundled copy of ply
|
||||||
|
for pyver in $python_versions; 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
|
||||||
|
}
|
||||||
|
|
||||||
python3.4-pycparser_package() {
|
python3.4-pycparser_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue