wok-current annotate python-gevent/receipt @ rev 25254
updated pywebkitgtk (1.1.7 -> 1.1.8)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jul 14 07:55:02 2022 +0100 (2022-07-14) |
parents | daea73103f19 |
children |
rev | line source |
---|---|
pascal@15210 | 1 # SliTaz package receipt. |
pascal@15210 | 2 |
pascal@15210 | 3 PACKAGE="python-gevent" |
pascal@24296 | 4 VERSION="21.12.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@24383 | 18 # What is the latest version available today? |
pascal@24288 | 19 current_version() |
pascal@24288 | 20 { |
pascal@24383 | 21 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||;q" |
pascal@24288 | 22 } |
pascal@24288 | 23 |
pascal@15210 | 24 # Rules to configure and make the package. |
pascal@15210 | 25 compile_rules() |
pascal@15210 | 26 { |
pascal@15210 | 27 python setup.py build && |
pascal@15210 | 28 python setup.py install --root=$DESTDIR |
pascal@15210 | 29 } |
pascal@15210 | 30 |
pascal@15210 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15210 | 32 genpkg_rules() |
pascal@15210 | 33 { |
pascal@15210 | 34 mkdir -p $fs |
pascal@15210 | 35 cp -a $install/usr $fs |
pascal@15210 | 36 } |