wok-next annotate python-markupsafe/receipt @ rev 21174
shaarli: fix tarball
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 14 16:02:11 2019 +0200 (2019-04-14) |
parents | 8b5b2a6d07b8 |
children |
rev | line source |
---|---|
al@20443 | 1 # SliTaz package receipt v2. |
al@20443 | 2 |
al@20972 | 3 ORIGIN="MarkupSafe" |
pascal@9669 | 4 PACKAGE="python-markupsafe" |
al@20972 | 5 VERSION="1.0" |
al@20443 | 6 CATEGORY="python" |
al@20443 | 7 SHORT_DESC="Implements a XML/HTML/XHTML Markup safe string for Python" |
pascal@9669 | 8 MAINTAINER="pascal.bellard@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:markupsafe" |
pascal@15378 | 13 |
al@20972 | 14 BUILD_DEPENDS="python python3" |
al@20972 | 15 SPLIT="${PACKAGE/python/python3}:3" |
pascal@9669 | 16 |
al@20443 | 17 compile_rules() { |
al@20972 | 18 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION |
pascal@9669 | 19 } |
pascal@9669 | 20 |
al@20443 | 21 genpkg_rules() { |
al@20443 | 22 copy @std |
al@20972 | 23 py=${PACKAGE%%-*} # python/python3 |
al@20972 | 24 DEPENDS="$py" |
pascal@9669 | 25 } |