~ruther/guix-local

b507cc49abb5492f992aff08f0931365bd4ccd4e — Marius Bakke 4 years ago a2584a0
gnu: python-pyvcf: Fix bytecode compilation.

* gnu/packages/bioinformatics.scm (python-pyvcf)[arguments]: Add phase to
patch sample script.
1 files changed, 6 insertions(+), 0 deletions(-)

M gnu/packages/bioinformatics.scm
M gnu/packages/bioinformatics.scm => gnu/packages/bioinformatics.scm +6 -0
@@ 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)