summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-12-29 09:26:18 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-31 13:53:03 +0000
commitf0a4086fadc93b17511d33f564e88c9c9de36bb3 (patch)
tree786f1ad0d2bd67381ec9c62568836efffa49c188 /gnu
parentb20b339faddca6d4173005fc1e45dac4daaff53a (diff)
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/bioinformatics.scm13
1 files changed, 6 insertions, 7 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index ab1e3a9a3c8..71c48454163 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -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