wok-current annotate python-cssselect/receipt @ rev 25733

Accept licence PyQt-x11-gpl, bump firmware* to 20240610, build imagemagick (merge)
author Stanislas Leduc <shann@slitaz.org>
date Fri Dec 20 16:13:23 2024 +0000 (3 days ago)
parents 67580a057993
children
rev   line source
monghitri@13954 1 # SliTaz package receipt.
monghitri@13954 2
monghitri@13954 3 PACKAGE="python-cssselect"
Hans-G?nter@23474 4 VERSION="1.1.0"
monghitri@13954 5 CATEGORY="development"
Hans-G?nter@23474 6 SHORT_DESC="Parses CSS3 Selectors and translates them to XPath."
monghitri@13954 7 MAINTAINER="monghitri@aruba.it"
pascal@15378 8 LICENSE="BSD"
Hans-G?nter@23474 9 WEB_SITE="https://pypi.python.org/pypi/cssselect"
Hans-G?nter@23474 10
monghitri@13954 11 SOURCE="cssselect"
monghitri@13954 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23474 13 WGET_URL="https://files.pythonhosted.org/packages/source/c/$SOURCE/$TARBALL"
pascal@15378 14
monghitri@13954 15 DEPENDS="python"
pascal@21581 16 BUILD_DEPENDS="python python-setuptools"
monghitri@13954 17
pascal@24391 18 # What is the latest version available today?
pascal@24391 19 current_version()
pascal@24391 20 {
pascal@24391 21 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \
pascal@24391 22 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q"
pascal@24391 23 }
pascal@24391 24
monghitri@13954 25 # Rules to configure and make the package.
monghitri@13954 26 compile_rules()
monghitri@13954 27 {
monghitri@13954 28 python setup.py install --root=$DESTDIR
monghitri@13954 29 }
monghitri@13954 30
monghitri@13954 31 # Rules to gen a SliTaz package suitable for Tazpkg.
monghitri@13954 32 genpkg_rules()
monghitri@13954 33 {
Hans-G?nter@23474 34 cp -a $install/usr $fs
monghitri@13954 35 }