void-packages/srcpkgs/python-parsing/template

30 lines
833 B
Plaintext

# Template file for 'python-parsing'
pkgname=python-parsing
version=2.0.3
revision=1
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=06e729e1cbf5274703b1f47b6135ed8335999d547f9d8cf048b210fb8ebf844f
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
}
}