wok-next annotate python-asterisk/receipt @ rev 20738

Up scons (3.0.1); add scons2 (2.5.1)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 29 21:13:51 2018 +0300 (2018-05-29)
parents 8cad5edc1a45
children 4e6503d7a19f
rev   line source
al@19763 1 # SliTaz package receipt v2.
pascal@14500 2
pascal@14500 3 PACKAGE="python-asterisk"
al@20732 4 VERSION="latest"
pascal@14500 5 CATEGORY="development"
al@19763 6 SHORT_DESC="Python bindings for the Asterisk Manager API"
pascal@14500 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15378 8 LICENSE="MIT"
al@19763 9 WEB_SITE="https://pypi.python.org/pypi/py-Asterisk"
pascal@14500 10
al@19763 11 BUILD_DEPENDS="python"
pascal@14500 12
al@20732 13 compile_rules() {
al@19763 14 pip install --no-compile --root=$DESTDIR py-Asterisk
pascal@14500 15 }
pascal@14500 16
al@20732 17 genpkg_rules() {
al@20732 18 VERSION=$(sed -n '/^Successfully installed/ s|.*py-Asterisk-||p' $LOGS/$PACKAGE.log)
al@19763 19 copy @std
al@19763 20 DEPENDS="python"
pascal@14500 21 }