unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Vinicius Monego <monego@posteo.net>
To: 41996@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#41996] [PATCH 2/2] gnu: Add python-symengine.
Date: Sun, 21 Jun 2020 22:01:55 -0300	[thread overview]
Message-ID: <20200622010155.17641-2-monego@posteo.net> (raw)
In-Reply-To: <20200622010155.17641-1-monego@posteo.net>

* gnu/packages/python-xyz.scm (python-symengine): New variable.
---
 gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

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





  reply	other threads:[~2020-06-22  1:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-22  1:01 [bug#41995] [PATCH 1/2] gnu: Add symengine Vinicius Monego
2020-06-22  1:01 ` Vinicius Monego [this message]
2020-06-24  6:58   ` [bug#41996] [PATCH 2/2] gnu: Add python-symengine Nicolas Goaziou
2020-06-24  6:57 ` [bug#41995] [PATCH 1/2] gnu: Add symengine Nicolas Goaziou
2020-06-24 13:39   ` Vinicius Monego
2020-06-24 17:49     ` bug#41995: " Nicolas Goaziou
2020-06-24 13:16 ` [bug#41995] " Vinicius Monego
2020-06-24 13:16   ` [bug#41995] [PATCH 2/2] gnu: Add python-symengine Vinicius Monego

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200622010155.17641-2-monego@posteo.net \
    --to=monego@posteo.net \
    --cc=41996@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).