wok-next view python-futures/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
parents | 8b5b2a6d07b8 |
children |
line source
1 # SliTaz package receipt v2.
3 ORIGIN="futures"
4 PACKAGE="python-futures"
5 VERSION="3.2.0" # for Python2
6 VERSION3="3.1.1" # for Python3
7 CATEGORY="python"
8 SHORT_DESC="Backport of the concurrent.futures package from Python 3"
9 MAINTAINER="al.bobylev@gmail.com"
10 LICENSE="PSF"
11 WEB_SITE="https://pypi.org/project/$ORIGIN/"
12 HOST_ARCH="any"
13 REPOLOGY="python:futures"
15 BUILD_DEPENDS="python python3"
16 SPLIT="${PACKAGE/python/python3}:3"
18 compile_rules() {
19 case $SET in
20 3) VERSION="$VERSION3";;
21 esac
23 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
24 }
26 genpkg_rules() {
27 copy @std
28 py="${PACKAGE%%-*}" # python/python3
29 DEPENDS="$py"
30 }