wok-6.x view python-lxml/receipt @ rev 18077
Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 22 17:34:18 2015 +0300 (2015-05-22) |
parents | 4ca6eb8bdb8b |
children | a78610b2eb47 |
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="http://codespeak.net/lxml/"
12 WGET_URL="${WEB_SITE}${TARBALL}"
14 DEPENDS="python libxml2 libxslt zlib"
15 BUILD_DEPENDS="python-dev libxml2 libxml2-dev libxslt libxslt-dev 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 }