wok-6.x view swagger-py/receipt @ rev 20274
linux: recook
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 18 21:05:50 2018 +0100 (2018-03-18) |
parents | eba94824c7c3 |
children | 5d50a02468c7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="swagger-py"
4 VERSION="0.2.1"
5 CATEGORY="development"
6 SHORT_DESC="Swagger client library for Python."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/digium/swagger-py"
11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
13 DEPENDS="python"
14 BUILD_DEPENDS="python setuptools"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 python setup.py build &&
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs
27 cp -a $install/usr $fs
28 }