guix_mirror_bot pushed a commit to branch master
in repository guix.
commit f0a4086fadc93b17511d33f564e88c9c9de36bb3
Author: Nicolas Graves <[email protected]>
AuthorDate: Mon Dec 29 09:26:18 2025 +0100
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 <[email protected]>
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/bioinformatics.scm | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index ab1e3a9a3c..71c4845416 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