wok annotate python-genshi/receipt @ rev 25354

updated tiff, tiff-apps and tiff-dev (4.1.0 -> 4.4.0)
author Hans-G?nter Theisgen
date Tue Jul 26 16:22:26 2022 +0100 (2022-07-26)
parents 2f230197370e
children 0262035dc1e7
rev   line source
pascal@14515 1 # SliTaz package receipt.
pascal@14515 2
pascal@14516 3 PACKAGE="python-genshi"
Hans-G?nter@25193 4 VERSION="0.7.5"
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@25193 9 WEB_SITE="https://pypi.org/project/Genshi/"
Hans-G?nter@25193 10 REPOLOGY="python:genshi"
Hans-G?nter@23489 11
pascal@14515 12 SOURCE="Genshi"
pascal@14515 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@25193 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
pascal@14515 15
pascal@14515 16 DEPENDS="python"
pascal@14515 17 BUILD_DEPENDS="python python-dev"
pascal@14515 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/edgewall/genshi/releases 2>/dev/null | \
pascal@24459 23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24459 24 }
pascal@24459 25
pascal@14515 26 # Rules to configure and make the package.
pascal@14515 27 compile_rules()
pascal@14515 28 {
pascal@14515 29 python setup.py install --root=$DESTDIR
pascal@14515 30 }
pascal@14515 31
pascal@14515 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14515 33 genpkg_rules()
pascal@14515 34 {
Hans-G?nter@23489 35 cp -a $install/usr $fs
pascal@14515 36 }