wok-next view python-futures/receipt @ rev 21432

updated rawstudio (1.2 -> 2.0)
author Hans-G?nter Theisgen
date Tue May 05 09:38:29 2020 +0100 (2020-05-05)
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 }