summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-04-17 15:50:29 +0200
committerRicardo Wurmus <rekado@elephly.net>2020-04-17 15:53:03 +0200
commit974bf81776bd13f2162ebc0b2b01466509840b12 (patch)
treeef5b1288d99008237ef1ca4ee0bfdc2659f0cbdc
parentd8fce2362bbd4d35c1b4b7dfb5babdf9a86bc4bb (diff)
downloadguix-974bf81776bd13f2162ebc0b2b01466509840b12.tar.gz
gnu: python-pygenometracks: Update to 3.3.
* gnu/packages/bioinformatics.scm (python-pygenometracks): Update to 3.3.
[arguments]: Add phase "relax-requirements"; disable tests.
[propagated-inputs]: Remove python-configparser and python-hicexplorer; add
python-gffutils, python-pysam, and python-tqdm.
-rw-r--r--gnu/packages/bioinformatics.scm24
1 files changed, 18 insertions, 6 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index a2c168b01c..b9be0c1918 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -13773,23 +13773,35 @@ genomic scores), long range contacts and the visualization of viewpoints.")
 (define-public python-pygenometracks
   (package
     (name "python-pygenometracks")
-    (version "2.0")
+    (version "3.3")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "pyGenomeTracks" version))
        (sha256
         (base32
-         "1fws6bqsyy9kj3qiabhkqx4wd4i775gsxnhszqd3zg7w67sc1ic5"))))
+         "16laa0wnf4qn9fb9ych4w1vqhqwjss70v0y0f6wp4gwqfrlgac0f"))))
     (build-system python-build-system)
+    (arguments
+     `(#:tests? #f ; there are none
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'relax-requirements
+           (lambda _
+             (substitute* "setup.py"
+               (("matplotlib ==3.1.1")
+                "matplotlib >=3.1.1"))
+             #t)))))
     (propagated-inputs
-     `(("python-configparser" ,python-configparser)
-       ("python-future" ,python-future)
-       ("python-hicexplorer" ,python-hicexplorer)
+     `(("python-future" ,python-future)
+       ("python-gffutils" ,python-gffutils)
+       ("python-hicmatrix" ,python-hicmatrix)
        ("python-intervaltree" ,python-intervaltree)
        ("python-matplotlib" ,python-matplotlib)
        ("python-numpy" ,python-numpy)
-       ("python-pybigwig" ,python-pybigwig)))
+       ("python-pybigwig" ,python-pybigwig)
+       ("python-pysam" ,python-pysam)
+       ("python-tqdm" ,python-tqdm)))
     (native-inputs
      `(("python-pytest" ,python-pytest)))
     (home-page "https://pygenometracks.readthedocs.io")