wok view python-restkit/receipt @ rev 23789

updated yelp-xsl (3.34.0 -> 3.36.0)
author Hans-G?nter Theisgen
date Fri May 22 07:34:27 2020 +0100 (2020-05-22)
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 }