wok-6.x view python-docutils/receipt @ rev 24193

updated perl-datetime (1.52 -> 1.55)
author Hans-G?nter Theisgen
date Fri Dec 31 14:48:34 2021 +0100 (2021-12-31)
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 }