wok-next view python-gevent/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents c9a7a7b42a86
children
line source
1 # SliTaz package receipt v2.
3 ORIGIN="gevent"
4 PACKAGE="python-gevent"
5 VERSION="1.3.6"
6 CATEGORY="python"
7 SHORT_DESC="Coroutine-based network library"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 #HOST_ARCH
12 REPOLOGY="python:gevent"
14 BUILD_DEPENDS="python-dev python-greenlet \
15 python3-dev python3-greenlet" # i486 arch require dev packages...
16 SPLIT="${PACKAGE/python/python3}:3"
18 compile_rules() {
19 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
20 }
22 genpkg_rules() {
23 copy @std @dev
24 py=${PACKAGE%%-*} # python/python3
25 DEPENDS="$py $py-greenlet"
26 }