wok-next annotate swagger-py/receipt @ rev 20738

Up scons (3.0.1); add scons2 (2.5.1)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 29 21:13:51 2018 +0300 (2018-05-29)
parents 645104ef06c0
children d5aab818505e
rev   line source
pascal@19245 1 # SliTaz package receipt.
pascal@19245 2
pascal@19244 3 PACKAGE="swagger-py"
pascal@19244 4 VERSION="0.2.1"
pascal@19244 5 CATEGORY="development"
pascal@19244 6 SHORT_DESC="Swagger client library for Python."
pascal@19244 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@19244 8 LICENSE="BSD"
pascal@19244 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@19244 10 WEB_SITE="https://github.com/digium/swagger-py"
pascal@19244 11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
pascal@19244 12
pascal@19244 13 DEPENDS="python"
al@20444 14 BUILD_DEPENDS="python"
pascal@19244 15
pascal@19244 16 # Rules to configure and make the package.
pascal@19244 17 compile_rules()
pascal@19244 18 {
pascal@19244 19 python setup.py build &&
pascal@19244 20 python setup.py install --root=$DESTDIR
pascal@19244 21 }
pascal@19244 22
pascal@19244 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@19244 24 genpkg_rules()
pascal@19244 25 {
pascal@19244 26 mkdir -p $fs
pascal@19244 27 cp -a $install/usr $fs
pascal@19244 28 }