wok-current annotate python-lxml/receipt @ rev 23508
updated python-mechanize (0.2.5 -> 0.4.5)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 06 10:13:51 2020 +0100 (2020-04-06) |
parents | 3969374b97db |
children | 1df6fa555414 |
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@1626 | 18 # Rules to configure and make the package. |
pascal@1626 | 19 compile_rules() |
pascal@1626 | 20 { |
Hans-G?nter@23508 | 21 # make |
Hans-G?nter@23508 | 22 python setup.py build && |
Hans-G?nter@23504 | 23 python setup.py install --root=$DESTDIR |
pascal@1626 | 24 } |
pascal@1626 | 25 |
pascal@1626 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1626 | 27 genpkg_rules() |
pascal@1626 | 28 { |
Hans-G?nter@23504 | 29 cp -a $install/usr $fs |
pascal@1626 | 30 } |