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

libav: fix build; python-antlr: using pip; python-apsw: up (3.19.3-r1)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 29 20:37:22 2018 +0300 (2018-05-29)
parents 8cad5edc1a45
children 4e6503d7a19f
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/"
11 BUILD_DEPENDS="python"
13 compile_rules() {
14 pip install --no-compile --root=$DESTDIR antlr4-python2-runtime
15 }
17 genpkg_rules() {
18 VERSION=$(sed -n '/^Successfully installed/ s|.*antlr4-python2-runtime-||p' $LOGS/$PACKAGE.log)
19 copy @std
20 DEPENDS="python"
21 }