wok annotate python-pylons/receipt @ rev 24749

cairo: modified lookup-symbol.c for binutils-2.37
author Hans-G?nter Theisgen
date Wed Mar 16 17:06:35 2022 +0100 (2022-03-16)
parents 1df6fa555414
children
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@24383 19 # What is the latest version available today?
pascal@24288 20 current_version()
pascal@24288 21 {
pascal@24383 22 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||;q"
pascal@24288 23 }
pascal@24288 24
taziden@3777 25 # Rules to configure and make the package.
taziden@3777 26 compile_rules()
taziden@3777 27 {
pascal@15378 28 python setup.py install --root=$DESTDIR
taziden@3777 29 }
taziden@3777 30
taziden@3777 31 # Rules to gen a SliTaz package suitable for Tazpkg.
taziden@3777 32 genpkg_rules()
taziden@3777 33 {
Hans-G?nter@23541 34 cp -a $install/usr $fs
taziden@3777 35 }