wok-4.x view python-restclient/receipt @ rev 9641

Fixed rhino, ecj, and xalan-xerces-j depends. Putting java-jre for depends was a bad idea since these packages are build depends for icedtea6-jdk. java-jre is a wanted package for icetea6-jdk. This was causing a depend loop.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Apr 27 16:22:35 2011 +0000 (2011-04-27)
parents d0fa681cee8d
children
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 DEPENDS="python python-httplib2"
10 BUILD_DEPENDS="python python-dev setuptools"
11 TARBALL="$VERSION.gz"
12 WEB_SITE="http://bitbucket.org/benoitc/$SOURCE"
13 WGET_URL="$WEB_SITE/get/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py install --root=$PWD/_pkg
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
26 mkdir -p $fs/usr
27 rm -f $_pkg/usr/lib/$PYTHON_LIB/site-packages/tests/*
28 rmdir $_pkg/usr/lib/$PYTHON_LIB/site-packages/tests
29 cp -a $_pkg/usr $fs
30 }