wok-next annotate python-jinja2/receipt @ rev 21257
encfs: use cmake
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 06 13:47:57 2019 +0100 (2019-12-06) |
parents | 9b3461bf373c |
children |
rev | line source |
---|---|
al@20443 | 1 # SliTaz package receipt v2. |
claudinei@3390 | 2 |
al@20972 | 3 ORIGIN=Jinja2 |
claudinei@3390 | 4 PACKAGE="python-jinja2" |
al@20972 | 5 VERSION="2.10" |
al@20443 | 6 CATEGORY="python" |
al@20443 | 7 SHORT_DESC="Stand-alone template engine" |
claudinei@3390 | 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@20885 | 12 REPOLOGY="python:jinja2" |
pascal@15378 | 13 |
al@20972 | 14 BUILD_DEPENDS="python python-markupsafe python3 python3-markupsafe" |
al@20972 | 15 SPLIT="${PACKAGE/python/python3}:3" |
claudinei@3390 | 16 |
al@20443 | 17 compile_rules() { |
al@20972 | 18 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION |
claudinei@3390 | 19 } |
claudinei@3390 | 20 |
al@20443 | 21 genpkg_rules() { |
al@20443 | 22 copy @std |
al@20972 | 23 py=${PACKAGE%%-*} # python/python3 |
al@20972 | 24 DEPENDS="$py $py-markupsafe" |
claudinei@3390 | 25 } |