wok-next annotate python-sphinx/receipt @ rev 21149

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jan 30 23:32:57 2019 +0200 (2019-01-30)
parents 92698cd69f34
children
rev   line source
al@20443 1 # SliTaz package receipt v2.
claudinei@3393 2
al@20972 3 ORIGIN="Sphinx"
claudinei@3393 4 PACKAGE="python-sphinx"
al@20972 5 VERSION="1.8.0"
al@20443 6 CATEGORY="python"
al@20972 7 SHORT_DESC="Python documentation generator"
claudinei@3393 8 MAINTAINER="claudinei@slitaz.org"
pascal@15376 9 LICENSE="BSD"
al@20972 10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
al@20972 11 HOST_ARCH="any"
al@20887 12 REPOLOGY="python:sphinx"
pascal@15376 13
al@20972 14 BUILD_DEPENDS="python python-alabaster python-babel python-docutils \
al@20972 15 python-imagesize python-jinja2 python-packaging python-pygments \
al@20972 16 python-requests python-six python-snowballstemmer \
al@20972 17 python-sphinxcontrib-websupport python-typing \
al@20972 18 python3 python3-alabaster python3-babel python3-docutils python3-imagesize \
al@20972 19 python3-jinja2 python3-packaging python3-pygments python3-requests python3-six \
al@20972 20 python3-snowballstemmer python3-sphinxcontrib-websupport"
al@20972 21 SPLIT="${PACKAGE/python/python3}:3"
al@20972 22
al@20443 23 COOKOPTS="!pngquant" # error: Wrote palette index exceeding num_palette (libpng failed)
claudinei@3393 24
al@20443 25 compile_rules() {
al@20972 26 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
claudinei@3393 27 }
claudinei@3393 28
al@20443 29 genpkg_rules() {
al@20972 30 copy @std
al@20972 31 py="${PACKAGE%%-*}" # python/python3
al@20972 32 case $PACKAGE in
al@20972 33 python-*)
al@20972 34 DEPENDS="$py $py-alabaster $py-babel $py-docutils $py-imagesize \
al@20972 35 $py-jinja2 $py-packaging $py-pygments $py-requests $py-six \
al@20972 36 $py-snowballstemmer $py-sphinxcontrib-websupport $py-typing"
al@20972 37 ;;
al@20972 38 python3-*)
al@20972 39 DEPENDS="$py $py-alabaster $py-babel $py-docutils $py-imagesize \
al@20972 40 $py-jinja2 $py-packaging $py-pygments $py-requests $py-six \
al@20972 41 $py-snowballstemmer $py-sphinxcontrib-websupport"
al@20972 42 ;;
al@20972 43 esac
claudinei@3393 44 }