diff --git a/srcpkgs/python-parsing/template b/srcpkgs/python-parsing/template index 32ee6b4ab6d..40da3d11197 100644 --- a/srcpkgs/python-parsing/template +++ b/srcpkgs/python-parsing/template @@ -1,9 +1,9 @@ # Template file for 'python-parsing' pkgname=python-parsing -version=2.2.0 -revision=2 +version=2.2.1 +revision=1 noarch=yes -wrksrc="pyparsing-${version}" +wrksrc="pyparsing-pyparsing_${version}" build_style=python-module hostmakedepends="python-setuptools python3-setuptools" depends="python" @@ -12,8 +12,14 @@ short_desc="Python parsing module (Python2)" maintainer="Juan RP " license="MIT" homepage="http://pyparsing.wikispaces.com/" -distfiles="${PYPI_SITE}/p/pyparsing/pyparsing-${version}.tar.gz" -checksum=0832bcf47acd283788593e7a0f542407bd9550a55a8a8435214a1960e04bcb04 +changelog="https://github.com/pyparsing/pyparsing/raw/master/CHANGES" +distfiles="https://github.com/pyparsing/pyparsing/archive/pyparsing_${version}.tar.gz" +checksum=25cafba8e402f775b58cee0924ef5359c5bc3ba3e8e8b038d0f92674c8a47a79 + +do_check() { + python unitTests.py + python3 unitTests.py +} post_install() { vlicense LICENSE diff --git a/srcpkgs/python-parsing/update b/srcpkgs/python-parsing/update index 4f7cc547ce6..da36a6f466d 100644 --- a/srcpkgs/python-parsing/update +++ b/srcpkgs/python-parsing/update @@ -1 +1,2 @@ -pkgname="pyparsing" +site=https://github.com/pyparsing/pyparsing/releases +pkgname=pyparsing