wok-6.x view python-pyxml/receipt @ rev 18384
fbida: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 18 09:21:51 2015 +0200 (2015-09-18) |
parents | fd4f1e692109 |
children | c9b5496994f8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pyxml"
4 VERSION="0.8.4"
5 CATEGORY="development"
6 SHORT_DESC="Pythonic binding for xml..."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 SOURCE="PyXML"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://pyxml.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/pyxml/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python python-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 patch -Np1 -i $stuff/fix-python2.6.patch
21 python setup.py build --with-xslt
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/usr $fs
29 }
31 # Remove old package.
32 post_install()
33 {
34 [ -d $1/var/lib/tazpkg/installed/pyxml ] &&
35 rm -rf $1/var/lib/tazpkg/installed/pyxml
36 }