# Template file for 'python-parsing' pkgname=python-parsing version=2.3.1 revision=1 archs=noarch wrksrc="pyparsing-pyparsing_${version}" build_style=python-module pycompile_module="pyparsing.py" hostmakedepends="python-setuptools python3-setuptools" depends="python" short_desc="Python parsing module (Python2)" maintainer="Alessio Sergi " license="MIT" homepage="https://github.com/pyparsing/pyparsing" changelog="https://github.com/pyparsing/pyparsing/raw/master/CHANGES" distfiles="https://github.com/pyparsing/pyparsing/archive/pyparsing_${version}.tar.gz" checksum=6b4146fb3eb6c4f5798b9f1d67b9609efa106276ac875c534695e55a34409f07 do_check() { python2 unitTests.py python3 unitTests.py } post_install() { vlicense LICENSE } python3-parsing_package() { archs=noarch depends="python3" pycompile_module="pyparsing.py" short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* vlicense LICENSE } }