# HG changeset patch # User Pascal Bellard # Date 1379010045 0 # Node ID a75df1d17e5c5e2bbe2ff4c358f0d868b3c6d21c # Parent a173310a7d072e432c2fc972f2b3b8b2ec653b9d Add python-gevent-psycopg2 diff -r a173310a7d07 -r a75df1d17e5c python-gevent-psycopg2/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-gevent-psycopg2/receipt Thu Sep 12 18:20:45 2013 +0000 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="python-gevent-psycopg2" +SOURCE="gevent-psycopg2" +VERSION="0.0.3" +CATEGORY="development" +SHORT_DESC="Patch psycopg2 to use gevent." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="PublicDomain" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://github.com/zacharyvoase/gevent-psycopg2" +WGET_URL="https://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" + +DEPENDS="python-psycopg2 python-gevent" +BUILD_DEPENDS="wget python-distribute python-dev python" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py build && + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs + cp -a $install/usr $fs +}