wok-next annotate swagger-py/receipt @ 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 | |
children | 645104ef06c0 |
rev | line source |
---|---|
pascal@19244 | 1 PACKAGE="swagger-py" |
pascal@19244 | 2 VERSION="0.2.1" |
pascal@19244 | 3 CATEGORY="development" |
pascal@19244 | 4 SHORT_DESC="Swagger client library for Python." |
pascal@19244 | 5 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19244 | 6 LICENSE="BSD" |
pascal@19244 | 7 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@19244 | 8 WEB_SITE="https://github.com/digium/swagger-py" |
pascal@19244 | 9 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
pascal@19244 | 10 |
pascal@19244 | 11 DEPENDS="python" |
pascal@19244 | 12 BUILD_DEPENDS="python" |
pascal@19244 | 13 |
pascal@19244 | 14 # Rules to configure and make the package. |
pascal@19244 | 15 compile_rules() |
pascal@19244 | 16 { |
pascal@19244 | 17 python setup.py build && |
pascal@19244 | 18 python setup.py install --root=$DESTDIR |
pascal@19244 | 19 } |
pascal@19244 | 20 |
pascal@19244 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19244 | 22 genpkg_rules() |
pascal@19244 | 23 { |
pascal@19244 | 24 mkdir -p $fs |
pascal@19244 | 25 cp -a $install/usr $fs |
pascal@19244 | 26 } |