wok-next annotate python-qrcode/receipt @ rev 21724
busybox: update configs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 11:04:25 2020 +0000 (2020-09-01) |
parents | 8b5b2a6d07b8 |
children |
rev | line source |
---|---|
al@20972 | 1 # SliTaz package receipt v2. |
pascal@15477 | 2 |
al@20972 | 3 ORIGIN="qrcode" |
pascal@15477 | 4 PACKAGE="python-qrcode" |
al@20972 | 5 VERSION="6.0" |
al@20972 | 6 CATEGORY="python" |
al@20972 | 7 SHORT_DESC="QR Code image generator" |
pascal@15477 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
al@20972 | 9 LICENSE="BSD" |
al@20972 | 10 WEB_SITE="https://pypi.org/project/$ORIGIN/" |
al@20972 | 11 HOST_ARCH="any" |
al@20887 | 12 REPOLOGY="python:qrcode" |
al@20887 | 13 |
al@20972 | 14 BUILD_DEPENDS="python-dev python-six python3-dev python3-six" |
al@20972 | 15 SPLIT="${PACKAGE/python/python3}:3" |
pascal@15477 | 16 |
al@20972 | 17 compile_rules() { |
al@20972 | 18 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION |
pascal@15477 | 19 } |
pascal@15477 | 20 |
al@20972 | 21 genpkg_rules() { |
al@20972 | 22 copy @std |
al@20972 | 23 py="${PACKAGE%%-*}" # python/python3 |
al@20972 | 24 DEPENDS="$py $py-six" |
pascal@15477 | 25 } |