~ruther/guix-local

eb580ae9ce2c4668d64b351da1750851f45e7dfd — Sharlatan Hellseher 9 months ago 7235868
gnu: vembrane: Update to 1.0.7.

* gnu/packages/bioinformatics.scm (vembrane): Update to 1.0.7.
[arguments] <phases>: Remove 'relax-requirements; add 'use-poetry-core.
[native-inputs]: Remove poetry; add python-poetry-core.

Change-Id: I50aca480b3aded3714d6e999efd3d12a4513e6a3
1 files changed, 17 insertions(+), 14 deletions(-)

M gnu/packages/bioinformatics.scm
M gnu/packages/bioinformatics.scm => gnu/packages/bioinformatics.scm +17 -14
@@ 21337,32 21337,35 @@ repeated areas between contigs.")
(define-public vembrane
  (package
    (name "vembrane")
    (version "0.13.2")
    (version "1.0.7")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url "https://github.com/vembrane/vembrane")
                    (commit (string-append "v" version))))
                     (url "https://github.com/vembrane/vembrane")
                     (commit (string-append "v" version))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1gdih56gpqd8ks3sd4ah844kac09hi3g073k9gvazb32ah50900w"))))
                "127wmwj0162nfaql68jwxlkz7rbnjya70xrj4j8zwvcnxcj7x5v3"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:phases
      '(modify-phases %standard-phases
         (add-after 'unpack 'relax-requirements
           (lambda _
             (substitute* "pyproject.toml"
               (("pysam = \"\\^0.19\"") "pysam = \"^0.20\"")
               (("numpy = \\{ version = \"\\^1.23\"")
                "numpy = { version = \"^1\"")))))))
      #~(modify-phases %standard-phases
          (add-after 'unpack 'use-poetry-core
            (lambda _
              ;; Patch to use the core poetry API.
              (substitute* "pyproject.toml"
                (("poetry.masonry.api") "poetry.core.masonry.api")))))))
    (inputs
     (list python-asttokens python-intervaltree python-numpy
           python-pysam python-pyyaml))
     (list python-asttokens
           python-intervaltree
           python-numpy
           python-pysam
           python-pyyaml))
    (native-inputs
     (list poetry python-pytest))
     (list python-poetry-core
           python-pytest))
    (home-page "https://github.com/vembrane/vembrane")
    (synopsis "Filter VCF/BCF files with Python expressions")
    (description "Vembrane simultaneously filters variants based on