wok-current annotate python-pyparsing/receipt @ rev 24288

fail2ban: add log4j-jndi.conf
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 13 18:29:05 2022 +0000 (2022-01-13)
parents dd325ffcea24
children 076f424196b2
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@24288 18 current_version()
pascal@24288 19 {
pascal@24288 20 wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||'
pascal@24288 21 }
pascal@24288 22
claudinei@3418 23 # Rules to configure and make the package.
claudinei@3418 24 compile_rules()
claudinei@3418 25 {
Hans-G?nter@23542 26 python setup.py build &&
pascal@15378 27 python setup.py install --root=$DESTDIR
claudinei@3418 28 }
claudinei@3418 29
claudinei@3418 30 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3418 31 genpkg_rules()
claudinei@3418 32 {
Hans-G?nter@23542 33 cp -a $install/usr $fs
claudinei@3418 34 }