wok-6.x view python-restkit/receipt @ rev 21582
Use python-setuptools as bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 19 19:45:04 2019 +0200 (2019-05-19) |
parents | 7390f8de9846 |
children | 70c49ddb476b |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-restkit"
4 SOURCE="restkit"
5 VERSION="4.2.1"
6 CATEGORY="development"
7 SHORT_DESC="An HTTP resource kit for Python"
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="MIT"
10 TARBALL="$SOURCE-$VERSION.zip"
11 WEB_SITE="http://restkit.readthedocs.org"
12 WGET_URL="https://github.com/benoitc/$SOURCE/archive/$VERSION.zip"
14 DEPENDS="python python-http-parser python-socketpool"
15 BUILD_DEPENDS="python-dev python-setuptools wget"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
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/usr
27 rm -rf $install/usr/restkit
28 cp -a $install/usr $fs
29 }