wok view python-netaddr/receipt @ rev 24298

updated taglib and taglib-dev (1.11.1 -> 1.12)
author Hans-G?nter Theisgen
date Sat Jan 15 15:21:20 2022 +0100 (2022-01-15)
parents b2368fbc39f8
children 076f424196b2
line source
1 # SliTaz package receipt.
3 PACKAGE="python-netaddr"
4 VERSION="0.7.19"
5 CATEGORY="development"
6 SHORT_DESC="A network address representation and manipulation library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://pypi.org/project/netaddr/"
11 SOURCE="netaddr"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://files.pythonhosted.org/packages/source/n/$SOURCE/$TARBALL"
15 DEPENDS="python"
16 BUILD_DEPENDS="python python-dev python-setuptools"
18 HOST_ARCH="i486 arm"
20 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python setup.py build &&
29 python setup.py install --root=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs
36 cp -a $install/usr $fs
37 }