From: Marius Bakke <mbakke@fastmail.com>
To: guix-devel@gnu.org
Cc: Marius Bakke <mbakke@fastmail.com>
Subject: [PATCH 4/4] gnu: Add python2-pbcommand.
Date: Sun, 25 Sep 2016 22:17:28 +0100 [thread overview]
Message-ID: <20160925211728.7636-4-mbakke@fastmail.com> (raw)
In-Reply-To: <20160925211728.7636-1-mbakke@fastmail.com>
* gnu/packages/bioinformatics.scm (python2-pbcommand): New variable.
---
gnu/packages/bioinformatics.scm | 50 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 1bf91a9..9343cc6 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -3373,6 +3373,56 @@ interrupted by stop codons. OrfM finds and prints these ORFs.")
(home-page "https://github.com/wwood/OrfM")
(license license:lgpl3+)))
+(define-public python2-pbcommand
+ ;; Upstream does not tag git releases and PyPi is out of date.
+ ;; See https://github.com/PacificBiosciences/pbcommand/issues/116
+ (let ((revision "1")
+ (commit "e83a3443a1cd42b4da0d210201d711ede789917f"))
+ (package
+ (name "python2-pbcommand")
+ (version (string-append "0.4.11-" revision "." (string-take commit 7)))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/PacificBiosciences/pbcommand.git")
+ (commit commit)))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32
+ "1kwg84f23l7ik65qy7cxa6g5nipc2y23mppigd4j3vlzam18v52h"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:python ,python-2 ; Python-2 only.
+ #:configure-flags '("--single-version-externally-managed" "--root=/")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'substitute-/bin/bash
+ (lambda _
+ ;; Fully qualify /bin/bash for running external commands.
+ (substitute* "pbcommand/engine/runner.py"
+ (("/bin/bash") (which "bash")))
+ #t))
+ (replace 'check
+ (lambda _ (zero? (system* "nosetests" "-v")))))))
+ (native-inputs
+ `(("python-nose" ,python2-nose)
+ ("python-sphinx-bootstrap-theme" ,python2-sphinx-bootstrap-theme)
+ ("python-sphinx-argparse" ,python2-sphinx-argparse)
+ ("python-tox" ,python2-tox)
+ ("python-setuptools" ,python2-setuptools)))
+ (propagated-inputs
+ `(("python-functools32" ,python2-functools32)
+ ("python-jsonschema" ,python2-jsonschema)
+ ("python-numpy" ,python2-numpy "out")
+ ("python-avro" ,python2-avro)
+ ("python-requests" ,python2-requests)
+ ("python-iso8601" ,python2-iso8601)))
+ (home-page "https://github.com/PacificBiosciences/pbcommand")
+ (synopsis "PacBio common models and CLI tool contract interface")
+ (description "PacBio library for common utils, models, and tools
+to interface with pbsmrtpipe workflow engine.")
+ (license license:bsd-3))))
+
(define-public python2-pbcore
(package
(name "python2-pbcore")
--
2.10.0
next prev parent reply other threads:[~2016-09-25 21:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-25 21:17 [PATCH 1/4] gnu: Add python-avro Marius Bakke
2016-09-25 21:17 ` [PATCH 2/4] gnu: Add python-sphinx-bootstrap-theme Marius Bakke
2016-09-26 9:35 ` Hartmut Goebel
2016-09-25 21:17 ` [PATCH 3/4] gnu: Add python-sphinx-argparse Marius Bakke
2016-09-26 9:36 ` Hartmut Goebel
2016-09-25 21:17 ` Marius Bakke [this message]
2016-09-26 9:38 ` [PATCH 4/4] gnu: Add python2-pbcommand Hartmut Goebel
2016-09-26 9:31 ` [PATCH 1/4] gnu: Add python-avro Hartmut Goebel
2016-09-26 19:56 ` Marius Bakke
2016-10-04 9:35 ` Ludovic Courtès
2016-10-04 9:32 ` Ludovic Courtès
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=20160925211728.7636-4-mbakke@fastmail.com \
--to=mbakke@fastmail.com \
--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).