wok-current annotate python-netaddr/receipt @ rev 25716
Adjust mesa depends and fix loop for libegl-mesa,libglx-mesa / mesa
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Jun 14 14:46:05 2024 +0000 (5 months ago) |
parents | 076f424196b2 |
children |
rev | line source |
---|---|
pascal@14498 | 1 # SliTaz package receipt. |
pascal@14498 | 2 |
pascal@14498 | 3 PACKAGE="python-netaddr" |
Hans-G?nter@25206 | 4 VERSION="0.8.0" |
pascal@14498 | 5 CATEGORY="development" |
pascal@14498 | 6 SHORT_DESC="A network address representation and manipulation library." |
pascal@14498 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15378 | 8 LICENSE="BSD" |
Hans-G?nter@23511 | 9 WEB_SITE="https://pypi.org/project/netaddr/" |
Hans-G?nter@25206 | 10 REPOLOGY="python:netaddr" |
Hans-G?nter@23511 | 11 |
Hans-G?nter@23511 | 12 SOURCE="netaddr" |
pascal@14498 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@25206 | 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@14498 | 15 |
pascal@15378 | 16 DEPENDS="python" |
Hans-G?nter@23511 | 17 BUILD_DEPENDS="python python-dev python-setuptools" |
Hans-G?nter@23511 | 18 |
Hans-G?nter@23511 | 19 HOST_ARCH="i486 arm" |
pascal@15378 | 20 |
pascal@24383 | 21 # What is the latest version available today? |
pascal@24288 | 22 current_version() |
pascal@24288 | 23 { |
pascal@24383 | 24 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" |
pascal@24288 | 25 } |
pascal@24288 | 26 |
pascal@14498 | 27 # Rules to configure and make the package. |
pascal@14498 | 28 compile_rules() |
pascal@14498 | 29 { |
pascal@14498 | 30 python setup.py build && |
pascal@14498 | 31 python setup.py install --root=$DESTDIR |
pascal@14498 | 32 } |
pascal@14498 | 33 |
pascal@14498 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14498 | 35 genpkg_rules() |
pascal@14498 | 36 { |
Hans-G?nter@23511 | 37 cp -a $install/usr $fs |
pascal@14498 | 38 } |