wok-6.x view python-ethtool/receipt @ rev 25294

updated screen, screen-pam and screen-terminfo (4.8.0 -> 4.9.0)
author Hans-G?nter Theisgen
date Tue Jul 19 17:34:06 2022 +0100 (2022-07-19)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="python-ethtool"
4 VERSION="0.15"
5 CATEGORY="network"
6 SHORT_DESC="Python bindings for the ethtool kernel interface."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://pypi.org/project/ethtool/"
10 REPOLOGY="python:ethtool"
12 SOURCE="ethtool"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$SOURCE-$VERSION.tar.gz"
16 DEPENDS="libnl python"
17 BUILD_DEPENDS="libnl-dev pkg-config python python-dev python-setuptools"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
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 cook_copy_folders bin
36 cook_copy_folders lib
37 }