all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#64438] [PATCH] gnu: Add python-gatspy.
@ 2023-07-03 15:08 Navid Afkhami
  2023-07-03 15:46 ` bug#64438: " Ricardo Wurmus
  0 siblings, 1 reply; 2+ messages in thread
From: Navid Afkhami @ 2023-07-03 15:08 UTC (permalink / raw)
  To: 64438; +Cc: Navid Afkhami

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

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 0f3f64b98f..47ea11fa53 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -3477,6 +3477,34 @@ (define-public python-pysam
 also includes an interface for tabix.")
     (license license:expat)))
 
+(define-public python-gatspy
+  (package
+    (name "python-gatspy")
+    (version "0.3")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "gatspy" version))
+              (sha256
+               (base32
+                "1gw2z6x8nikvnw2gkdl70gr81cwczd1pd7v8ry2kjn6k4kssrfav"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list #:test-flags '(list "-k"
+                               ;; These tests require internet access
+                               (string-append "not test_download_data.py"
+                                " and not test_rrlyrae.py"
+                                " and not test_rrlyrae_lightcurves"
+                                " and not test_rrlyrae_generated.py"
+                                " and not test_lomb_scargle.py"
+                                " and not test_supersmoother.py"
+                                " and not test_templates.py"))))
+    (propagated-inputs (list python-numpy python-scipy))
+    (native-inputs (list python-pytest python-nose python-setuptools-scm))
+    (home-page "https://github.com/astroml/gatspy")
+    (synopsis "General tools for astronomical time series in Python")
+    (description "General tools for astronomical time series in Python")
+    (license license:bsd-2)))
+
 (define-public python-twobitreader
   (package
     (name "python-twobitreader")

base-commit: 29ccd7cac93da290e1d0466a1d33748ad4ccbf08
prerequisite-patch-id: 2e072dec7e75b2dcc08789c562b9c3f8491fc05f
-- 
2.34.1





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

* bug#64438: [PATCH] gnu: Add python-gatspy.
  2023-07-03 15:08 [bug#64438] [PATCH] gnu: Add python-gatspy Navid Afkhami
@ 2023-07-03 15:46 ` Ricardo Wurmus
  0 siblings, 0 replies; 2+ messages in thread
From: Ricardo Wurmus @ 2023-07-03 15:46 UTC (permalink / raw)
  To: 64438-done

Thanks for the patch!

I noticed that some of the tests only failed because we didn’t have
astroML.  So I packaged it and added it to the inputs, so now only two
tests are disabled.

Pushed it to the master branch with commit
07f083e94f4f5c5f53e4d8aa644de2064a6256c9.

-- 
Ricardo




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

end of thread, other threads:[~2023-07-03 15:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-03 15:08 [bug#64438] [PATCH] gnu: Add python-gatspy Navid Afkhami
2023-07-03 15:46 ` bug#64438: " Ricardo Wurmus

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.