New package: python-pyPEG2-2.15.1

This commit is contained in:
Eivind Uggedal 2015-01-18 21:28:07 +00:00
parent 9c70f6cf2c
commit cad5e2e085
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,32 @@
# Template file for 'python-pyPEG2'
pkgname=python-pyPEG2
version=2.15.1
revision=1
noarch=yes
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3.4-setuptools"
makedepends="python-devel python3.4-devel"
depends="python-lxml"
python_versions="2.7 3.4"
pycompile_module="pypeg2"
short_desc="An intrinsic PEG Parser-Interpreter for Python2"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="GPL-2"
homepage="http://fdik.org/pyPEG/"
distfiles="${PYPI_SITE}/p/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
checksum=f4814a5f9c84bbb0794bef8d2a5871f4aed25366791c55e2162681873ad8bd21
post_install() {
rm ${DESTDIR}/usr/bin/sample*.py
}
python3.4-pyPEG2_package() {
depends="python3.4-lxml"
pycompile_version="3.4"
pycompile_module="pypeg2"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove /usr/lib/python3.4
}
}

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

@ -0,0 +1 @@
python-pyPEG2