wok-next annotate python-beaker/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 9b3461bf373c
rev   line source
al@19763 1 # SliTaz package receipt v2.
taziden@3777 2
taziden@3777 3 PACKAGE="python-beaker"
al@20732 4 VERSION="latest"
taziden@3777 5 CATEGORY="development"
taziden@3777 6 SHORT_DESC="Cache and Session Library"
taziden@3777 7 MAINTAINER="taziden@slitaz.org"
pascal@15378 8 LICENSE="BSD"
al@19763 9 WEB_SITE="https://pypi.python.org/pypi/Beaker"
taziden@3777 10
al@19763 11 BUILD_DEPENDS="python-funcsigs"
pascal@15378 12
al@20732 13 compile_rules() {
al@19763 14 pip install --no-compile --root=$DESTDIR Beaker
taziden@3777 15 }
taziden@3777 16
al@20732 17 genpkg_rules() {
al@20732 18 VERSION=$(sed -n '/^Successfully installed/ s|.*Beaker-||p' $LOGS/$PACKAGE.log)
al@19763 19 copy @std
al@19763 20 DEPENDS="python-funcsigs"
taziden@3777 21 }