GNU bug report logs - #38637
(no subject)

Previous Next

Package: guix-patches;

Reported by: mpatras <madalinionel.patrascu <at> mdc-berlin.de>

Date: Mon, 16 Dec 2019 15:24:01 UTC

Severity: normal

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38637 in the body.
You can then email your comments to 38637 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#38637; Package guix-patches. (Mon, 16 Dec 2019 15:24:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to mpatras <madalinionel.patrascu <at> mdc-berlin.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org.

Your message did not contain a Subject field. They are recommended and useful because the title of a $gBug is determined using this field. Please remember to include a Subject field in your messages in future.

(Mon, 16 Dec 2019 15:24:01 GMT) Full text and rfc822 format available.


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: mpatras <madalinionel.patrascu <at> mdc-berlin.de>
To: <guix-patches <at> gnu.org>
Date: Mon, 16 Dec 2019 16:23:21 +0100
-- 
Mădălin Ionel Patrașcu

System Administrator
Bioinformatics and Omics Data Science
The Berlin Institute for Medical Systems Biology (BIMSB)
Max Delbrück Center (MDC)
Hannoversche Str. 28, 10115 Berlin
House 101, room 1.60





Information forwarded to guix-patches <at> gnu.org:
bug#38637; Package guix-patches. (Mon, 16 Dec 2019 15:26:02 GMT) Full text and rfc822 format available.

Message #8 received at 38637 <at> debbugs.gnu.org (full text, mbox):

From: Mădălin Ionel Patrașcu
 <madalinionel.patrascu <at> mdc-berlin.de>
To: <38637 <at> debbugs.gnu.org>
Cc: Mădălin Ionel Patrașcu
 <madalinionel.patrascu <at> mdc-berlin.de>
Subject: [PATCH 1/4] gnu: Add python-iocapture.
Date: Mon, 16 Dec 2019 16:25:16 +0100
* gnu/packages/python-xyz.scm (python-iocapture): New variable.
---
 gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 03dddcde43..f26bc7719b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -67,6 +67,7 @@
 ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul <at> autistici.org>
 ;;; Copyright © 2019 Wiktor Żelazny <wzelazny <at> vurv.cz>
 ;;; Copyright © 2019 Tanguy Le Carrour <tanguy <at> bioneland.org>
+;;; Copyright © 2019 Mădălin Ionel Patrașcu <madalinionel.patrascu <at> mdc-berlin.de>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -16795,3 +16796,32 @@ services to what you expect in your tests.")
 
 (define-public python2-ujson
   (package-with-python2 python-ujson))
