wok annotate python-gevent/receipt @ rev 19865
Up: lxtask (0.1.8)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 26 21:40:08 2017 +0200 (2017-03-26) |
parents | a173310a7d07 |
children | 5b7a2e58cdab |
rev | line source |
---|---|
pascal@15210 | 1 # SliTaz package receipt. |
pascal@15210 | 2 |
pascal@15210 | 3 PACKAGE="python-gevent" |
pascal@15210 | 4 SOURCE="gevent" |
pascal@15210 | 5 VERSION="0.13.8" |
pascal@15210 | 6 CATEGORY="development" |
pascal@15210 | 7 SHORT_DESC="A coroutine-based Python networking library." |
pascal@15210 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15210 | 9 LICENSE="MIT" |
pascal@15210 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@15210 | 11 WEB_SITE="http://www.gevent.org/" |
pascal@15210 | 12 WGET_URL="https://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@15210 | 13 |
pascal@15210 | 14 DEPENDS="python" |
pascal@15210 | 15 BUILD_DEPENDS="wget python-dev python libevent-dev" |
pascal@15210 | 16 |
pascal@15210 | 17 # Rules to configure and make the package. |
pascal@15210 | 18 compile_rules() |
pascal@15210 | 19 { |
pascal@15210 | 20 python setup.py build && |
pascal@15210 | 21 python setup.py install --root=$DESTDIR |
pascal@15210 | 22 } |
pascal@15210 | 23 |
pascal@15210 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15210 | 25 genpkg_rules() |
pascal@15210 | 26 { |
pascal@15210 | 27 mkdir -p $fs |
pascal@15210 | 28 cp -a $install/usr $fs |
pascal@15210 | 29 } |