wok-next annotate python-jinja2/receipt @ rev 20732
Some python-* packaged using pip: actualize $VERSION in genpkg_rules()
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 17:01:41 2018 +0300 (2018-05-29) |
parents | 6c73b944e8dd |
children | 9b3461bf373c |
rev | line source |
---|---|
al@20443 | 1 # SliTaz package receipt v2. |
claudinei@3390 | 2 |
claudinei@3390 | 3 PACKAGE="python-jinja2" |
al@20732 | 4 VERSION="latest" |
al@20443 | 5 CATEGORY="python" |
al@20443 | 6 SHORT_DESC="Stand-alone template engine" |
claudinei@3390 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@15378 | 8 LICENSE="BSD" |
claudinei@3390 | 9 WEB_SITE="http://jinja.pocoo.org" |
pascal@15378 | 10 |
al@20444 | 11 BUILD_DEPENDS="python-markupsafe" |
claudinei@3390 | 12 |
al@20443 | 13 compile_rules() { |
al@20443 | 14 pip install --no-compile --root=$DESTDIR Jinja2 |
claudinei@3390 | 15 } |
claudinei@3390 | 16 |
al@20443 | 17 genpkg_rules() { |
al@20732 | 18 VERSION=$(sed -n '/^Successfully installed/ s|.*Jinja2-||p' $LOGS/$PACKAGE.log) |
al@20443 | 19 copy @std |
al@20444 | 20 DEPENDS="python-markupsafe" |
claudinei@3390 | 21 } |