wok-next annotate 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
rev   line source
al@20969 1 # SliTaz package receipt v2.
al@20969 2
al@20972 3 ORIGIN="futures"
al@20969 4 PACKAGE="python-futures"
al@20972 5 VERSION="3.2.0" # for Python2
al@20972 6 VERSION3="3.1.1" # for Python3
al@20969 7 CATEGORY="python"
al@20969 8 SHORT_DESC="Backport of the concurrent.futures package from Python 3"
al@20969 9 MAINTAINER="al.bobylev@gmail.com"
al@20969 10 LICENSE="PSF"
al@20969 11 WEB_SITE="https://pypi.org/project/$ORIGIN/"
al@20972 12 HOST_ARCH="any"
al@20972 13 REPOLOGY="python:futures"
al@20969 14
al@20972 15 BUILD_DEPENDS="python python3"
al@20972 16 SPLIT="${PACKAGE/python/python3}:3"
al@20969 17
al@20969 18 compile_rules() {
al@20972 19 case $SET in
al@20972 20 3) VERSION="$VERSION3";;
al@20972 21 esac
al@20972 22
al@20972 23 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
al@20969 24 }
al@20969 25
al@20969 26 genpkg_rules() {
al@20969 27 copy @std
al@20972 28 py="${PACKAGE%%-*}" # python/python3
al@20972 29 DEPENDS="$py"
al@20969 30 }