void-packages/srcpkgs/python-parsing/template
2014-07-13 11:33:39 +02:00

30 lines
833 B
Plaintext

# Template file for 'python-parsing'
pkgname=python-parsing
version=2.0.2
revision=2
noarch=yes
wrksrc="pyparsing-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-devel python3.4-devel"
makedepends="${hostmakedepends}"
depends="python"
pycompile_module="pyparsing.py"
short_desc="Python parsing module (Python2)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="http://pyparsing.wikispaces.com/"
distfiles="https://pypi.python.org/packages/source/p/pyparsing/pyparsing-${version}.tar.gz"
checksum=17e43d6b17588ed5968735575b3983a952133ec4082596d214d7090b56d48a06
python3.4-parsing_package() {
noarch=yes
depends="python3.4"
pycompile_version="3.4"
pycompile_module="pyparsing.py"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}