wok-next view python-zfec/receipt @ rev 21286

updated gnuradio (3.7.8 -> 3.8.0.0)
author Hans-G?nter Theisgen
date Sun Dec 08 11:42:09 2019 +0100 (2019-12-08)
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 }