wok-next view python-restclient/receipt @ rev 20405
Follow BLFS Chapter 9 "General Libraries": up apr, apr-util, aspell, autoconf213 (for js), dbus-glib, enchant, exempi, fftw, glib, glibmm, gmime, gobject-introspection, gsl, js, libboost.
js is 39.7MB / 87.6MB now. Looks like it's proper time to kick off polkit (Hi, Xander! You was right.)
js is 39.7MB / 87.6MB now. Looks like it's proper time to kick off polkit (Hi, Xander! You was right.)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 07 17:39:40 2017 +0200 (2017-12-07) |
parents | bf4a09ef1d2e |
children | 6c73b944e8dd |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-restclient"
4 SOURCE="py-restclient"
5 VERSION="1.3.2"
6 CATEGORY="development"
7 SHORT_DESC="A simple REST client for python"
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="MIT"
10 TARBALL="$PACKAGE-$VERSION.tgz"
11 WEB_SITE="http://bitbucket.org/benoitc/$SOURCE"
12 WGET_URL="$WEB_SITE/get/$VERSION.gz"
14 DEPENDS="python python-httplib2"
15 BUILD_DEPENDS="python python-dev setuptools"
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 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
27 mkdir -p $fs/usr
28 rm -f $install/usr/lib/$PYTHON_LIB/site-packages/tests/*
29 rmdir $install/usr/lib/$PYTHON_LIB/site-packages/tests
30 cp -a $install/usr $fs
31 }