wok-next view python-futures/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
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 }