[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/06: gnu: python2-numexpr: Use strip-python2-variant.
From: |
Efraim Flashner |
Subject: |
05/06: gnu: python2-numexpr: Use strip-python2-variant. |
Date: |
Fri, 2 Sep 2016 03:44:54 +0000 (UTC) |
efraim pushed a commit to branch master
in repository guix.
commit fc1a170e65d721ed4cea35fdd4752678c21d5741
Author: Efraim Flashner <address@hidden>
Date: Thu Sep 1 23:15:53 2016 +0300
gnu: python2-numexpr: Use strip-python2-variant.
* gnu/packages/python.scm (python2-numexpr): Replace package definition
with 'package-with-python2', using 'strip-python2-variant'.
---
gnu/packages/python.scm | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index dd59be8..6e2c865 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3303,17 +3303,11 @@ doing the same calculation in Python. In addition, its
multi-threaded
capabilities can make use of all your cores, which may accelerate
computations, most specially if they are not memory-bounded (e.g. those using
transcendental functions).")
- (license license:expat)))
+ (license license:expat)
+ (properties `((python2-variant . ,(delay python2-numexpr))))))
(define-public python2-numexpr
- (let ((numexpr (package-with-python2 python-numexpr)))
- (package (inherit numexpr)
- ;; Make sure to use special packages for Python 2 instead
- ;; of those automatically rewritten by package-with-python2.
- (propagated-inputs
- `(("python2-numpy" ,python2-numpy)
- ,@(alist-delete "python-numpy"
- (package-propagated-inputs numexpr)))))))
+ (package-with-python2 (strip-python2-variant python-numexpr)))
(define-public python-matplotlib
(package
- branch master updated (bb76ef9 -> 135ba81), Efraim Flashner, 2016/09/01
- 05/06: gnu: python2-numexpr: Use strip-python2-variant.,
Efraim Flashner <=
- 02/06: gnu: python2-scikit-learn: Use strip-python2-variant., Efraim Flashner, 2016/09/01
- 06/06: gnu: python2-ipython: Use strip-python2-variant., Efraim Flashner, 2016/09/01
- 01/06: gnu: python-requests-mock: Update to 1.0.0., Efraim Flashner, 2016/09/01
- 04/06: gnu: python2-scikit-image: Use strip-python2-variant., Efraim Flashner, 2016/09/01
- 03/06: gnu: python-scikit-learn: Set source file name., Efraim Flashner, 2016/09/01