wok annotate python-cssutils/receipt @ rev 25125

updated apache-mod-wsgi (4.6.5 -> 4.9.0)
author Hans-G?nter Theisgen
date Tue Jun 28 16:29:10 2022 +0100 (2022-06-28)
parents cb009344b226
children 0262035dc1e7
rev   line source
monghitri@13948 1 # SliTaz package receipt.
monghitri@13948 2
monghitri@13948 3 PACKAGE="python-cssutils"
Hans-G?nter@23475 4 VERSION="1.0.2"
monghitri@13948 5 CATEGORY="development"
monghitri@13948 6 SHORT_DESC="A Python package to parse and build CSS Cascading Style Sheets."
monghitri@13948 7 MAINTAINER="monghitri@aruba.it"
pascal@14999 8 LICENSE="GPL3"
Hans-G?nter@23475 9 WEB_SITE="https://cthedot.de/cssutils/"
Hans-G?nter@23475 10
monghitri@13948 11 SOURCE="cssutils"
Hans-G?nter@23475 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23475 13 WGET_URL="https://files.pythonhosted.org/packages/source/c/cssutils/$TARBALL"
Hans-G?nter@23475 14
monghitri@13948 15 DEPENDS="python"
pascal@21581 16 BUILD_DEPENDS="python python-setuptools"
monghitri@13948 17
pascal@24545 18 # What is the latest version available today?
pascal@24545 19 current_version()
pascal@24545 20 {
pascal@24545 21 wget -O - https://github.com/jaraco/cssutils/releases 2>/dev/null | \
pascal@24545 22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24545 23 }
pascal@24545 24
monghitri@13948 25 # Rules to configure and make the package.
monghitri@13948 26 compile_rules()
monghitri@13948 27 {
monghitri@13948 28 python setup.py install --root=$DESTDIR
monghitri@13948 29 }
monghitri@13948 30
monghitri@13948 31 # Rules to gen a SliTaz package suitable for Tazpkg.
monghitri@13948 32 genpkg_rules()
monghitri@13948 33 {
monghitri@13948 34 cp -a $install/usr $fs
monghitri@13948 35 }