1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-09 18:55:55 +02:00

gnu: python-pyvcf: Fix bytecode compilation.

* gnu/packages/bioinformatics.scm (python-pyvcf)[arguments]: Add phase to
patch sample script.
This commit is contained in:
Marius Bakke
2021-12-04 12:12:11 +01:00
parent a2584a08be
commit b507cc49ab
+6
View File
@@ -15270,6 +15270,12 @@ for the analysis and visualization of raw nanopore signal.")
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-sample-script
(lambda _
;; Add Python 3 compatibility to this sample script.
(substitute* "scripts/vcf_sample_filter.py"
(("print (.*)\n" _ arg)
(string-append "print(" arg ")\n")))))
(add-after 'install 'remove-installed-tests
;; Do not install test files.
(lambda* (#:key inputs outputs #:allow-other-keys)