20 lines
625 B
Bash
20 lines
625 B
Bash
# Template file for 'python-pycparser'
|
|
pkgname=python-pycparser
|
|
version=2.21
|
|
revision=1
|
|
build_style=python2-module
|
|
hostmakedepends="python-setuptools"
|
|
depends="python-ply"
|
|
short_desc="Complete C99 parser in pure Python (Python2)"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
homepage="https://github.com/eliben/pycparser"
|
|
license="BSD-3-Clause"
|
|
distfiles="${PYPI_SITE}/p/pycparser/pycparser-${version}.tar.gz"
|
|
checksum=e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206
|
|
|
|
post_install() {
|
|
rm -rf ${DESTDIR}/${py2_sitelib}/pycparser/ply
|
|
ln -sf ../ply ${DESTDIR}/${py2_sitelib}/pycparser/ply
|
|
vlicense LICENSE
|
|
}
|