New package: python-pycparser-2.10

This commit is contained in:
Alessio Sergi 2015-01-19 01:01:15 +01:00
parent 7d6d275772
commit 7b25cff4b2
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,28 @@
# Template file for 'python-pycparser'
pkgname=python-pycparser
version=2.10
revision=1
noarch=yes
wrksrc="pycparser-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python-ply"
pycompile_module="pycparser"
short_desc="Complete C99 parser in pure Python2"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/eliben/pycparser"
license="BSD"
distfiles="${PYPI_SITE}/p/pycparser/pycparser-${version}.tar.gz"
checksum=957d98b661c0b64b580ab6f94b125e09b6714154ee51de40bca16d3f0076b86c
python3.4-pycparser_package() {
noarch=yes
depends="python3.4-ply"
pycompile_version="3.4"
pycompile_module="pycparser"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}

1
srcpkgs/python3.4-pycparser Symbolic link
View File

@ -0,0 +1 @@
python-pycparser