From d9a2a255f9918c07f89dbe9ae62ba063fa70ffef Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 11 Mar 2020 16:31:33 +0200 Subject: gnu: python-pybedtools: Update to 0.8.1. * gnu/packages/bioinformatics.scm (python-pybedtools): Update to 0.8.1. [arguments]: Add another test to the 'disable-broken-tests phase. (python2-pybedtools)[native-inputs]: Add python2-pathlib. --- 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 830fd7433a..d95b58b0bb 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -785,13 +785,13 @@ intended to behave exactly the same as the original BWK awk.") (define-public python-pybedtools (package (name "python-pybedtools") - (version "0.8.0") + (version "0.8.1") (source (origin (method url-fetch) (uri (pypi-uri "pybedtools" version)) (sha256 (base32 - "1xl454ijvd4dzfvqgfahad49b49j7qy710fq9xh1rvk42z6x5ssf")))) + "14w5i40gi25clrr7h4wa2pcpnyipya8hrqi7nq77553zc5wf0df0")))) (build-system python-build-system) (arguments `(#:modules ((ice-9 ftw) @@ -818,6 +818,10 @@ intended to behave exactly the same as the original BWK awk.") ;; (see: https://github.com/daler/pybedtools/issues/192). (("def test_getting_example_beds") "def _do_not_test_getting_example_beds")) + ;; This issue still occurs on python2 + (substitute* "pybedtools/test/test_issues.py" + (("def test_issue_303") + "def _test_issue_303")) #t)) ;; TODO: Remove phase after it's part of PYTHON-BUILD-SYSTEM. ;; build system. @@ -886,7 +890,12 @@ Python.") (license license:gpl2+))) (define-public python2-pybedtools - (package-with-python2 python-pybedtools)) + (let ((pybedtools (package-with-python2 python-pybedtools))) + (package + (inherit pybedtools) + (native-inputs + `(("python2-pathlib" ,python2-pathlib) + ,@(package-native-inputs pybedtools)))))) (define-public python-biom-format (package -- cgit v1.2.3