wok-current view python-gevent/receipt @ rev 16476
ARM: add python-routes + python-serial (but main python dont cook anymore)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 22 22:49:42 2014 +0200 (2014-04-22) |
parents | |
children | 16df76e1fc6a |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-gevent"
4 SOURCE="gevent"
5 VERSION="0.13.8"
6 CATEGORY="development"
7 SHORT_DESC="A coroutine-based Python networking library."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.gevent.org/"
12 WGET_URL="https://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="wget python-dev python libevent-dev"
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 }