wok annotate python-pyparsing/receipt @ rev 25808

created recipe for xmenu
author Hans-G?nter Theisgen
date Thu Dec 19 16:09:37 2024 +0100 (7 days ago)
parents 1df6fa555414
children
rev   line source
claudinei@3418 1 # SliTaz package receipt.
claudinei@3418 2
claudinei@3418 3 PACKAGE="python-pyparsing"
Hans-G?nter@23542 4 VERSION="2.4.7"
claudinei@3418 5 CATEGORY="development"
Hans-G?nter@23542 6 SHORT_DESC="Python parsing module."
claudinei@3418 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15378 8 LICENSE="MIT"
Hans-G?nter@23542 9 WEB_SITE="https://pypi.org/project/pyparsing/"
Hans-G?nter@23542 10
Hans-G?nter@23542 11 SOURCE="pyparsing"
claudinei@3418 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23542 13 WGET_URL="https://files.pythonhosted.org/packages/source/p/$SOURCE/$TARBALL"
al@17791 14
claudinei@3418 15 DEPENDS="python"
Hans-G?nter@23542 16 BUILD_DEPENDS="python python-setuptools"
claudinei@3418 17
pascal@24383 18 # What is the latest version available today?
pascal@24288 19 current_version()
pascal@24288 20 {
pascal@24383 21 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
pascal@24288 22 }
pascal@24288 23
claudinei@3418 24 # Rules to configure and make the package.
claudinei@3418 25 compile_rules()
claudinei@3418 26 {
Hans-G?nter@23542 27 python setup.py build &&
pascal@15378 28 python setup.py install --root=$DESTDIR
claudinei@3418 29 }
claudinei@3418 30
claudinei@3418 31 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3418 32 genpkg_rules()
claudinei@3418 33 {
Hans-G?nter@23542 34 cp -a $install/usr $fs
claudinei@3418 35 }