wok-6.x annotate python-pyweb/receipt @ rev 25565

Reenable rpc for glibc, fix gpxe grub4dos receipt, fix linld url
author Stanislas Leduc <shann@slitaz.org>
date Tue May 09 17:24:00 2023 +0000 (19 months ago)
parents 2f230197370e
children
rev   line source
pascal@14184 1 # SliTaz package receipt.
pascal@14184 2
pascal@14184 3 PACKAGE="python-pyweb"
Hans-G?nter@25232 4 VERSION="0.51"
pascal@14184 5 CATEGORY="development"
pascal@14184 6 SHORT_DESC="A web framework for Python."
pascal@14184 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15378 8 LICENSE="PublicDomain"
Hans-G?nter@25232 9 WEB_SITE="https://pypi.org/project/web.py/"
Hans-G?nter@25232 10 REPOLOGY="python:web.py"
Hans-G?nter@25232 11
Hans-G?nter@25232 12 SOURCE="web.py"
pascal@14184 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@25232 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
pascal@15611 15
pascal@14184 16 DEPENDS="python"
Hans-G?nter@25232 17 BUILD_DEPENDS="python python-setuptools"
pascal@14184 18
pascal@24459 19 # What is the latest version available today?
pascal@24459 20 current_version()
pascal@24459 21 {
pascal@24459 22 wget -O - https://github.com/webpy/webpy/releases 2>/dev/null | \
pascal@24459 23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24459 24 }
pascal@24459 25
pascal@14184 26 # Rules to configure and make the package.
pascal@14184 27 compile_rules()
pascal@14184 28 {
Hans-G?nter@25232 29 python setup.py build &&
pascal@14184 30 python setup.py install --root=$DESTDIR
pascal@14184 31 }
pascal@14184 32
pascal@14184 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14184 34 genpkg_rules()
pascal@14184 35 {
Hans-G?nter@25232 36 cook_copy_folders lib
pascal@14184 37 }