wok view python-gevent/receipt @ rev 20656
tazpkg: do not assume . in search path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 13 11:43:59 2019 +0100 (2019-01-13) |
parents | a173310a7d07 |
children | 5b7a2e58cdab |
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 python setup.py build &&
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs
28 cp -a $install/usr $fs
29 }