wok-next annotate python-wcwidth/receipt @ rev 20972
Improve Python packages: update, also provide Python3 packages where available
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Sep 22 16:05:26 2018 +0300 (2018-09-22) |
parents | 8b5b2a6d07b8 |
children |
rev | line source |
---|---|
al@20972 | 1 # SliTaz package receipt v2. |
paul@18811 | 2 |
al@20972 | 3 ORIGIN="wcwidth" |
paul@18811 | 4 PACKAGE="python-wcwidth" |
al@20972 | 5 VERSION="0.1.7" |
paul@18811 | 6 CATEGORY="development" |
al@19763 | 7 SHORT_DESC="Measures number of Terminal column cells of wide-character codes" |
paul@18811 | 8 MAINTAINER="paul@slitaz.org" |
paul@18811 | 9 LICENSE="MIT" |
al@20972 | 10 WEB_SITE="https://pypi.org/project/$ORIGIN/" |
al@20972 | 11 HOST_ARCH="any" |
al@20887 | 12 REPOLOGY="python:wcwidth" |
paul@18811 | 13 |
al@20972 | 14 BUILD_DEPENDS="python python3" |
al@20972 | 15 SPLIT="${PACKAGE/python/python3}:3" |
paul@18811 | 16 |
al@20732 | 17 compile_rules() { |
al@20972 | 18 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION |
paul@18811 | 19 } |
paul@18811 | 20 |
al@20732 | 21 genpkg_rules() { |
al@19763 | 22 copy @std |
al@20972 | 23 py="${PACKAGE%%-*}" # python/python3 |
al@20972 | 24 DEPENDS="$py" |
paul@18811 | 25 } |