wok annotate python-gevent/receipt @ rev 21579
updated python-gevent (0.13.8 -> 1.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun May 19 16:11:22 2019 +0100 (2019-05-19) |
parents | 16df76e1fc6a |
children | 1df6fa555414 |
rev | line source |
---|---|
pascal@15210 | 1 # SliTaz package receipt. |
pascal@15210 | 2 |
pascal@15210 | 3 PACKAGE="python-gevent" |
Hans-G?nter@21579 | 4 VERSION="1.4.0" |
pascal@15210 | 5 CATEGORY="development" |
pascal@15210 | 6 SHORT_DESC="A coroutine-based Python networking library." |
pascal@15210 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15210 | 8 LICENSE="MIT" |
Hans-G?nter@21579 | 9 WEB_SITE="https://pypi.org/project/gevent/" |
Hans-G?nter@21579 | 10 |
Hans-G?nter@21579 | 11 SOURCE="gevent" |
pascal@15210 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@15210 | 13 WGET_URL="https://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@15210 | 14 |
pascal@15210 | 15 DEPENDS="python" |
Hans-G?nter@21579 | 16 BUILD_DEPENDS="file libevent-dev python python-dev python-setuptools" |
pascal@15210 | 17 |
pascal@15210 | 18 # Rules to configure and make the package. |
pascal@15210 | 19 compile_rules() |
pascal@15210 | 20 { |
pascal@15210 | 21 python setup.py build && |
pascal@15210 | 22 python setup.py install --root=$DESTDIR |
pascal@15210 | 23 } |
pascal@15210 | 24 |
pascal@15210 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15210 | 26 genpkg_rules() |
pascal@15210 | 27 { |
pascal@15210 | 28 mkdir -p $fs |
pascal@15210 | 29 cp -a $install/usr $fs |
pascal@15210 | 30 } |