unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Felix Gruber <felgru@posteo.net>
To: 66929@debbugs.gnu.org
Cc: Felix Gruber <felgru@posteo.net>
Subject: [bug#66929] [PATCH 10/10] gnu: Add python-quadpy.
Date: Sat,  4 Nov 2023 15:02:39 +0000	[thread overview]
Message-ID: <d7377aa7471f85c83e225cb870269d6054e9dbcc.1699109092.git.felgru@posteo.net> (raw)
In-Reply-To: <cover.1699109092.git.felgru@posteo.net>

* gnu/packages/maths.scm (python-quadpy): New variable.

Change-Id: Icb5a60920465bc5861cf32ffe5dc44a9088af890
---
 gnu/packages/maths.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 2474e463c5..d73546d4c2 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -135,6 +135,7 @@ (define-module (gnu packages maths)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages icu4c)
   #:use-module (gnu packages image)
+  #:use-module (gnu packages image-processing)
   #:use-module (gnu packages java)
   #:use-module (gnu packages less)
   #:use-module (gnu packages lisp)
@@ -163,6 +164,7 @@ (define-module (gnu packages maths)
   #:use-module (gnu packages pulseaudio)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-build)
+  #:use-module (gnu packages python-science)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages qt)
@@ -3756,6 +3758,41 @@ (define-public python-orthopy
 can return results in exact arithmetic.")
     (license license:gpl3)))
 
+(define-public python-quadpy
+  (package
+    (name "python-quadpy")
+    (version "0.16.10")
+    (source
+      (origin
+        (method url-fetch)
+        ; Download zipfile from zenodo, because git checkout is missing
+        ; some data files that are stored via git-lfs.
+        (uri (string-append
+               "https://zenodo.org/records/5541216/files/nschloe/quadpy-v"
+               version
+               ".zip"))
+        (sha256
+          (base32
+            "1f989dipv7lqxvalfrvvlmhlxyl67a87lavyyqrr1mh88glhl592"))))
+    (build-system pyproject-build-system)
+    (propagated-inputs
+      (list python-importlib-metadata
+            python-numpy
+            python-orthopy
+            python-scipy
+            python-sympy))
+    (native-inputs (list python-accupy python-pytest unzip vtk))
+    (home-page "https://github.com/diego-hayashi/quadpy")
+    (synopsis
+      "Numerical integration, quadrature for various domains")
+    (description
+      "More than 1500 numerical integration schemes for line segments, circles,
+  disks, triangles, quadrilaterals, spheres, balls, tetrahedra, hexahedra,
+  wedges, pyramids, n-spheres, n-balls, n-cubes, n-simplices, and the
+  1D/2D/3D/nD spaces with weight functions exp(-r) and exp(-r2) for fast
+  integration of real-, complex-, and vector-valued functions.")
+    (license license:gpl3)))
+
 (define-public slepc
   (package
     (name "slepc")
-- 
2.42.0





  parent reply	other threads:[~2023-11-04 15:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-04 15:00 [bug#66929] [PATCH 00/10] Add python-quadpy and dependencies Felix Gruber
2023-11-04 15:02 ` [bug#66929] [PATCH 01/10] gnu: Add python-meshzoo Felix Gruber
2023-11-04 15:02 ` [bug#66929] [PATCH 02/10] gnu: Add python-matplotx Felix Gruber
2023-11-04 15:02 ` [bug#66929] [PATCH 03/10] gnu: Add python-npx Felix Gruber
2023-11-04 15:02 ` [bug#66929] [PATCH 04/10] gnu: Add python-cplot Felix Gruber
2023-11-04 15:02 ` [bug#66929] [PATCH 05/10] gnu: Add python-perfplot Felix Gruber
2023-11-04 15:02 ` [bug#66929] [PATCH 06/10] gnu: Add python-pyfma Felix Gruber
2023-11-04 15:02 ` [bug#66929] [PATCH 07/10] gnu: Add python-accupy Felix Gruber
2023-11-04 15:02 ` [bug#66929] [PATCH 08/10] gnu: Add python-ndim Felix Gruber
2023-11-04 15:02 ` [bug#66929] [PATCH 09/10] gnu: Add python-orthopy Felix Gruber
2023-11-04 15:02 ` Felix Gruber [this message]
2023-12-04 21:23 ` bug#66929: [PATCH 00/10] Add python-quadpy and dependencies Ludovic Courtès

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=d7377aa7471f85c83e225cb870269d6054e9dbcc.1699109092.git.felgru@posteo.net \
    --to=felgru@posteo.net \
    --cc=66929@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).