~ruther/guix-local

78c7a9c111620dd96e0505d39648907a938643b3 — Nicolas Graves 5 months ago 23284e1
gnu: python-netifaces: Switch to pyproject.

* gnu/packages/python-xyz.scm (python-netifaces):
[build-system]: Switch to pyproject-build-system.
[arguments]: Set <#:test-backend, #:test-flags>.
[native-inputs]: Add python-setuptools.
[synopsis]: Improve style.

Change-Id: I386b7b9436ca0c937d2f322b98e98a6735f62942
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 8 insertions(+), 5 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +8 -5
@@ 15435,12 15435,15 @@ some are not yet implemented).")
        (method url-fetch)
        (uri (pypi-uri "netifaces" version))
        (sha256
          (base32
            "0cnajf5rl4w1sa72j921scbigr6zndig56cq8ggpx45jdqa7jfh4"))))
    (build-system python-build-system)
          (base32 "0cnajf5rl4w1sa72j921scbigr6zndig56cq8ggpx45jdqa7jfh4"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:test-backend #~'custom
      #:test-flags #~(list "test.py")))
    (native-inputs (list python-setuptools))
    (home-page "https://github.com/al45tair/netifaces")
    (synopsis
      "Python module for portable network interface information")
    (synopsis "Python module for portable network interface information")
    (description
      "Netifaces is a Python module providing information on network
interfaces in an easy and portable manner.")