~ruther/guix-local

f0a4086fadc93b17511d33f564e88c9c9de36bb3 — Nicolas Graves 2 months ago b20b339
gnu: tadbit: Switch to pyproject.

* gnu/packages/bioinformatics.scm (tadbit):
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-backend, #:test-flags>: Migrate from 'check phase.
[native-inputs]: Add python-setuptools.

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

M gnu/packages/bioinformatics.scm
M gnu/packages/bioinformatics.scm => gnu/packages/bioinformatics.scm +6 -7
@@ 16242,9 16242,11 @@ applications for tackling some common problems in a user-friendly way.")
                (sha256
                 (base32
                  "07q0alxah6xl1hibaj1kj7pdzq3pg6csyapsihbwlbmqyfmllbgz"))))
      (build-system python-build-system)
      (build-system pyproject-build-system)
      (arguments
       (list
        #:test-backend #~'custom
        #:test-flags #~(list "test/test_all.py")
        #:phases
        #~(modify-phases %standard-phases
            ;; Scipy 1.12 no longer has binom_test or polyfit


@@ 16273,15 16275,12 @@ applications for tackling some common problems in a user-friendly way.")
                   (string-append "(\"" #$output
                                  "/etc/bash_completion.d\""))
                  (("extras/\\.bash_completion")
                   "extras/tadbit"))))
            (replace 'check
              (lambda* (#:key tests? #:allow-other-keys)
                (when tests?
                  (invoke "python3" "test/test_all.py")))))))
                   "extras/tadbit")))))))
      (native-inputs
       (list `(,glib "bin") ;for gtester
             glib
             pkg-config))
             pkg-config
             python-setuptools))
      (inputs
       ;; TODO: add Chimera for visualization
       (list imp