# Template file for 'python-parsing' pkgname=python-parsing version=2.4.7 revision=2 wrksrc="pyparsing-pyparsing_${version}" build_style=python-module 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=6deecf4b95a49a5a9c89b4a4b1fcb73c1cba0e3265ec7b858adffcced229ba05 post_install() { vlicense LICENSE } python3-parsing_package() { depends="python3" short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* vlicense LICENSE } }