gnu: python-ifaddr: Update to 0.2.0.

* gnu/packages/python-xyz.scm (python-ifaddr): Update to 0.2.0.
[source]<snippet>: Delete windows-specific file.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-pytest, python-setuptools,
python-wheel. Remove python-nose.
[description]: Improve style.

Change-Id: Iaba98124cb3b1246423711cf37a5073c1c290680
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-08-12 18:26:28 +02:00 committed by Sharlatan Hellseher
parent 064a2f78b2
commit b176f7c33c
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -31308,26 +31308,22 @@ by Igor Pavlov.")
(define-public python-ifaddr
(package
(name "python-ifaddr")
(version "0.1.7")
(version "0.2.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "ifaddr" version))
(sha256
(base32
"150sxdlicwrphmhnv03ykxplyd2jdrxz0mikgnivavgilrn8m7hz"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _ (invoke "nosetests"))))))
(base32 "1m5fqjqf53m31qrl8fxp2sbwf4mvk5mbjpw2jm2x8rgpmg5by36c"))
(snippet #~(delete-file "ifaddr/_win32.py"))))
(build-system pyproject-build-system)
(native-inputs
(list python-nose))
(list python-pytest python-setuptools python-wheel))
(home-page "https://github.com/pydron/ifaddr")
(synopsis "Network interface and IP address enumeration library")
(description "This package provides a network interface and IP address
enumeration library in Python.")
(description
"This package provides a network interface and IP address enumeration
library in Python.")
(license license:expat)))
(define-public python-zeroconf