wok annotate python-antlr/receipt @ rev 25236

updated python-shapely (1.7.0 -> 1.7.1)
author Hans-G?nter Theisgen
date Wed Jul 13 17:41:12 2022 +0100 (2022-07-13)
parents 5ea0ce1cecc0
children 0262035dc1e7
rev   line source
pascal@11727 1 # SliTaz package receipt.
pascal@11727 2
pascal@11727 3 PACKAGE="python-antlr"
Hans-G?nter@25164 4 VERSION="3.5.3"
pascal@11727 5 CATEGORY="development"
Hans-G?nter@23465 6 SHORT_DESC="Language tool for constructing recognizers, compilers for python."
pascal@11727 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15378 8 LICENSE="BSD"
Hans-G?nter@23465 9 WEB_SITE="https://www.antlr.org/"
Hans-G?nter@23465 10
Hans-G?nter@23465 11 SOURCE="antlr"
pascal@11727 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23465 13 WGET_URL="https://github.com/$SOURCE/${SOURCE}3/archive/$VERSION.tar.gz"
pascal@11727 14
pascal@11727 15 DEPENDS="python"
pascal@21581 16 BUILD_DEPENDS="python python-dev python-setuptools"
pascal@11727 17
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 22 }
pascal@24055 23
pascal@11727 24 # Rules to configure and make the package.
pascal@11727 25 compile_rules()
pascal@11727 26 {
Hans-G?nter@25164 27 cd runtime/Python &&
Hans-G?nter@25164 28 python setup.py build &&
Hans-G?nter@25164 29 python setup.py install --root=$DESTDIR
pascal@11727 30 }
pascal@11727 31
pascal@11727 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11727 33 genpkg_rules()
pascal@11727 34 {
Hans-G?nter@25164 35 cook_copy_folders lib
pascal@11727 36 }