wok view python-docutils/receipt @ rev 24257
updated perl-test-nowarnings (1.04 -> 1.06)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 10:05:21 2022 +0100 (2022-01-02) |
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 }