guix-commits
[Top][All Lists]
Advanced

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

02/07: gnu: Add python2-weave.


From: guix-commits
Subject: 02/07: gnu: Add python2-weave.
Date: Thu, 30 Apr 2020 07:09:00 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit ed33317893812715bf37005fb0ba5192b651b14f
Author: Ricardo Wurmus <address@hidden>
AuthorDate: Thu Apr 30 13:00:40 2020 +0200

    gnu: Add python2-weave.
    
    * gnu/packages/python-science.scm (python2-weave): New variable.
---
 gnu/packages/python-science.scm | 35 ++++++++++++++++++++++++++++++++++-
 1 file changed, 34 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 530a247..2f7516b 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2015, 2016 Ricardo Wurmus <address@hidden>
+;;; Copyright © 2015, 2016, 2020 Ricardo Wurmus <address@hidden>
 ;;; Copyright © 2015 Federico Beffa <address@hidden>
 ;;; Copyright © 2016 Ben Woodcroft <address@hidden>
 ;;; Copyright © 2016 Hartmut Goebel <address@hidden>
@@ -162,6 +162,39 @@ routines such as routines for numerical integration and 
optimization.")
         (base32
          "1cgvgin8fvckv96hjh3ikmwkra5rif51bdb75ifzf7xbil5iwcx4"))))))
 
+(define-public python2-weave
+  (package
+    (name "python2-weave")
+    (version "0.16.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "weave" version))
+       (sha256
+        (base32 "0jnm3584mfichgwgrd1gk5i42ll9c08nkw9716n947n4338f6ghs"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:python ,python-2
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _
+             (invoke "nosetests" "-v"
+                     "--exclude"
+                     "test_(user|incorrect_ownership|char_fail|obj_fail)"))))))
+    (propagated-inputs
+     `(("python-numpy" ,python2-numpy)))
+    (native-inputs
+     `(("python-nose" ,python2-nose)))
+    (home-page "https://www.scipy.org/";)
+    (synopsis "Tools for including C/C++ code within Python code")
+    (description "Weave is the stand-alone version of the obsolete Scipy
+submodule @code{scipy.weave}.  It is Python 2.x only, and is provided for
+users that need new versions of Scipy but have existing code that still
+depends on @code{scipy.weave}.  For new code, users are recommended to use
+Cython.")
+    (license license:bsd-3)))
+
 (define-public python-scikit-image
   (package
     (name "python-scikit-image")



reply via email to

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