wok-6.x annotate python-ply/receipt @ rev 24593
updated geos and geos-dev (3.8.0 -> 3.10.2)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 01 13:55:15 2022 +0100 (2022-03-01) |
parents | 1df6fa555414 |
children |
rev | line source |
---|---|
Hans-G?nter@22535 | 1 # SliTaz package receipt. |
Hans-G?nter@22535 | 2 |
Hans-G?nter@22535 | 3 PACKAGE="python-ply" |
Hans-G?nter@22535 | 4 VERSION="3.11" |
Hans-G?nter@22535 | 5 CATEGORY="development" |
Hans-G?nter@22535 | 6 TAGS="python" |
Hans-G?nter@22535 | 7 SHORT_DESC="lex and yacc implementation for Python." |
Hans-G?nter@22535 | 8 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@22535 | 9 LICENSE="BSD" |
Hans-G?nter@22535 | 10 WEB_SITE="https://pypi.org/project/ply/" |
Hans-G?nter@22535 | 11 |
Hans-G?nter@22535 | 12 SOURCE="ply" |
Hans-G?nter@22535 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@22535 | 14 WGET_URL="http://www.dabeaz.com/$SOURCE/$TARBALL" |
Hans-G?nter@22535 | 15 |
Hans-G?nter@22535 | 16 DEPENDS="python" |
Hans-G?nter@22535 | 17 BUILD_DEPENDS="python python-dev python-setuptools" |
Hans-G?nter@22535 | 18 |
Hans-G?nter@22535 | 19 HOST_ARCH="i486 arm" |
Hans-G?nter@22535 | 20 |
pascal@24383 | 21 # What is the latest version available today? |
pascal@24288 | 22 current_version() |
pascal@24288 | 23 { |
pascal@24383 | 24 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" |
pascal@24288 | 25 } |
pascal@24288 | 26 |
Hans-G?nter@22535 | 27 # Rules to configure and make the package. |
Hans-G?nter@22535 | 28 compile_rules() |
Hans-G?nter@22535 | 29 { |
Hans-G?nter@22535 | 30 python setup.py install --root=$DESTDIR |
Hans-G?nter@22535 | 31 } |
Hans-G?nter@22535 | 32 |
Hans-G?nter@22535 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@22535 | 34 genpkg_rules() |
Hans-G?nter@22535 | 35 { |
Hans-G?nter@22535 | 36 cp -a $install/usr $fs |
Hans-G?nter@22535 | 37 } |