+
+(define-public python-iocapture
+  ;; the latest is more than year newer than the latest realease
+  (let ((commit "fdc021c431d0840303908dfc3ca8769db383595c")
+        (revision "1"))
+    (package
+     (name "python-iocapture")
+     (version "0.1.2")
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference (url "https://github.com/oinume/iocapture.git")
+                           (commit commit)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1mkbhqibxvgwg0p7slr8dfraa3g2s6bsayladhax2jccwj4kcndz"))))
+     (build-system python-build-system)
+     (propagated-inputs
+      `(("python-flexmock" ,python-flexmock)
+        ("python-pytest" ,python-pytest)
+        ("python-pytest-cov" ,python-pytest-cov)
+        ("python-six" ,python-six)))
+     (home-page "https://github.com/oinume/iocapture")
+     (synopsis "Phython capuring tool for stdout and stderr")
+     (description
+      "python-iocapture helps you to capture the standard out (stdout) and the
+standard error channel (stderr) in your program.")
+     (license license:expat)))) ; MIT license
\ No newline at end of file
-- 
2.17.1





Information forwarded to guix-patches <at> gnu.org:
bug#38637; Package guix-patches. (Mon, 16 Dec 2019 15:27:02 GMT) Full text and rfc822 format available.

Message #11 received at 38637 <at> debbugs.gnu.org (full text, mbox):

From: Mădălin Ionel Patrașcu
 <madalinionel.patrascu <at> mdc-berlin.de>
To: <38637 <at> debbugs.gnu.org>
Cc: Mădălin Ionel Patrașcu
 <madalinionel.patrascu <at> mdc-berlin.de>
Subject: [PATCH 2/4] gnu: Add python-argh.
Date: Mon, 16 Dec 2019 16:25:17 +0100
* gnu/packages/python-xyz.scm (python-argh): New variable.
---
 gnu/packages/python-xyz.scm | 37 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 36 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f26bc7719b..1f2149c9c4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16824,4 +16824,39 @@ services to what you expect in your tests.")
      (description
       "python-iocapture helps you to capture the standard out (stdout) and the
 standard error channel (stderr) in your program.")
-     (license license:expat)))) ; MIT license
\ No newline at end of file
+     (license license:expat)))) ; MIT license
+
+(define-public python-argh
+  ;; there are 21 commits after the latest release
+  ;; those contains important improvements
+  (let ((commit "dcd3253f2994400a6a58a700c118c53765bc50a4")
+        (revision "1"))
+    (package
+      (name "python-argh")
+      (version "0.26.2")
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference (url "https://github.com/neithere/argh.git")
+                             (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1p5h3dnpbsjmqrvil96s71asc6i3gpinmbrabqmwnrsxprz7r3ns"))))
+      (build-system python-build-system)
+      (propagated-inputs
+       `(("python-iocapture" ,python-iocapture)
+         ("python-mock" ,python-mock)
+         ("python-pytest" ,python-pytest)
+         ("python-pytest-cov" ,python-pytest-cov)
+         ("python-pytest-xdist" ,python-pytest-xdist)
+         ("python-tox" ,python-tox)))
+      (home-page "https://github.com/neithere/argh/")
+      (synopsis "Argparse wrapper with natural syntax")
+      (description
+       "python-argh is a small library that provides several layers of
+abstraction on top of python-argparse.  The layers can be mixed.  It is always
+possible to declare a command with the highest possible (and least flexible)
+layer and then tune the behaviour with any of the lower layers including the
+native API of python-argparse.")
+      (license license:lgpl3))))
-- 
2.17.1





Information forwarded to guix-patches <at> gnu.org:
bug#38637; Package guix-patches. (Mon, 16 Dec 2019 15:27:02 GMT) Full text and rfc822 format available.

Message #14 received at 38637 <at> debbugs.gnu.org (full text, mbox):

From: Mădălin Ionel Patrașcu
 <madalinionel.patrascu <at> mdc-berlin.de>
To: <38637 <at> debbugs.gnu.org>
Cc: Mădălin Ionel Patrașcu
 <madalinionel.patrascu <at> mdc-berlin.de>
Subject: [PATCH 3/4] gnu: python-pyfaidx: Update to 0.5.7.
Date: Mon, 16 Dec 2019 16:25:18 +0100
* gnu/packages/bioinformatics.scm (python-pyfaidx): Update to 0.5.7.
---
 gnu/packages/bioinformatics.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index bdb3ff761b..c8396a33dd 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -13419,14 +13419,14 @@ bgzipped text file that contains a pair of genomic coordinates per line.")
 (define-public python-pyfaidx
   (package
     (name "python-pyfaidx")
-    (version "0.5.4.2")
+    (version "0.5.7")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "pyfaidx" version))
        (sha256
         (base32
-         "0y5zyjksj1rdglj601xd2bbni5abhdh622y3ck76chyzxz9z4rx8"))))
+         "02jvdx3ksy6w5gd29i1d0g0zsabbz7c14qg482ff7pza6sdl0b2i"))))
     (build-system python-build-system)
     (propagated-inputs
      `(("python-six" ,python-six)))
-- 
2.17.1





Information forwarded to guix-patches <at> gnu.org:
bug#38637; Package guix-patches. (Mon, 16 Dec 2019 15:27:03 GMT) Full text and rfc822 format available.

Message #17 received at 38637 <at> debbugs.gnu.org (full text, mbox):

From: Mădălin Ionel Patrașcu
 <madalinionel.patrascu <at> mdc-berlin.de>
To: <38637 <at> debbugs.gnu.org>
Cc: Mădălin Ionel Patrașcu
 <madalinionel.patrascu <at> mdc-berlin.de>
Subject: [PATCH 4/4] gnu: Add python-gffutils.
Date: Mon, 16 Dec 2019 16:25:19 +0100
Co-authored-by: Ricardo Wurmus <rekado <at> elephly.net>

* gnu/packages/bioinformatics.scm (python-gffutils): New variable.
---
 gnu/packages/bioinformatics.scm | 51 +++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index c8396a33dd..14c0b59067 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -15370,3 +15370,54 @@ methylation metrics from them.  MethylDackel requires an indexed fasta file
 containing the reference genome as well.")
     ;; See https://github.com/dpryan79/MethylDackel/issues/85
     (license license:expat)))
+
+(define-public python-gffutils
+  ;; The latest release is older more than a year than the latest commit
+  (let ((commit "4034c54600813b1402945e12faa91b3a53162cf1")
+        (revision "1"))
+    (package
+      (name "python-gffutils")
+      (version (git-version "0.9" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/daler/gffutils.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1rwafjdnbir5wnk0ap06ww4lra3p5frhy7mfs03rlldgfnwxymsn"))))
+      (build-system python-build-system)
+      (arguments
+       `(#:phases
+         (modify-phases %standard-phases
+           (replace 'check
+             (lambda _
+               ;; Tests need to access the HOME directory
+               (setenv "HOME" "/tmp")
+               (invoke "nosetests" "-a" "!slow")))
+           (add-after 'unpack 'make-gz-files-writable
+             (lambda _
+               (for-each make-file-writable
+                         (find-files "." "\\.gz"))
+               #t)))))
+      (propagated-inputs
+       `(("python-argcomplete" ,python-argcomplete)
+         ("python-argh" ,python-argh)
+         ("python-biopython" ,python-biopython)
+         ("python-pybedtools" ,python-pybedtools)
+         ("python-pyfaidx" ,python-pyfaidx)
+         ("python-simplejson" ,python-simplejson)
+         ("python-six" ,python-six)))
+      (native-inputs
+       `(("python-nose" , python-nose)))
+      (home-page "https://github.com/daler/gffutils")
+      (synopsis "Tool for manipulation of GFF and GTF files")
+      (description
+       "python-gffutils is a Python package for working with and manipulating the
+GFF and GTF format files typically used for genomic annotations.  The files are
+loaded into a sqlite3 database, allowing much more complex manipulation of
+hierarchical features (e.g., genes, transcripts, and exons) than is possible
+with plain-text methods alone.")
+      (license license:expat)))) ;; MIT license
-- 
2.17.1





Information forwarded to guix-patches <at> gnu.org:
bug#38637; Package guix-patches. (Mon, 16 Dec 2019 16:28:01 GMT) Full text and rfc822 format available.

Message #20 received at 38637 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Mădălin Ionel Patrașcu
 <madalinionel.patrascu <at> mdc-berlin.de>
Cc: 38637 <at> debbugs.gnu.org
Subject: Re: [bug#38637] [PATCH 1/4] gnu: Add python-iocapture.
Date: Mon, 16 Dec 2019 17:27:50 +0100
Hi Mădălin,

> * gnu/packages/python-xyz.scm (python-iocapture): New variable.

thanks for the patch!

> +(define-public python-iocapture
> +  ;; the latest is more than year newer than the latest realease

I know what you mean but that’s not what the comment says ;)  I
changed it.

> +  (let ((commit "fdc021c431d0840303908dfc3ca8769db383595c")
> +        (revision "1"))
> +    (package
> +     (name "python-iocapture")
> +     (version "0.1.2")
> +     (source
> +      (origin
> +       (method git-fetch)
> +       (uri (git-reference (url "https://github.com/oinume/iocapture.git")
> +                           (commit commit)))
> +       (file-name (git-file-name name version))
> +       (sha256
> +        (base32
> +         "1mkbhqibxvgwg0p7slr8dfraa3g2s6bsayladhax2jccwj4kcndz"))))
> +     (build-system python-build-system)
> +     (propagated-inputs
> +      `(("python-flexmock" ,python-flexmock)
> +        ("python-pytest" ,python-pytest)
> +        ("python-pytest-cov" ,python-pytest-cov)
> +        ("python-six" ,python-six)))
> +     (home-page "https://github.com/oinume/iocapture")
> +     (synopsis "Phython capuring tool for stdout and stderr")

Typos: Phython –> Python; capuring –> capturing

> +     (description
> +      "python-iocapture helps you to capture the standard out (stdout) and the
> +standard error channel (stderr) in your program.")
> +     (license license:expat)))) ; MIT license

The term “MIT license” is ambiguous, so we don’t use it, not even in a
comment.

I noticed that the tests were not actually run, so I overrode the check
phase.

I pushed this with modifications to the “master” branch with commit
dbcef44a0b.

Thanks again!

--
Ricardo





Information forwarded to guix-patches <at> gnu.org:
bug#38637; Package guix-patches. (Mon, 16 Dec 2019 16:33:01 GMT) Full text and rfc822 format available.

Message #23 received at 38637 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Mădălin Ionel Patrașcu
 <madalinionel.patrascu <at> mdc-berlin.de>
Cc: 38637 <at> debbugs.gnu.org
Subject: Re: [bug#38637] [PATCH 2/4] gnu: Add python-argh.
Date: Mon, 16 Dec 2019 17:31:59 +0100
Mădălin Ionel Patrașcu <madalinionel.patrascu <at> mdc-berlin.de> writes:

> * gnu/packages/python-xyz.scm (python-argh): New variable.

Pushed to the “master” branch (commit db6bd842aa) with minor changes,
such as this one:

> +      (license license:lgpl3))))

It’s actually LGPLv3+.

Thank you!

--
Ricardo





Information forwarded to guix-patches <at> gnu.org:
bug#38637; Package guix-patches. (Mon, 16 Dec 2019 22:27:02 GMT) Full text and rfc822 format available.

Message #26 received at 38637 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Mădălin Ionel Patrașcu
 <madalinionel.patrascu <at> mdc-berlin.de>
Cc: 38637 <at> debbugs.gnu.org
Subject: Re: [bug#38637] [PATCH 3/4] gnu: python-pyfaidx: Update to 0.5.7.
Date: Mon, 16 Dec 2019 23:26:43 +0100
Mădălin Ionel Patrașcu <madalinionel.patrascu <at> mdc-berlin.de> writes:

> * gnu/packages/bioinformatics.scm (python-pyfaidx): Update to 0.5.7.

I pushed this after upgrading some other packages to ensure that
dependent packages still build.

Thank you!

-- 
Ricardo





Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Mon, 16 Dec 2019 22:34:02 GMT) Full text and rfc822 format available.

Notification sent to mpatras <madalinionel.patrascu <at> mdc-berlin.de>:
bug acknowledged by developer. (Mon, 16 Dec 2019 22:34:02 GMT) Full text and rfc822 format available.

Message #31 received at 38637-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Mădălin Ionel Patrașcu
 <madalinionel.patrascu <at> mdc-berlin.de>
Cc: 38637-done <at> debbugs.gnu.org
Subject: Re: [bug#38637] [PATCH 4/4] gnu: Add python-gffutils.
Date: Mon, 16 Dec 2019 23:33:19 +0100
Mădălin Ionel Patrașcu <madalinionel.patrascu <at> mdc-berlin.de> writes:

> Co-authored-by: Ricardo Wurmus <rekado <at> elephly.net>
>
> * gnu/packages/bioinformatics.scm (python-gffutils): New variable.

I’ve pushed this to the “master” branch with commit cfd83f3282.

Thank you!

-- 
Ricardo





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 14 Jan 2020 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 162 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.