34 lines
843 B
Bash
34 lines
843 B
Bash
# Template file for 'python-parsing'
|
|
pkgname=python-parsing
|
|
version=2.1.5
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="pyparsing-${version}"
|
|
build_style=python-module
|
|
python_versions="2.7 3.4"
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
depends="python"
|
|
pycompile_module="pyparsing.py"
|
|
short_desc="Python parsing module (Python2)"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="MIT"
|
|
homepage="http://pyparsing.wikispaces.com/"
|
|
distfiles="${PYPI_SITE}/p/pyparsing/pyparsing-${version}.tar.gz"
|
|
checksum=b9ace99b581174d7ca98891a7bc57fd08892b94f17922645d90835f7b9b54a56
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
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
|
|
vlicense LICENSE
|
|
}
|
|
}
|