wok-6.x view python-docutils/receipt @ rev 23775
updated xorg-libXpm, xorg-libXpm-dev and xorg-libXpm-util (3.5.12 -> 3.5.13)
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 20 16:21:25 2020 +0100 (2020-05-20) |
parents | 9e01bc6321ea |
children | 1df6fa555414 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-docutils"
4 VERSION="0.16"
5 CATEGORY="development"
6 SHORT_DESC="Text processing system."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="PublicDomain GPL3 BSD"
9 WEB_SITE="https://pypi.org/project/docutils"
11 SOURCE="docutils"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://files.pythonhosted.org/packages/source/d/$SOURCE/$TARBALL"
15 SUGGESTED="python-pil"
16 DEPENDS="python"
17 BUILD_DEPENDS="python python-dev python-setuptools"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
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/docutils" ] ||
35 rm -rf "$1/var/lib/tazpkg/installed/docutils"
36 }