wok-next annotate python-wcwidth/receipt @ rev 20732
Some python-* packaged using pip: actualize $VERSION in genpkg_rules()
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 17:01:41 2018 +0300 (2018-05-29) |
parents | 8cad5edc1a45 |
children | 92698cd69f34 |
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" |
paul@18811 | 10 |
al@19763 | 11 BUILD_DEPENDS="python" |
paul@18811 | 12 |
al@20732 | 13 compile_rules() { |
al@19763 | 14 pip install --no-compile --root=$DESTDIR wcwidth |
paul@18811 | 15 } |
paul@18811 | 16 |
al@20732 | 17 genpkg_rules() { |
al@20732 | 18 VERSION=$(sed -n '/^Successfully installed/ s|.*wcwidth-||p' $LOGS/$PACKAGE.log) |
al@19763 | 19 copy @std |
al@19763 | 20 DEPENDS="python" |
paul@18811 | 21 } |