~ruther/guix-local

17968ec046b326c8acf547ce1ce6bde43a85037f — Nicolas Graves 2 months ago 9b1fe61
gnu: iotop-python: Switch to pyproject.

* gnu/packages/linux.scm (iotop-python):
[build-system]: Switch to pyproject-build-system.
[arguments, synopsis]: Improve style.
[native-inputs]: Add python-setuptools.

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

M gnu/packages/linux.scm
M gnu/packages/linux.scm => gnu/packages/linux.scm +12 -12
@@ 4856,20 4856,20 @@ the command line or a script.")
         (file-name (git-file-name name version))
         (sha256
          (base32 "00h5p8fk1zi237q8mqds8apqbis9iw0yih1hl0pr63dsnyzmmrpw"))))
      (build-system python-build-system)
      (build-system pyproject-build-system)
      (arguments
       '(#:phases
         (modify-phases %standard-phases
           (add-after 'unpack 'fix-build-with-python3
             (lambda _
               (substitute* "setup.py"
                 (("itervalues") "values")))))
         ;; There are currently no checks in the package.
         #:tests? #f))
      (native-inputs (list python))
       (list
        #:tests? #f  ; No tests.
        #:phases
        #~(modify-phases %standard-phases
            (add-after 'unpack 'fix-build-with-python3
              (lambda _
                (substitute* "setup.py"
                  (("itervalues")
                   "values")))))))
      (native-inputs (list python python-setuptools))
      (home-page "http://guichaz.free.fr/iotop/")
      (synopsis
       "Displays the IO activity of running processes")
      (synopsis "Displays the IO activity of running processes")
      (description
       "Iotop is a Python program with a top like user interface to show the
processes currently causing I/O.")