wok-6.x view python-docutils/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 9689f1b75619
children 1067bb7f1e24
line source
1 # SliTaz package receipt.
3 PACKAGE="python-docutils"
4 SOURCE="docutils"
5 VERSION="0.11"
6 CATEGORY="development"
7 SHORT_DESC="Text processing system."
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="PublicDomain GPL3 BSD"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://docutils.sourceforge.net"
12 WGET_URL="http://switch.dl.sourceforge.net/project/$SOURCE/$SOURCE/$VERSION/$TARBALL"
13 DEPENDS="python"
14 BUILD_DEPENDS="python python-dev"
15 SUGGESTED="python-pil"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 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 }
29 # Remove old package.
30 post_install()
31 {
32 rm -rf $1/var/lib/tazpkg/installed/docutils
33 }