mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-26 23:42:57 +02:00
python-pycparser: update to 2.14
This commit is contained in:
parent
a7137e9719
commit
eb328c48cd
1 changed files with 4 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.13
|
version=2.14
|
||||||
revision=1
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="pycparser-${version}"
|
wrksrc="pycparser-${version}"
|
||||||
|
@ -14,7 +14,7 @@ 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=b399599a8a0e386bfcbc5e01a38d79dd6e926781f9e358cd5512f41ab7d20eb7
|
checksum=7959b4a74abdc27b312fed1c21e6caf9309ce0b29ea86b591fd2e99ecdf27f73
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# replace bundled copy of ply
|
# replace bundled copy of ply
|
||||||
|
@ -22,6 +22,7 @@ post_install() {
|
||||||
rm -rf ${DESTDIR}/usr/lib/python${pyver}/site-packages/pycparser/ply
|
rm -rf ${DESTDIR}/usr/lib/python${pyver}/site-packages/pycparser/ply
|
||||||
ln -sf ../ply ${DESTDIR}/usr/lib/python${pyver}/site-packages/pycparser/ply
|
ln -sf ../ply ${DESTDIR}/usr/lib/python${pyver}/site-packages/pycparser/ply
|
||||||
done
|
done
|
||||||
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-pycparser_package() {
|
python3.4-pycparser_package() {
|
||||||
|
@ -32,5 +33,6 @@ python3.4-pycparser_package() {
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3.4
|
||||||
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue