unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ben Woodcroft <b.woodcroft@uq.edu.au>
To: "guix-devel@gnu.org" <guix-devel@gnu.org>
Subject: [PATCH] Add python2-seqmagick.
Date: Thu, 17 Sep 2015 21:47:08 +1000	[thread overview]
Message-ID: <55FAA83C.3040403@uq.edu.au> (raw)

[-- Attachment #1: Type: text/plain, Size: 38 bytes --]

Thanks in advance for review peoples.

[-- Attachment #2: 0001-gnu-Add-python2-seqmagick.patch --]
[-- Type: text/x-patch, Size: 2390 bytes --]

From 298c9aabc2d042c45c8f96d83229016dc5c1cbd6 Mon Sep 17 00:00:00 2001
From: Ben Woodcroft <donttrustben@gmail.com>
Date: Thu, 17 Sep 2015 21:43:12 +1000
Subject: [PATCH] gnu: Add python2-seqmagick.

* gnu/packages/bioinformatics.scm (python2-seqmagick): New variable.
---
 gnu/packages/bioinformatics.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 03eb2df..cffe0e9 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -2489,6 +2489,45 @@ manipulation, online and indexed string search, efficient I/O of
 bioinformatics file formats, sequence alignment, and more.")
     (license license:bsd-3)))
 
+(define-public python2-seqmagick
+  (package
+    (name "python2-seqmagick")
+    (version "0.6.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://pypi.python.org/packages/source/s/seqmagick/seqmagick-"
+             version ".tar.gz"))
+       (sha256
+        (base32
+         "0cgn477n74gsl4qdaakrrhi953kcsd4q3ivk2lr18x74s3g4ma1d"))))
+    (build-system python-build-system)
+    (arguments
+     ;; python2 only, see https://github.com/fhcrc/seqmagick/issues/56
+     `(#:python ,python-2
+       #:phases
+       (modify-phases %standard-phases
+         ;; current test in setup.py does not work as of 0.6.1,
+         ;; so use nose to run tests instead for now. See
+         ;; https://github.com/fhcrc/seqmagick/issues/55
+         (replace 'check (lambda _ (zero? (system* "nosetests")))))))
+    (inputs
+     `(("python-setuptools" ,python2-setuptools)
+       ("python-biopython" ,python2-biopython)))
+    (native-inputs
+     `(("python-nose" ,python2-nose)))
+    (home-page "http://github.com/fhcrc/seqmagick")
+    (synopsis
+     "Tools for converting and modifying sequence files from the command-line")
+    (description
+     "Bioinformaticians often have to convert sequence files between formats
+and do little manipulations on them, and it's not worth writing scripts for
+that.  Seqmagick is a utility to expose the file format conversion in
+BioPython in a convenient way.  Instead of having a big mess of scripts, there
+is one that takes arguments.")
+    (license license:gpl3)))
+
 (define-public star
   (package
     (name "star")
-- 
2.4.3


             reply	other threads:[~2015-09-17 11:47 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-17 11:47 Ben Woodcroft [this message]
2015-09-17 15:51 ` [PATCH] Add python2-seqmagick Ricardo Wurmus
2015-09-19  9:36   ` Ben Woodcroft
2015-09-21  7:34     ` Pjotr Prins
2015-09-21 16:13       ` Ludovic Courtès
2015-09-21 22:36         ` Ben Woodcroft
2015-09-24  5:08         ` Pjotr Prins
2015-09-24  7:36           ` Ludovic Courtès
2015-09-24  8:37             ` R and R modules (and a Ruby twist) Pjotr Prins
2015-09-24  9:40               ` Ricardo Wurmus
2015-09-24 15:16                 ` Pjotr Prins
2015-09-25  9:14                   ` Ricardo Wurmus
2015-09-25 14:09     ` [PATCH] Add python2-seqmagick Ricardo Wurmus
2015-09-25 22:14       ` Ben Woodcroft
2015-09-28  9:54         ` Ricardo Wurmus
2015-09-21 22:41   ` Cyril Roelandt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55FAA83C.3040403@uq.edu.au \
    --to=b.woodcroft@uq.edu.au \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).