wok-next diff 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 |
line diff
1.1 --- a/python-jinja2/receipt Fri Jul 13 13:52:56 2018 +0300 1.2 +++ b/python-jinja2/receipt Fri Dec 06 13:47:57 2019 +0100 1.3 @@ -1,22 +1,25 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 +ORIGIN=Jinja2 1.7 PACKAGE="python-jinja2" 1.8 -VERSION="latest" 1.9 +VERSION="2.10" 1.10 CATEGORY="python" 1.11 SHORT_DESC="Stand-alone template engine" 1.12 MAINTAINER="claudinei@slitaz.org" 1.13 LICENSE="BSD" 1.14 -WEB_SITE="http://jinja.pocoo.org" 1.15 +WEB_SITE="https://pypi.org/project/$ORIGIN/" 1.16 +HOST_ARCH="any" 1.17 REPOLOGY="python:jinja2" 1.18 1.19 -BUILD_DEPENDS="python-markupsafe" 1.20 +BUILD_DEPENDS="python python-markupsafe python3 python3-markupsafe" 1.21 +SPLIT="${PACKAGE/python/python3}:3" 1.22 1.23 compile_rules() { 1.24 - pip install --no-compile --root=$DESTDIR Jinja2 1.25 + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION 1.26 } 1.27 1.28 genpkg_rules() { 1.29 - VERSION=$(sed -n '/^Successfully installed/ s|.*Jinja2-||p' $LOGS/$PACKAGE.log) 1.30 copy @std 1.31 - DEPENDS="python-markupsafe" 1.32 + py=${PACKAGE%%-*} # python/python3 1.33 + DEPENDS="$py $py-markupsafe" 1.34 }