wok annotate python-genshi/receipt @ rev 24815

updated libnids (1.24 -> 1.26)
author Hans-G?nter Theisgen
date Wed Mar 23 06:19:41 2022 +0100 (2022-03-23)
parents 9a628050ec65
children 2a6c6a7b43a0
rev   line source
pascal@14515 1 # SliTaz package receipt.
pascal@14515 2
pascal@14516 3 PACKAGE="python-genshi"
Hans-G?nter@23489 4 VERSION="0.7.3"
pascal@14515 5 CATEGORY="development"
pascal@14515 6 SHORT_DESC="Python toolkit for generation of output for the web."
pascal@14515 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15378 8 LICENSE="BSD"
Hans-G?nter@23489 9 WEB_SITE="https://genshi.edgewall.org/"
Hans-G?nter@23489 10
pascal@14515 11 SOURCE="Genshi"
pascal@14515 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23489 13 WGET_URL="https://files.pythonhosted.org/packages/source/G/$SOURCE/$TARBALL"
pascal@14515 14
pascal@14515 15 DEPENDS="python"
pascal@14515 16 BUILD_DEPENDS="python python-dev"
pascal@14515 17
pascal@24459 18 # What is the latest version available today?
pascal@24459 19 current_version()
pascal@24459 20 {
pascal@24459 21 wget -O - https://github.com/edgewall/genshi/releases 2>/dev/null | \
pascal@24459 22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24459 23 }
pascal@24459 24
pascal@14515 25 # Rules to configure and make the package.
pascal@14515 26 compile_rules()
pascal@14515 27 {
pascal@14515 28 python setup.py install --root=$DESTDIR
pascal@14515 29 }
pascal@14515 30
pascal@14515 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14515 32 genpkg_rules()
pascal@14515 33 {
Hans-G?nter@23489 34 cp -a $install/usr $fs
pascal@14515 35 }