me
/
guix
Archived
1
0
Fork 0

gnu: tadbit: Use G-expression.

* gnu/packages/bioinformatics.scm (tadbit)[arguments]: Use G-expression.

Change-Id: I4fe4afc41eb3442f243b0e415ddcb363be36ce7f
master
Ricardo Wurmus 2024-04-30 12:25:38 +02:00
parent 8f8cee9ed9
commit 5def84031f
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 21 additions and 22 deletions

View File

@ -14113,10 +14113,11 @@ applications for tackling some common problems in a user-friendly way.")
"17nwlvjgqpa7x6jgh56m3di61ynaz34kl1jamyv7r2a5rhfcbkla")))) "17nwlvjgqpa7x6jgh56m3di61ynaz34kl1jamyv7r2a5rhfcbkla"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases (list
(modify-phases %standard-phases #:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-problems-with-setup.py (add-after 'unpack 'fix-problems-with-setup.py
(lambda* (#:key outputs #:allow-other-keys) (lambda _
(substitute* "src/test/Makefile" (substitute* "src/test/Makefile"
(("^CFLAGS=") "CFLAGS= -fcommon")) (("^CFLAGS=") "CFLAGS= -fcommon"))
@ -14126,15 +14127,13 @@ applications for tackling some common problems in a user-friendly way.")
"extras/tadbit") "extras/tadbit")
(substitute* "setup.py" (substitute* "setup.py"
(("\\(path.expanduser\\('~'\\)") (("\\(path.expanduser\\('~'\\)")
(string-append "(\"" (string-append "(\"" #$output
(assoc-ref outputs "out")
"/etc/bash_completion.d\"")) "/etc/bash_completion.d\""))
(("extras/\\.bash_completion") (("extras/\\.bash_completion")
"extras/tadbit")))) "extras/tadbit"))))
(replace 'check (replace 'check
(lambda* (#:key tests? inputs outputs #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)
(when tests? (when tests?
(add-installed-pythonpath inputs outputs)
(invoke "python3" "test/test_all.py"))))))) (invoke "python3" "test/test_all.py")))))))
(native-inputs (native-inputs
(list `(,glib "bin") ;for gtester (list `(,glib "bin") ;for gtester