wok-next view python-antlr/receipt @ rev 20957

Random updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Sep 05 15:26:05 2018 +0300 (2018-09-05)
parents 7a27d976b7a5
children 8b5b2a6d07b8
line source
1 # SliTaz package receipt v2.
3 PACKAGE="python-antlr"
4 VERSION="latest"
5 CATEGORY="development"
6 SHORT_DESC="Language tool for constructing recognizers, compilers for Python"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://www.antlr.org/"
10 REPOLOGY="antlr4"
12 BUILD_DEPENDS="python"
14 compile_rules() {
15 pip install --no-compile --root=$DESTDIR antlr4-python2-runtime
16 }
18 genpkg_rules() {
19 VERSION=$(sed -n '/^Successfully installed/ s|.*antlr4-python2-runtime-||p' $LOGS/$PACKAGE.log)
20 copy @std
21 DEPENDS="python"
22 }