wok-6.x view python-gevent-psycopg2/receipt @ rev 16742
Up slitaz-boot-scripts (5.6.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 10 10:35:54 2014 +0200 (2014-06-10) |
parents | |
children | 9689f1b75619 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-gevent-psycopg2"
4 SOURCE="gevent-psycopg2"
5 VERSION="0.0.3"
6 CATEGORY="development"
7 SHORT_DESC="Patch psycopg2 to use gevent."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="PublicDomain"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://github.com/zacharyvoase/gevent-psycopg2"
12 WGET_URL="https://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
14 DEPENDS="python-psycopg2 python-gevent"
15 BUILD_DEPENDS="wget python-distribute python-dev python"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 python setup.py build &&
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs
29 cp -a $install/usr $fs
30 }