wok-6.x view python-docutils/receipt @ rev 24045
memtest,plop: tune lzma compression
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 06 12:50:46 2021 +0000 (2021-05-06) |
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 }