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