void-packages/srcpkgs/python3-pycparser/template

21 lines
670 B
Bash

# Template file for 'python3-pycparser'
pkgname=python3-pycparser
version=2.21
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-ply"
checkdepends="python3-pytest ${depends}"
short_desc="Complete C99 parser in pure Python (Python3)"
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}/${py3_sitelib}/pycparser/ply
ln -sf ../ply ${DESTDIR}/${py3_sitelib}/pycparser/ply
vlicense LICENSE
}