wok-next annotate python-zfec/receipt @ rev 21723

busybox: update patches
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:44:52 2020 +0000 (2020-09-01)
parents 8b5b2a6d07b8
children
rev   line source
al@20972 1 # SliTaz package receipt v2.
pascal@18222 2
al@20972 3 ORIGIN="zfec"
pascal@18222 4 PACKAGE="python-zfec"
al@20972 5 VERSION="1.5.3"
al@20972 6 CATEGORY="python"
al@20972 7 SHORT_DESC="An efficient, portable erasure coding tool"
pascal@18222 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@18334 9 LICENSE="GPL2"
al@20972 10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
al@20972 11 #HOST_ARCH
al@20887 12 REPOLOGY="python:zfec"
al@20887 13
al@20972 14 BUILD_DEPENDS="python-dev python-argparse python-pyutil \
al@20972 15 python3-dev python3-pyutil"
al@20972 16 SPLIT="${PACKAGE/python/python3}:3"
pascal@18222 17
al@20972 18 compile_rules() {
al@20972 19 fix utf-8; export LC_ALL=en_US.UTF-8
pascal@18222 20
al@20972 21 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
pascal@18222 22 }
pascal@18222 23
al@20972 24 genpkg_rules() {
al@20972 25 copy @std
al@20972 26 py="${PACKAGE%%-*}" # python/python3
al@20972 27 case $PACKAGE in
al@20972 28 python-*) DEPENDS="$py $py-argparse $py-pyutil";;
al@20972 29 python3-*) DEPENDS="$py $py-pyutil";;
al@20972 30 esac
pascal@18222 31 }