2012-09-22 10:58:37 +02:00
|
|
|
# Template file for 'python-parsing'
|
|
|
|
pkgname=python-parsing
|
2014-07-13 00:17:14 +02:00
|
|
|
version=2.0.2
|
2014-07-13 11:33:09 +02:00
|
|
|
revision=2
|
2014-07-13 00:17:14 +02:00
|
|
|
noarch=yes
|
2012-09-22 10:58:37 +02:00
|
|
|
wrksrc="pyparsing-${version}"
|
|
|
|
build_style=python-module
|
2014-07-13 00:17:14 +02:00
|
|
|
python_versions="2.7 3.4"
|
|
|
|
hostmakedepends="python-devel python3.4-devel"
|
|
|
|
makedepends="${hostmakedepends}"
|
|
|
|
depends="python"
|
2014-01-01 16:10:11 +01:00
|
|
|
pycompile_module="pyparsing.py"
|
2014-07-13 00:17:14 +02:00
|
|
|
short_desc="Python parsing module (Python2)"
|
2012-09-22 10:58:37 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="MIT"
|
2014-07-13 00:17:14 +02:00
|
|
|
homepage="http://pyparsing.wikispaces.com/"
|
|
|
|
distfiles="https://pypi.python.org/packages/source/p/pyparsing/pyparsing-${version}.tar.gz"
|
|
|
|
checksum=17e43d6b17588ed5968735575b3983a952133ec4082596d214d7090b56d48a06
|
|
|
|
|
|
|
|
python3.4-parsing_package() {
|
2014-07-13 11:33:09 +02:00
|
|
|
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
|
|
|
|
}
|
2014-07-13 00:17:14 +02:00
|
|
|
}
|