wok-next view python-sphinx/receipt @ rev 21351

updated faad2 (2.8.8 -> 2.9.1)
author Hans-G?nter Theisgen
date Fri Apr 10 07:14:21 2020 +0100 (2020-04-10)
parents 92698cd69f34
children
line source
1 # SliTaz package receipt v2.
3 ORIGIN="Sphinx"
4 PACKAGE="python-sphinx"
5 VERSION="1.8.0"
6 CATEGORY="python"
7 SHORT_DESC="Python documentation generator"
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="BSD"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:sphinx"
14 BUILD_DEPENDS="python python-alabaster python-babel python-docutils \
15 python-imagesize python-jinja2 python-packaging python-pygments \
16 python-requests python-six python-snowballstemmer \
17 python-sphinxcontrib-websupport python-typing \
18 python3 python3-alabaster python3-babel python3-docutils python3-imagesize \
19 python3-jinja2 python3-packaging python3-pygments python3-requests python3-six \
20 python3-snowballstemmer python3-sphinxcontrib-websupport"
21 SPLIT="${PACKAGE/python/python3}:3"
23 COOKOPTS="!pngquant" # error: Wrote palette index exceeding num_palette (libpng failed)
25 compile_rules() {
26 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
27 }
29 genpkg_rules() {
30 copy @std
31 py="${PACKAGE%%-*}" # python/python3
32 case $PACKAGE in
33 python-*)
34 DEPENDS="$py $py-alabaster $py-babel $py-docutils $py-imagesize \
35 $py-jinja2 $py-packaging $py-pygments $py-requests $py-six \
36 $py-snowballstemmer $py-sphinxcontrib-websupport $py-typing"
37 ;;
38 python3-*)
39 DEPENDS="$py $py-alabaster $py-babel $py-docutils $py-imagesize \
40 $py-jinja2 $py-packaging $py-pygments $py-requests $py-six \
41 $py-snowballstemmer $py-sphinxcontrib-websupport"
42 ;;
43 esac
44 }