wok annotate python-pylons/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 a1ff9f10f41a
children 076f424196b2
rev   line source
taziden@3777 1 # SliTaz package receipt.
taziden@3777 2
taziden@3777 3 PACKAGE="python-pylons"
Hans-Günter@23541 4 VERSION="1.0.3"
taziden@3777 5 CATEGORY="development"
Hans-Günter@23541 6 TAGS="python"
Hans-Günter@23541 7 SHORT_DESC="Lightweight web framework."
taziden@3777 8 MAINTAINER="taziden@slitaz.org"
pascal@15378 9 LICENSE="BSD"
Hans-Günter@23541 10 WEB_SITE="https://pypi.org/project/Pylons/"
Hans-Günter@23541 11
taziden@3777 12 SOURCE="Pylons"
taziden@3777 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-Günter@23541 14 WGET_URL="https://files.pythonhosted.org/packages/source/P/$SOURCE/$TARBALL"
taziden@3777 15
pascal@15378 16 DEPENDS="python"
pascal@21582 17 BUILD_DEPENDS="python python-dev python-setuptools"
pascal@15378 18
pascal@24288 19 current_version()
pascal@24288 20 {
pascal@24288 21 wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||'
pascal@24288 22 }
pascal@24288 23
taziden@3777 24 # Rules to configure and make the package.
taziden@3777 25 compile_rules()
taziden@3777 26 {
pascal@15378 27 python setup.py install --root=$DESTDIR
taziden@3777 28 }
taziden@3777 29
taziden@3777 30 # Rules to gen a SliTaz package suitable for Tazpkg.
taziden@3777 31 genpkg_rules()
taziden@3777 32 {
Hans-Günter@23541 33 cp -a $install/usr $fs
taziden@3777 34 }