wok-next annotate python-pygments/receipt @ rev 21307
updated hydra (7.3 -> 9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 10:07:48 2019 +0100 (2019-12-10) |
parents | 8b5b2a6d07b8 |
children |
rev | line source |
---|---|
al@19763 | 1 # SliTaz package receipt v2. |
claudinei@3385 | 2 |
al@20972 | 3 ORIGIN="Pygments" |
claudinei@3385 | 4 PACKAGE="python-pygments" |
al@20972 | 5 VERSION="2.2.0" |
claudinei@3385 | 6 CATEGORY="development" |
al@16776 | 7 SHORT_DESC="Generic syntax highlighter" |
claudinei@3385 | 8 MAINTAINER="claudinei@slitaz.org" |
pascal@15378 | 9 LICENSE="BSD" |
al@20972 | 10 WEB_SITE="https://pypi.org/project/$ORIGIN/" |
al@20972 | 11 HOST_ARCH="any" |
al@20887 | 12 REPOLOGY="python:pygments" |
pascal@15378 | 13 |
al@20972 | 14 BUILD_DEPENDS="python python3" |
al@20972 | 15 SPLIT="${PACKAGE/python/python3}:3" |
claudinei@3385 | 16 |
al@20443 | 17 compile_rules() { |
al@20972 | 18 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION |
claudinei@3385 | 19 } |
claudinei@3385 | 20 |
al@20443 | 21 genpkg_rules() { |
al@19763 | 22 copy @std |
al@20972 | 23 py="${PACKAGE%%-*}" # python/python3 |
al@20972 | 24 DEPENDS="$py" |
claudinei@3385 | 25 } |