wok-next diff python-asterisk/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | 16df76e1fc6a |
children | 542df2bfb7b5 |
line diff
1.1 --- a/python-asterisk/receipt Fri May 22 17:34:18 2015 +0300 1.2 +++ b/python-asterisk/receipt Tue May 29 15:17:41 2018 +0300 1.3 @@ -1,29 +1,24 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="python-asterisk" 1.8 -SOURCE="py-Asterisk" 1.9 -VERSION="0.5.1" 1.10 +VERSION="0.5.14" 1.11 CATEGORY="development" 1.12 -SHORT_DESC="Python bindings for the Asterisk Manager API." 1.13 +SHORT_DESC="Python bindings for the Asterisk Manager API" 1.14 MAINTAINER="pascal.bellard@slitaz.org" 1.15 LICENSE="MIT" 1.16 -TARBALL="$SOURCE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://code.google.com/p/py-asterisk/" 1.18 -WGET_URL="http://pypi.python.org/packages/source/p/$SOURCE/$TARBALL" 1.19 +WEB_SITE="https://pypi.python.org/pypi/py-Asterisk" 1.20 1.21 -DEPENDS="python" 1.22 -BUILD_DEPENDS="python-dev python" 1.23 +BUILD_DEPENDS="python" 1.24 1.25 # Rules to configure and make the package. 1.26 compile_rules() 1.27 { 1.28 - python setup.py build && 1.29 - python setup.py install --root=$DESTDIR 1.30 + pip install --no-compile --root=$DESTDIR py-Asterisk 1.31 } 1.32 1.33 # Rules to gen a SliTaz package suitable for Tazpkg. 1.34 genpkg_rules() 1.35 { 1.36 - mkdir -p $fs 1.37 - cp -a $install/usr $fs 1.38 + copy @std 1.39 + DEPENDS="python" 1.40 }