wok-6.x rev 19244
Add swagger-py & ari-py
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 28 15:10:47 2016 +0200 (2016-06-28) |
parents | c9fa53c9d199 |
children | 645104ef06c0 |
files | ari-py/receipt swagger-py/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ari-py/receipt Tue Jun 28 15:10:47 2016 +0200 1.3 @@ -0,0 +1,27 @@ 1.4 +PACKAGE="ari-py" 1.5 +VERSION="0.1.3" 1.6 +CATEGORY="development" 1.7 +SHORT_DESC="Library for accessing the Asterisk REST Interface." 1.8 +MAINTAINER="pascal.bellard@slitaz.org" 1.9 +LICENSE="BSD" 1.10 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.11 +WEB_SITE="https://github.com/asterisk/ari-py" 1.12 +WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" 1.13 + 1.14 +DEPENDS="python" 1.15 +SUGGESTED="asterisk" 1.16 +BUILD_DEPENDS="python" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + python setup.py build && 1.22 + python setup.py install --root=$DESTDIR 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + mkdir -p $fs 1.29 + cp -a $install/usr $fs 1.30 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/swagger-py/receipt Tue Jun 28 15:10:47 2016 +0200 2.3 @@ -0,0 +1,26 @@ 2.4 +PACKAGE="swagger-py" 2.5 +VERSION="0.2.1" 2.6 +CATEGORY="development" 2.7 +SHORT_DESC="Swagger client library for Python." 2.8 +MAINTAINER="pascal.bellard@slitaz.org" 2.9 +LICENSE="BSD" 2.10 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.11 +WEB_SITE="https://github.com/digium/swagger-py" 2.12 +WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" 2.13 + 2.14 +DEPENDS="python" 2.15 +BUILD_DEPENDS="python" 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + python setup.py build && 2.21 + python setup.py install --root=$DESTDIR 2.22 +} 2.23 + 2.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.25 +genpkg_rules() 2.26 +{ 2.27 + mkdir -p $fs 2.28 + cp -a $install/usr $fs 2.29 +}