wok-next view python-pyxml/receipt @ rev 20949

Fix homepages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Sep 01 16:21:51 2018 +0300 (2018-09-01)
parents d6378d455338
children c9a7a7b42a86
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 WEB_SITE="http://pyxml.sourceforge.net/"
10 REPOLOGY="python:pyxml"
12 SOURCE="PyXML"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="$SF_MIRROR/pyxml/$TARBALL"
16 DEPENDS="python"
17 BUILD_DEPENDS="python python-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
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 }