wok-next annotate python-pyparsing/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 | 6c73b944e8dd |
children | 92698cd69f34 |
rev | line source |
---|---|
al@20443 | 1 # SliTaz package receipt v2. |
claudinei@3418 | 2 |
claudinei@3418 | 3 PACKAGE="python-pyparsing" |
al@20732 | 4 VERSION="latest" |
claudinei@3418 | 5 CATEGORY="development" |
al@17791 | 6 SHORT_DESC="Python parsing module" |
claudinei@3418 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15378 | 8 LICENSE="MIT" |
al@20443 | 9 WEB_SITE="https://pypi.python.org/pypi/pyparsing" |
al@17791 | 10 |
al@20444 | 11 BUILD_DEPENDS="python" |
claudinei@3418 | 12 |
al@20443 | 13 compile_rules() { |
al@20443 | 14 pip install --no-compile --root=$DESTDIR pyparsing |
claudinei@3418 | 15 } |
claudinei@3418 | 16 |
al@20443 | 17 genpkg_rules() { |
al@20732 | 18 VERSION=$(sed -n '/^Successfully installed/ s|.*pyparsing-||p' $LOGS/$PACKAGE.log) |
al@20443 | 19 copy @std |
al@20443 | 20 DEPENDS="python" |
claudinei@3418 | 21 } |