unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#49492] [PATCH] add python-pyhull
@ 2021-07-09 14:29 Franck Pérignon
  2021-07-19 17:18 ` bug#49492: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Franck Pérignon @ 2021-07-09 14:29 UTC (permalink / raw)
  To: 49492

[-- Attachment #1: Type: text/plain, Size: 143 bytes --]

Hello,

the atttached file adds python-pyhull package (https://pypi.org/project/pyhull/)
I’ve used guix import command to generate it.


[-- Attachment #2: 0001-PATCH-Add-python-pyhull.patch --]
[-- Type: application/octet-stream, Size: 1821 bytes --]

From 01ce9e6929fc9681ec0662a7a9673390def38449 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Franck=20P=C3=A9rignon?=
 <franck.perignon@univ-grenoble-alpes.fr>
Date: Fri, 9 Jul 2021 16:27:18 +0200
Subject: [PATCH] [PATCH] Add python-pyhull

---
 gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d8c3fbec07..5161e74c05 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -105,6 +105,7 @@
 ;;; Copyright © 2021 Danial Behzadi <dani.behzi@ubuntu.com>
 ;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
 ;;; Copyright © 2021 Hugo Lecomte <hugo.lecomte@inria.fr>
+;;; Copyright © 2021 Franck Pérignon <franck.perignon@univ-grenoble-alpes.fr>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -26013,3 +26014,28 @@ result.")
      "This packages provides a docutils-compatibility bridge to CommonMark,
 enabling you to write CommonMark inside of Docutils & Sphinx projects.")
     (license license:expat)))
+
+(define-public python-pyhull
+(package
+  (name "python-pyhull")
+  (version "2015.2.1")
+  (source
+    (origin
+      (method url-fetch)
+      (uri (pypi-uri "pyhull" version))
+      (sha256
+        (base32
+          "091sph52c4yk1jlm5w8xidxpzbia9r7s42bnb23q4m4b56ihmzyj"))))
+  (build-system python-build-system)
+  (propagated-inputs
+    `(("python-numpy" ,python-numpy)))
+  (home-page
+    "https://github.com/materialsvirtuallab/pyhull")
+  (synopsis
+    "Python wrapper to Qhull")
+  (description
+    "A Python wrapper to Qhull (http://www.qhull.org/)
+     for the computation of the convex hull,
+     Delaunay triangulation and Voronoi diagram")
+  (license license:expat)))
+
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#49492: [PATCH] add python-pyhull
  2021-07-09 14:29 [bug#49492] [PATCH] add python-pyhull Franck Pérignon
@ 2021-07-19 17:18 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2021-07-19 17:18 UTC (permalink / raw)
  To: Franck Pérignon; +Cc: 49492-done

[-- Attachment #1: Type: text/plain, Size: 686 bytes --]

Hi Franck,

Franck Pérignon <Franck.Perignon@univ-grenoble-alpes.fr> skribis:

> From 01ce9e6929fc9681ec0662a7a9673390def38449 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Franck=20P=C3=A9rignon?=
>  <franck.perignon@univ-grenoble-alpes.fr>
> Date: Fri, 9 Jul 2021 16:27:18 +0200
> Subject: [PATCH] [PATCH] Add python-pyhull
>
> ---
>  gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)

Applied!  I took the liberty to apply the following cosmetic changes to
indentation and to the description to better match our conventions:

  https://guix.gnu.org/manual/en/html_node/Submitting-Patches.html

Thank you!

Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1685 bytes --]

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5161e74c05..46419d4b45 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26016,26 +26016,23 @@ enabling you to write CommonMark inside of Docutils & Sphinx projects.")
     (license license:expat)))
 
 (define-public python-pyhull
-(package
-  (name "python-pyhull")
-  (version "2015.2.1")
-  (source
-    (origin
-      (method url-fetch)
-      (uri (pypi-uri "pyhull" version))
-      (sha256
+  (package
+    (name "python-pyhull")
+    (version "2015.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pyhull" version))
+       (sha256
         (base32
-          "091sph52c4yk1jlm5w8xidxpzbia9r7s42bnb23q4m4b56ihmzyj"))))
-  (build-system python-build-system)
-  (propagated-inputs
-    `(("python-numpy" ,python-numpy)))
-  (home-page
-    "https://github.com/materialsvirtuallab/pyhull")
-  (synopsis
-    "Python wrapper to Qhull")
-  (description
-    "A Python wrapper to Qhull (http://www.qhull.org/)
-     for the computation of the convex hull,
-     Delaunay triangulation and Voronoi diagram")
-  (license license:expat)))
-
+         "091sph52c4yk1jlm5w8xidxpzbia9r7s42bnb23q4m4b56ihmzyj"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-numpy" ,python-numpy)))
+    (home-page "https://github.com/materialsvirtuallab/pyhull")
+    (synopsis "Python wrapper to Qhull")
+    (description
+     "This package provides a Python wrapper to @uref{http://www.qhull.org/,
+Qhull} for the computation of the convex hull, Delaunay triangulation, and
+Voronoi diagram.")
+    (license license:expat)))

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-19 17:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-09 14:29 [bug#49492] [PATCH] add python-pyhull Franck Pérignon
2021-07-19 17:18 ` bug#49492: " Ludovic Courtès

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).