Subject: [PATCH 09/12] gnu: Add python-contourpy.

From: Nicolas Graves <[email-masked]>
Date: Wed, 13 Dec 2023 22:56:29 +0100

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2cc687547a..fd9e404f0b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16296,6 +16296,39 @@ (define-public python-texttable
 tables.")
     (license license:expat)))
 
+(define-public python-contourpy
+  (package
+    (name "python-contourpy")
+    (version "1.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "contourpy" version))
+       (sha256
+        (base32 "1az80zv067rcybm5x93j7rfiakbwiv1h8l58gnki4wjbwb13gfln"))))
+    (build-system pyproject-build-system)
+    (arguments
+     ;; Image tests require matplotlib and create a circular dependency.
+     (list #:test-flags
+           #~(list "-m" "not image")))
+    (propagated-inputs
+     (list python-numpy))
+    (native-inputs
+     (list cmake
+           meson-python
+           pkg-config
+           pybind11
+           python-pytest
+           python-pytest-cov
+           python-wurlitzer))
+    (home-page "https://github.com/contourpy/contourpy")
+    (synopsis
+     "Python library for calculating contours of 2D quadrilateral grids")
+    (description
+     "This package provide a python library for calculating contours of 2D
+quadrilateral grids.")
+    (license license:bsd-3)))
+
 (define-public python-atomicwrites
   (package
     (name "python-atomicwrites")
-- 
2.41.0