wok rev 25173

updated python-ethtool (0.14 -> 0.15)
author Hans-G?nter Theisgen
date Fri Jul 01 17:05:43 2022 +0100 (22 months ago)
parents dd9b5a434fac
children a44b366afa25
files python-ethtool/description.txt python-ethtool/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-ethtool/description.txt	Fri Jul 01 17:05:43 2022 +0100
     1.3 @@ -0,0 +1,13 @@
     1.4 +Python bindings for the ethtool kernel interface
     1.5 +
     1.6 +The Python ethtool module allows querying and partially controlling
     1.7 +network interfaces, driver, and hardware settings.
     1.8 +
     1.9 +Warning
    1.10 +
    1.11 +This is the new upstream for python-ethtool maintained by Fedora's Python SIG.
    1.12 +We ported it to Python 3 and only maintain it for the current tools to keep
    1.13 +working. No new development is happening.
    1.14 +This is a deprecated package.
    1.15 +If you are considering to start using this, please don't.
    1.16 +We recommend netifaces instead.
     2.1 --- a/python-ethtool/receipt	Fri Jul 01 16:57:44 2022 +0100
     2.2 +++ b/python-ethtool/receipt	Fri Jul 01 17:05:43 2022 +0100
     2.3 @@ -1,17 +1,19 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="python-ethtool"
     2.7 -VERSION="0.14"
     2.8 +VERSION="0.15"
     2.9  CATEGORY="network"
    2.10  SHORT_DESC="Python bindings for the ethtool kernel interface."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12  LICENSE="GPL2"
    2.13 -WEB_SITE="https://fedoraproject.org/wiki/Python-ethtool"
    2.14 +WEB_SITE="https://pypi.org/project/ethtool/"
    2.15 +REPOLOGY="python:ethtool"
    2.16  
    2.17 +SOURCE="ethtool"
    2.18  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.19 -WGET_URL="https://github.com/fedora-python/$PACKAGE/archive/v$VERSION.tar.gz"
    2.20 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$SOURCE-$VERSION.tar.gz"
    2.21  
    2.22 -DEPENDS="python libnl"
    2.23 +DEPENDS="libnl python"
    2.24  BUILD_DEPENDS="libnl-dev pkg-config python python-dev python-setuptools"
    2.25  
    2.26  current_version()
    2.27 @@ -30,5 +32,6 @@
    2.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.29  genpkg_rules()
    2.30  {
    2.31 -	cp -a $install/usr	$fs
    2.32 +	cook_copy_folders	bin
    2.33 +	cook_copy_folders	lib
    2.34  }