wok-6.x annotate python-docutils/receipt @ rev 23806
linld: add isoboot
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 24 16:16:52 2020 +0000 (2020-05-24) |
parents | 9e01bc6321ea |
children | 1df6fa555414 |
rev | line source |
---|---|
claudinei@3392 | 1 # SliTaz package receipt. |
claudinei@3392 | 2 |
claudinei@3392 | 3 PACKAGE="python-docutils" |
Hans-G?nter@23480 | 4 VERSION="0.16" |
claudinei@3392 | 5 CATEGORY="development" |
claudinei@3392 | 6 SHORT_DESC="Text processing system." |
claudinei@3392 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@15379 | 8 LICENSE="PublicDomain GPL3 BSD" |
Hans-G?nter@23480 | 9 WEB_SITE="https://pypi.org/project/docutils" |
Hans-G?nter@23480 | 10 |
Hans-G?nter@23480 | 11 SOURCE="docutils" |
claudinei@14874 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23480 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/d/$SOURCE/$TARBALL" |
Hans-G?nter@23480 | 14 |
Hans-G?nter@23480 | 15 SUGGESTED="python-pil" |
claudinei@3392 | 16 DEPENDS="python" |
Hans-G?nter@23480 | 17 BUILD_DEPENDS="python python-dev python-setuptools" |
claudinei@3392 | 18 |
claudinei@3392 | 19 # Rules to configure and make the package. |
claudinei@3392 | 20 compile_rules() |
claudinei@3392 | 21 { |
claudinei@14874 | 22 python setup.py install --root=$DESTDIR |
claudinei@3392 | 23 } |
claudinei@3392 | 24 |
claudinei@3392 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3392 | 26 genpkg_rules() |
claudinei@3392 | 27 { |
Hans-G?nter@23480 | 28 cp -a $install/usr $fs |
claudinei@3392 | 29 } |
claudinei@3392 | 30 |
claudinei@3404 | 31 # Remove old package. |
claudinei@3404 | 32 post_install() |
claudinei@3404 | 33 { |
pascal@18730 | 34 [ ! -d "$1/var/lib/tazpkg/installed/docutils" ] || |
pascal@18730 | 35 rm -rf "$1/var/lib/tazpkg/installed/docutils" |
claudinei@3404 | 36 } |