wok-next annotate python-antlr/receipt @ rev 21040
mariadb 10.3.10 (again)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 09 09:48:29 2018 +0200 (2018-11-09) |
parents | 8b5b2a6d07b8 |
children | d457c4e37c1b |
rev | line source |
---|---|
al@19763 | 1 # SliTaz package receipt v2. |
pascal@11727 | 2 |
al@20972 | 3 ORIGIN="antlr4-python2-runtime" |
pascal@11727 | 4 PACKAGE="python-antlr" |
al@20972 | 5 VERSION="4.7.1" |
pascal@11727 | 6 CATEGORY="development" |
al@19763 | 7 SHORT_DESC="Language tool for constructing recognizers, compilers for Python" |
pascal@11727 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15378 | 9 LICENSE="BSD" |
pascal@11727 | 10 WEB_SITE="http://www.antlr.org/" |
al@20972 | 11 HOST_ARCH="any" |
al@20884 | 12 REPOLOGY="antlr4" |
al@19763 | 13 |
al@20972 | 14 BUILD_DEPENDS="python python3" |
al@20972 | 15 SPLIT="${PACKAGE/python/python3}:3" |
pascal@11727 | 16 |
al@20737 | 17 compile_rules() { |
al@20972 | 18 case $SET in |
al@20972 | 19 3) ORIGIN="${ORIGIN/python2/python3}";; |
al@20972 | 20 esac |
al@20972 | 21 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION |
pascal@11727 | 22 } |
pascal@11727 | 23 |
al@20737 | 24 genpkg_rules() { |
al@19763 | 25 copy @std |
al@20972 | 26 py="${PACKAGE%%-*}" # python/python3 |
al@20972 | 27 DEPENDS="$py" |
pascal@11727 | 28 } |