wok view python-lxml/receipt @ rev 21582

Use python-setuptools as bdeps (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 19 19:45:04 2019 +0200 (2019-05-19)
parents fcd3d43eadad
children 3969374b97db
line source
1 # SliTaz package receipt.
3 PACKAGE="python-lxml"
4 VERSION="2.3"
5 CATEGORY="development"
6 SHORT_DESC="Pythonic binding for the libxml2 and libxslt libraries.."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD GPL PSL"
9 SOURCE="lxml"
10 TARBALL="$SOURCE-$VERSION.tgz"
11 WEB_SITE="https://pypi.org/project/lxml/"
12 WGET_URL="${WEB_SITE}${TARBALL}"
14 DEPENDS="python libxml2 libxslt zlib"
15 BUILD_DEPENDS="python-dev libxml2 libxml2-dev libxslt libxslt-dev python-setuptools"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 make && python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $install/usr $fs
27 }