wok-current view python-pyxml/receipt @ rev 16885

Strip deps: gettext -> gettext-base.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jul 13 23:12:56 2014 +0300 (2014-07-13)
parents 49f6bb911352
children 7390f8de9846
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 cd $src
21 patch -Np1 -i $stuff/fix-python2.6.patch
22 python setup.py build --with-xslt
23 python setup.py install --root=$DESTDIR
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/usr $fs
30 }
32 # Remove old package.
33 post_install()
34 {
35 [ -d $1/var/lib/tazpkg/installed/pyxml ] &&
36 rm -rf $1/var/lib/tazpkg/installed/pyxml
37 }