~ruther/guix-local

be559231c5c56cd98f4a8a1945958bef9d23255b — Nicolas Graves 8 months ago 0ce8ffc
gnu: python-drmaa: Switch to pyproject.

* gnu/packages/python-xyz.scm (python-drmaa):
[build-system]: Switch to pyproject-build-system.
[arguments]: Run guix style -S arguments.
[native-inputs]: Add python-setuptools.

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

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +9 -6
@@ 13535,16 13535,19 @@ etc.  The core of this module is a decorator factory.")
       (uri (pypi-uri "drmaa" version))
       (sha256
        (base32 "0xzqriqyvk5b8hszbavsyxd29wm3sxirm8zvvdm73rs2iq7w4hkx"))))
    (build-system python-build-system)
    (build-system pyproject-build-system)
    ;; The test suite requires libdrmaa which is provided by the cluster
    ;; environment.  At runtime the environment variable DRMAA_LIBRARY_PATH
    ;; should be set to the path of the libdrmaa library.
    (arguments
     '(#:tests? #f
       #:phases (modify-phases %standard-phases
                  ;; Loading the library fails because DRMAA_LIBRARY_PATH
                  ;; is not configured.
                  (delete 'sanity-check))))
     (list
      #:tests? #f
      #:phases
      #~(modify-phases %standard-phases
          ;; Loading the library fails because DRMAA_LIBRARY_PATH
          ;; is not configured.
          (delete 'sanity-check))))
    (native-inputs (list python-setuptools))
    (home-page "https://pypi.org/project/drmaa/")
    (synopsis "Python bindings for the DRMAA library")
    (description