wok view python-zfec/receipt @ rev 24986

Up nettle 3.7.3 again, need glib-networking rebuild to no break midori
author Stanislas Leduc <shann@slitaz.org>
date Wed May 11 08:28:28 2022 -0400 (2022-05-11)
parents 568661c02a9d
children f8bd4c38d6bb
line source
1 # SliTaz package receipt.
3 PACKAGE="python-zfec"
4 VERSION="1.5.3"
5 CATEGORY="development"
6 SHORT_DESC="A fast erasure codec."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://pypi.python.org/pypi/zfec"
11 SOURCE="zfec"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
15 DEPENDS="python"
16 BUILD_DEPENDS="python python-dev python-setuptools"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \
22 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q"
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python setup.py install --prefix=/usr --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr/
37 cp -a $install/usr/lib $fs/usr/
38 }