# HG changeset patch # User Hans-G?nter Theisgen # Date 1586070480 -3600 # Node ID f0e9218a6f9683366fdbbea81ca8db79a7e2f782 # Parent 99b982c720a79d38fedf886c77b7f3a409179bee updated python-antlr (3.4 -> 3.5.2) diff -r 99b982c720a7 -r f0e9218a6f96 python-antlr/receipt --- a/python-antlr/receipt Sat Apr 04 17:45:55 2020 +0100 +++ b/python-antlr/receipt Sun Apr 05 08:08:00 2020 +0100 @@ -1,15 +1,16 @@ # SliTaz package receipt. PACKAGE="python-antlr" -SOURCE="antlr" -VERSION="3.4" +VERSION="3.5.2" CATEGORY="development" -SHORT_DESC="language tool for constructing recognizers, compilers for python." +SHORT_DESC="Language tool for constructing recognizers, compilers for python." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" +WEB_SITE="https://www.antlr.org/" + +SOURCE="antlr" TARBALL="$SOURCE-$VERSION.tar.gz" -WEB_SITE="https://www.antlr.org/" -WGET_URL="${WEB_SITE}download/$TARBALL" +WGET_URL="https://github.com/$SOURCE/${SOURCE}3/archive/$VERSION.tar.gz" DEPENDS="python" BUILD_DEPENDS="python python-dev python-setuptools" @@ -17,8 +18,8 @@ # Rules to configure and make the package. compile_rules() { - cd $src/runtime/Python - python setup.py build + cd $src/runtime/Python && + python setup.py build && python setup.py install --root=$DESTDIR } @@ -26,6 +27,5 @@ genpkg_rules() { mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr + cp -a $install/usr/lib $fs/usr } -