wok-next annotate python-antlr/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents c9a7a7b42a86
children
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"
al@21041 10 WEB_SITE="https://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 }