unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#42779] [PATCH] gnu: Add python-bottleneck.
@ 2020-08-09 16:44 Vinicius Monego
  2020-08-10  9:50 ` bug#42779: " Mathieu Othacehe
  0 siblings, 1 reply; 2+ messages in thread
From: Vinicius Monego @ 2020-08-09 16:44 UTC (permalink / raw)
  To: 42779; +Cc: Vinicius Monego

* gnu/packages/python-science.scm (python-bottleneck): New variable.
---
 gnu/packages/python-science.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 88843c1fb2..7675152d79 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -389,6 +389,36 @@ doing practical, real world data analysis in Python.")
                        "if 'NULL byte' in msg or 'line contains NUL' in msg:"))
                     #t)))))))
 
+(define-public python-bottleneck
+  (package
+    (name "python-bottleneck")
+    (version "1.3.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "Bottleneck" version))
+       (sha256
+        (base32 "0wz5320jx3n4q2nsvwvc7cpi66b46qbals9v53m955rmcq5ry5r0"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _
+             (invoke "python" "setup.py" "pytest"))))))
+    (native-inputs
+     `(("python-hypothesis" ,python-hypothesis)
+       ("python-pytest" ,python-pytest)
+       ("python-pytest-runner" ,python-pytest-runner)))
+    (propagated-inputs
+     `(("python-numpy" ,python-numpy)))
+    (home-page "https://github.com/pydata/bottleneck")
+    (synopsis "Fast NumPy array functions written in C")
+    (description
+     "Bottleneck is a collection of fast, NaN-aware NumPy array functions
+written in C.")
+    (license license:bsd-2)))
+
 (define-public python-xarray
   (package
     (name "python-xarray")
-- 
2.20.1





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

* bug#42779: [PATCH] gnu: Add python-bottleneck.
  2020-08-09 16:44 [bug#42779] [PATCH] gnu: Add python-bottleneck Vinicius Monego
@ 2020-08-10  9:50 ` Mathieu Othacehe
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Othacehe @ 2020-08-10  9:50 UTC (permalink / raw)
  To: Vinicius Monego; +Cc: 42779-done


> * gnu/packages/python-science.scm (python-bottleneck): New variable.

Pushed, thanks!

Mathieu




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

end of thread, other threads:[~2020-08-10  9:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-09 16:44 [bug#42779] [PATCH] gnu: Add python-bottleneck Vinicius Monego
2020-08-10  9:50 ` bug#42779: " Mathieu Othacehe

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