wok-6.x view python-restkit/receipt @ rev 23963
Up curl (7.72.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 02 10:34:57 2020 +0000 (2020-10-02) |
parents | 814362194a8d |
children | 1df6fa555414 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-restkit"
4 VERSION="4.2.2"
5 CATEGORY="development"
6 SHORT_DESC="An HTTP resource kit for Python."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="MIT"
10 SOURCE="restkit"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="https://pypi.org/project/restkit/"
13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
15 DEPENDS="python python-http-parser python-socketpool"
16 BUILD_DEPENDS="python python-dev python-setuptools"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
29 rm -rf $install/usr/restkit
30 cp -a $install/usr $fs
31 }