wok annotate python-ply/receipt @ rev 25778
Up fdutils (5.6), lite (1.11), vlgothic-fonts (20230918)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 20 09:06:10 2024 +0000 (7 weeks ago) |
parents | 076f424196b2 |
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" |
pascal@25778 | 14 WGET_URL="https://files.pythonhosted.org/packages/source/p/$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 } |