wok-6.x annotate python-lxml/receipt @ rev 24397

updated cc65 (2.18 -> 2.19)
author Hans-G?nter Theisgen
date Tue Feb 08 13:39:16 2022 +0100 (2022-02-08)
parents 1df6fa555414
children 57030e42feb4
rev   line source
pascal@1626 1 # SliTaz package receipt.
pascal@1626 2
pascal@1626 3 PACKAGE="python-lxml"
Hans-G?nter@23504 4 VERSION="4.5.0"
pascal@1626 5 CATEGORY="development"
pascal@1626 6 SHORT_DESC="Pythonic binding for the libxml2 and libxslt libraries.."
pascal@1626 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15385 8 LICENSE="BSD GPL PSL"
Hans-G?nter@23504 9 WEB_SITE="https://pypi.org/project/lxml/"
Hans-G?nter@23504 10
pascal@1626 11 SOURCE="lxml"
Hans-G?nter@23504 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23504 13 WGET_URL="https://files.pythonhosted.org/packages/source/l/$SOURCE/$TARBALL"
pascal@15379 14
Hans-G?nter@23504 15 DEPENDS="libxml2 libxslt python zlib"
Hans-G?nter@23504 16 BUILD_DEPENDS="libxml2 libxml2-dev libxslt libxslt-dev python python-dev python-setuptools"
pascal@1626 17
pascal@24383 18 # What is the latest version available today?
pascal@24288 19 current_version()
pascal@24288 20 {
pascal@24383 21 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
pascal@24288 22 }
pascal@24288 23
pascal@1626 24 # Rules to configure and make the package.
pascal@1626 25 compile_rules()
pascal@1626 26 {
Hans-G?nter@23508 27 # make
Hans-G?nter@23508 28 python setup.py build &&
Hans-G?nter@23504 29 python setup.py install --root=$DESTDIR
pascal@1626 30 }
pascal@1626 31
pascal@1626 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1626 33 genpkg_rules()
pascal@1626 34 {
Hans-G?nter@23504 35 cp -a $install/usr $fs
pascal@1626 36 }