unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#70731] [PATCH] gnu: Add python-pyrodigal.
@ 2024-05-03  9:53 nafkhamdc
  2024-05-06 11:03 ` bug#70731: " Ricardo Wurmus
  0 siblings, 1 reply; 2+ messages in thread
From: nafkhamdc @ 2024-05-03  9:53 UTC (permalink / raw)
  To: 70731; +Cc: nafkhamdc

* gnu/packages/bioinformatics.scm (python-pyrodigal): New variable.

Change-Id: Iaa0bdb4b918d93f990d5b904f1df3a3f910726b0
---
 gnu/packages/bioinformatics.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index b90a1c7824..bc10123a8f 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -17710,6 +17710,37 @@ (define-public python-pypairix
 bgzipped text file that contains a pair of genomic coordinates per line.")
     (license license:expat)))
 
+(define-public python-pyrodigal
+  (package
+    (name "python-pyrodigal")
+    (version "3.3.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/althonos/pyrodigal")
+             (commit (string-append "v" version))
+             (recursive? #t)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "10vxbm9i33wari0ifsr78xnfn7d0yqwzqpc5pchirjflf1mmnr6w"))))
+    (build-system pyproject-build-system)
+    (arguments
+     `(#:phases (modify-phases %standard-phases
+                  (replace 'check
+                    (lambda* (#:key tests? #:allow-other-keys)
+                      (when tests?
+                        (with-directory-excursion "/tmp"
+                          (invoke "python3" "-m" "unittest" "discover" "-vv"))))))))
+    (propagated-inputs (list python-archspec python-importlib-resources))
+    (native-inputs (list python-cython-3 python-mock python-unittest2))
+    (home-page "https://github.com/althonos/pyrodigal")
+    (synopsis "Cython bindings and Python interface for Prodigal")
+    (description
+     "This package offers Cython bindings and a Python interface for Prodigal.
+ Prodigal is an ORF finder designed for both genomes and metagenomes.")
+    (license license:gpl3)))
+
 (define-public python-pyfaidx
   (package
     (name "python-pyfaidx")

base-commit: aa9ac252206615713ab988d7068da9e14a9bccc0
prerequisite-patch-id: 68498b47732fb0359e4db6d2f1c86f44d8c700ab
prerequisite-patch-id: 8cad86329867720ca9938e551ece489b056b37ad
-- 
2.34.1





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#70731: [PATCH] gnu: Add python-pyrodigal.
  2024-05-03  9:53 [bug#70731] [PATCH] gnu: Add python-pyrodigal nafkhamdc
@ 2024-05-06 11:03 ` Ricardo Wurmus
  0 siblings, 0 replies; 2+ messages in thread
From: Ricardo Wurmus @ 2024-05-06 11:03 UTC (permalink / raw)
  To: 70731-done

Thanks for the patch.  I changed it to actually run the tests and pushed
it to the "master" branch.

-- 
Ricardo




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-06 11:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-03  9:53 [bug#70731] [PATCH] gnu: Add python-pyrodigal nafkhamdc
2024-05-06 11:03 ` bug#70731: " Ricardo Wurmus

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).