wok annotate python-ply/receipt @ rev 24347

Up expat (2.4.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 02 09:41:22 2022 +0000 (2022-02-02)
parents 12c4c5c2917b
children 076f424196b2
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@24288 21 current_version()
pascal@24288 22 {
pascal@24288 23 wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||'
pascal@24288 24 }
pascal@24288 25
Hans-G?nter@22535 26 # Rules to configure and make the package.
Hans-G?nter@22535 27 compile_rules()
Hans-G?nter@22535 28 {
Hans-G?nter@22535 29 python setup.py install --root=$DESTDIR
Hans-G?nter@22535 30 }
Hans-G?nter@22535 31
Hans-G?nter@22535 32 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@22535 33 genpkg_rules()
Hans-G?nter@22535 34 {
Hans-G?nter@22535 35 cp -a $install/usr $fs
Hans-G?nter@22535 36 }