guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/06: gnu: python2-pbcore: Remove python2-sphinx dependency.


From: guix-commits
Subject: 03/06: gnu: python2-pbcore: Remove python2-sphinx dependency.
Date: Thu, 13 Feb 2020 11:02:42 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit bf71edd3df1aed8037678631c296c03b437d8a8a
Author: Marius Bakke <address@hidden>
AuthorDate: Wed Feb 12 21:16:09 2020 +0100

    gnu: python2-pbcore: Remove python2-sphinx dependency.
    
    * gnu/packages/bioinformatics.scm (python2-pbcore)[arguments]: Add #:phases.
    [native-inputs]: Remove PYTHON2-SPHINX.
---
 gnu/packages/bioinformatics.scm | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index b7b80ce..065555b 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -5,7 +5,7 @@
 ;;; Copyright © 2015 Andreas Enge <address@hidden>
 ;;; Copyright © 2016 Roel Janssen <address@hidden>
 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Efraim Flashner <address@hidden>
-;;; Copyright © 2016 Marius Bakke <address@hidden>
+;;; Copyright © 2016, 2020 Marius Bakke <address@hidden>
 ;;; Copyright © 2016, 2018 Raoul Bonnal <address@hidden>
 ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <address@hidden>
 ;;; Copyright © 2017 Arun Isaac <address@hidden>
@@ -4733,7 +4733,17 @@ interrupted by stop codons.  OrfM finds and prints these 
ORFs.")
                (base32
                 "1kjmv891d6qbpp4shhhvkl02ff4q5xlpnls2513sm2cjcrs52f1i"))))
     (build-system python-build-system)
-    (arguments `(#:python ,python-2)) ; pbcore requires Python 2.7
+    (arguments
+     `(#:python ,python-2               ;pbcore < 2.0 requires Python 2.7
+       #:phases (modify-phases %standard-phases
+                  (add-after 'unpack 'remove-sphinx-dependency
+                    (lambda _
+                      ;; Sphinx is only required for documentation tests, which
+                      ;; we do not run; furthermore it depends on 
python2-sphinx
+                      ;; which is no longer maintained.
+                      (substitute* "requirements-dev.txt"
+                        (("^sphinx") ""))
+                      #t)))))
     (propagated-inputs
      `(("python-cython" ,python2-cython)
        ("python-numpy" ,python2-numpy)
@@ -4741,7 +4751,6 @@ interrupted by stop codons.  OrfM finds and prints these 
ORFs.")
        ("python-h5py" ,python2-h5py)))
     (native-inputs
      `(("python-nose" ,python2-nose)
-       ("python-sphinx" ,python2-sphinx)
        ("python-pyxb" ,python2-pyxb)))
     (home-page "https://pacificbiosciences.github.io/pbcore/";)
     (synopsis "Library for reading and writing PacBio data files")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]