GNU bug report logs - #29945
[PATCH 2/2] gnu: Add python2-scientific.

Previous Next

Package: guix-patches;

Reported by: Konrad Hinsen <konrad.hinsen <at> fastmail.net>

Date: Tue, 2 Jan 2018 16:03:02 UTC

Severity: normal

Tags: patch

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29945 in the body.
You can then email your comments to 29945 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#29945; Package guix-patches. (Tue, 02 Jan 2018 16:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Konrad Hinsen <konrad.hinsen <at> fastmail.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 02 Jan 2018 16:03:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Konrad Hinsen <konrad.hinsen <at> fastmail.net>
To: guix-patches <at> gnu.org 
Subject: [PATCH 2/2] gnu: Add python2-scientific.
Date: Tue, 2 Jan 2018 16:53:56 +0100
* gnu/packages/python.scm (python2-scientific): New public variable.
---
 gnu/packages/python.scm | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 0dff54a1b..875982645 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -12209,3 +12209,43 @@ and has much more to offer than Pyro or RMI.  Pyro 3.x is no
 longer maintained.  New projects should use Pyro4 instead, which
 is the new Pyro version that is actively developed.")
     (license license:expat)))
+
+(define-public python2-scientific
+  (package
+    (name "python2-scientific")
+    (version "2.9.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://bitbucket.org/khinsen/"
+                           "scientificpython/downloads/ScientificPython-"
+                           version ".tar.gz"))
+       (file-name (string-append "ScientificPython-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0fc69zhlsn9d2jvbzyjl9ah53vj598h84nkq230c83ahfvgzx5y3"))))
+    (build-system python-build-system)
+    (inputs
+     `(("netcdf" ,netcdf)))
+    (propagated-inputs
+     `(("python-numpy" ,python2-numpy-1.8)
+       ("python-pyro", python2-pyro)))
+    (arguments
+     ;; ScientificPython is not compatible with Python 3
+     `(#:python ,python-2
+       #:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'build
+           (lambda* (#:key inputs #:allow-other-keys)
+             (zero? (system* "python" "setup.py" "build"
+                             (string-append "--netcdf_prefix="
+                                            (assoc-ref inputs "netcdf")))))))))
+    (home-page "https://bitbucket.org/khinsen/scientificpython")
+    (synopsis "Python modules for scientific computing")
+    (description "ScientificPython is a collection of Python modules that are
+useful for scientific computing.  Most modules are rather general (Geometry,
+physical units, automatic derivatives, ...) whereas others are more
+domain-specific (e.g. netCDF and PDB support).  The library is currently
+not actively maintained and works only with Python 2 and NumPy < 1.9.")
+    (license license:cecill-c)))
-- 
2.14.3 (Apple Git-98)





Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Thu, 04 Jan 2018 17:47:03 GMT) Full text and rfc822 format available.

Notification sent to Konrad Hinsen <konrad.hinsen <at> fastmail.net>:
bug acknowledged by developer. (Thu, 04 Jan 2018 17:47:04 GMT) Full text and rfc822 format available.

Message #10 received at 29945-done <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Konrad Hinsen <konrad.hinsen <at> fastmail.net>
Cc: 29945-done <at> debbugs.gnu.org
Subject: Re: [bug#29945] [PATCH 2/2] gnu: Add python2-scientific.
Date: Thu, 4 Jan 2018 12:46:40 -0500
[Message part 1 (text/plain, inline)]
On Tue, Jan 02, 2018 at 04:53:56PM +0100, Konrad Hinsen wrote:
> * gnu/packages/python.scm (python2-scientific): New public variable.

Thanks! I added a comment about there being no tests and pushed as
49aebf9613e8590728fd8f8a6d6c2c84a3d0d92b
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 02 Feb 2018 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 198 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.