wok-next view python-zfec/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="zfec"
4 PACKAGE="python-zfec"
5 VERSION="1.5.3"
6 CATEGORY="python"
7 SHORT_DESC="An efficient, portable erasure coding tool"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 #HOST_ARCH
12 REPOLOGY="python:zfec"
14 BUILD_DEPENDS="python-dev python-argparse python-pyutil \
15 python3-dev python3-pyutil"
16 SPLIT="${PACKAGE/python/python3}:3"
18 compile_rules() {
19 fix utf-8; export LC_ALL=en_US.UTF-8
21 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
22 }
24 genpkg_rules() {
25 copy @std
26 py="${PACKAGE%%-*}" # python/python3
27 case $PACKAGE in
28 python-*) DEPENDS="$py $py-argparse $py-pyutil";;
29 python3-*) DEPENDS="$py $py-pyutil";;
30 esac
31 }