[PATCH 2/2] gnu: Add python-symengine.

  • Done
  • quality assurance status badge
Details
3 participants
  • Ludovic Courtès
  • Nicolas Goaziou
  • Vinicius Monego
Owner
unassigned
Submitted by
Vinicius Monego
Severity
normal
V
V
Vinicius Monego wrote on 22 Jun 2020 03:01
(address . guix-patches@gnu.org)(name . Vinicius Monego)(address . monego@posteo.net)
20200622010155.17641-2-monego@posteo.net
* gnu/packages/python-xyz.scm (python-symengine): New variable.
---
gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (54 lines)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e95dec21c2..ceabfc8979 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -81,6 +81,7 @@
;;; Copyright © 2020 Josh Holland <josh@inv.alid.pw>
;;; Copyright © 2020 Yuval Kogman <nothingmuch@woobling.org>
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
+;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -106,6 +107,7 @@
#:use-module (gnu packages backup)
#:use-module (gnu packages bash)
#:use-module (gnu packages check)
+ #:use-module (gnu packages cmake)
#:use-module (gnu packages compression)
#:use-module (gnu packages crypto)
#:use-module (gnu packages databases)
@@ -10046,6 +10048,31 @@ document.")
(define-public python2-jmespath
(package-with-python2 python-jmespath))
+(define-public python-symengine
+ (package
+ (name "python-symengine")
+ (version "0.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "symengine" version))
+ (sha256
+ (base32 "1kn1w4dp9mrsq6kzmhf4pjmx3wicxc3dw1mwa924q8g48g77lr4c"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("cmake" ,cmake)
+ ("python-cython" ,python-cython)))
+ (inputs
+ `(("symengine" ,symengine)))
+ (home-page "https://github.com/symengine/symengine.py")
+ (synopsis "Python library providing wrappers to SymEngine")
+ (description "This library provides a Python wrapper to SymEngine, a fast C++
+symbolic manipulation library.")
+ (license license:expat)))
+
+(define-public python2-symengine
+ (package-with-python2 python-symengine))
+
(define-public python-botocore
(package
(name "python-botocore")
--
2.20.1
N
N
Nicolas Goaziou wrote on 24 Jun 2020 08:58
(name . Vinicius Monego)(address . monego@posteo.net)(address . 41996@debbugs.gnu.org)
875zbhvtk4.fsf@nicolasgoaziou.fr
Hello,

Vinicius Monego <monego@posteo.net> writes:

Toggle quote (2 lines)
> * gnu/packages/python-xyz.scm (python-symengine): New variable.

Thank you.

Toggle quote (3 lines)
> +(define-public python2-symengine
> + (package-with-python2 python-symengine))

I don't think we need the Python2 variant. Otherwise, LGTM.

Regards,
--
Nicolas Goaziou
L
L
Ludovic Courtès wrote on 2 Sep 2020 17:12
control message for bug #41996
(address . control@debbugs.gnu.org)
87o8mo43h7.fsf@gnu.org
tags 41996 fixed
close 41996
quit
?
Your comment

This issue is archived.

To comment on this conversation send an email to 41996@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 41996
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch