# HG changeset patch # User Pascal Bellard # Date 1379009096 0 # Node ID a173310a7d072e432c2fc972f2b3b8b2ec653b9d # Parent f80eb6a9a6acdbdd2e1ef376bab9739eafa8ee21 Add python-gevent diff -r f80eb6a9a6ac -r a173310a7d07 python-gevent/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-gevent/receipt Thu Sep 12 18:04:56 2013 +0000 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="python-gevent" +SOURCE="gevent" +VERSION="0.13.8" +CATEGORY="development" +SHORT_DESC="A coroutine-based Python networking library." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="MIT" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.gevent.org/" +WGET_URL="https://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" + +DEPENDS="python" +BUILD_DEPENDS="wget python-dev python libevent-dev" + +# 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 +}