emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#42779: closed ([PATCH] gnu: Add python-bottleneck.)


From: GNU bug Tracking System
Subject: bug#42779: closed ([PATCH] gnu: Add python-bottleneck.)
Date: Mon, 10 Aug 2020 09:51:01 +0000

Your message dated Mon, 10 Aug 2020 11:50:50 +0200
with message-id <875z9qhls5.fsf@gnu.org>
and subject line Re: [bug#42779] [PATCH] gnu: Add python-bottleneck.
has caused the debbugs.gnu.org bug report #42779,
regarding [PATCH] gnu: Add python-bottleneck.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
42779: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42779
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: Add python-bottleneck. Date: Sun, 9 Aug 2020 13:44:12 -0300
* 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




--- End Message ---
--- Begin Message --- Subject: Re: [bug#42779] [PATCH] gnu: Add python-bottleneck. Date: Mon, 10 Aug 2020 11:50:50 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
> * gnu/packages/python-science.scm (python-bottleneck): New variable.

Pushed, thanks!

Mathieu


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]