wok-6.x view python-sphinx/receipt @ rev 23835
Up axel (2.17.8), bluez (5.54), cpio (2.13), dnsmasq (2.81), libssh (0.9.4), unbound (1.10.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 01 09:34:18 2020 +0000 (2020-06-01) |
parents | c71df21187b4 |
children | d7522d21c4d3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-sphinx"
4 VERSION="1.8.5"
5 CATEGORY="utilities"
6 SHORT_DESC="Documentation Tool."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.sphinx-doc.org/"
11 SOURCE="Sphinx"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
15 DEPENDS="python python-docutils python-jinja2 python-pygments python-setuptools"
16 BUILD_DEPENDS="$DEPENDS python-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 python setup.py build &&
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/sphinx" ] ||
35 rm -rf "$1/var/lib/tazpkg/installed/sphinx"
36 }