wok-next diff swagger-py/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | 6c73b944e8dd |
children |
line diff
1.1 --- a/swagger-py/receipt Mon Feb 26 04:46:49 2018 +0200 1.2 +++ b/swagger-py/receipt Sat Nov 21 14:32:44 2020 +0100 1.3 @@ -1,28 +1,25 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="swagger-py" 1.8 VERSION="0.2.1" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="Swagger client library for Python." 1.11 +SHORT_DESC="Swagger client library for Python" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="BSD" 1.14 +WEB_SITE="https://github.com/digium/swagger-py" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="https://github.com/digium/swagger-py" 1.18 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" 1.19 1.20 -DEPENDS="python" 1.21 BUILD_DEPENDS="python" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 - python setup.py build && 1.27 - python setup.py install --root=$DESTDIR 1.28 +compile_rules() { 1.29 + python -B setup.py build && 1.30 + python -B setup.py install --root=$install 1.31 } 1.32 1.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 -genpkg_rules() 1.35 -{ 1.36 +genpkg_rules() { 1.37 mkdir -p $fs 1.38 cp -a $install/usr $fs 1.39 + DEPENDS="python" 1.40 }