wok-next annotate python-wcwidth/receipt @ rev 20887
Check Repology info up to p* packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jul 13 17:30:55 2018 +0300 (2018-07-13) |
parents | 542df2bfb7b5 |
children | 8b5b2a6d07b8 |
rev | line source |
---|---|
paul@18811 | 1 # SliTaz package receipt. |
paul@18811 | 2 |
paul@18811 | 3 PACKAGE="python-wcwidth" |
al@20732 | 4 VERSION="latest" |
paul@18811 | 5 CATEGORY="development" |
al@19763 | 6 SHORT_DESC="Measures number of Terminal column cells of wide-character codes" |
paul@18811 | 7 MAINTAINER="paul@slitaz.org" |
paul@18811 | 8 LICENSE="MIT" |
al@19763 | 9 WEB_SITE="https://pypi.python.org/pypi/wcwidth" |
al@20887 | 10 REPOLOGY="python:wcwidth" |
paul@18811 | 11 |
al@19763 | 12 BUILD_DEPENDS="python" |
paul@18811 | 13 |
al@20732 | 14 compile_rules() { |
al@19763 | 15 pip install --no-compile --root=$DESTDIR wcwidth |
paul@18811 | 16 } |
paul@18811 | 17 |
al@20732 | 18 genpkg_rules() { |
al@20732 | 19 VERSION=$(sed -n '/^Successfully installed/ s|.*wcwidth-||p' $LOGS/$PACKAGE.log) |
al@19763 | 20 copy @std |
al@19763 | 21 DEPENDS="python" |
paul@18811 | 22 } |