[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
19/55: gnu: Add python-contourpy.
From: |
guix-commits |
Subject: |
19/55: gnu: Add python-contourpy. |
Date: |
Mon, 15 Jan 2024 07:42:22 -0500 (EST) |
rekado pushed a commit to branch wip-python-science
in repository guix.
commit c12a0c930cba6ec78dca3fb082555e7a63124809
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Jan 8 20:02:04 2024 +0100
gnu: Add python-contourpy.
* gnu/packages/python-xyz.scm (python-contourpy): New variable.
Change-Id: Icbbe4a358242095fae36639c5c039c029eea4ee3
---
gnu/packages/python-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 189c68fc61..b5c7efb805 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -174,6 +174,7 @@
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages bdw-gc)
+ #:use-module (gnu packages build-tools)
#:use-module (gnu packages check)
#:use-module (gnu packages cmake)
#:use-module (gnu packages compression)
@@ -863,6 +864,46 @@ as functions or string constants to form colored terminal
output.")
into dataclasses.")
(license license:expat)))
+(define-public python-contourpy
+ (package
+ (name "python-contourpy")
+ (version "1.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "contourpy" version))
+ (sha256
+ (base32 "088bhyh6m6q0h637wiq2paqhwn76hqvvbhqwacfx4a1qhv1lcc75"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ ;; All these tests require matplotlib, but matplotlib requires contourpy
+ ;; now.
+ '(list "-k" "not test_mypy"
+ "--ignore=tests/test_config.py"
+ "--ignore=tests/test_filled.py"
+ "--ignore=tests/test_lines.py"
+ "--ignore=tests/test_renderer.py")))
+ (propagated-inputs (list python-mypy
+ python-numpy
+ python-pillow
+ python-pytest
+ python-pytest-cov
+ python-pytest-xdist
+ python-selenium
+ python-sphinx
+ python-sphinx-copybutton
+ python-wurlitzer))
+ (native-inputs (list meson-python pybind11-2.10 pkg-config))
+ (home-page "https://contourpy.readthedocs.io/")
+ (synopsis
+ "Python library for calculating contours of 2D quadrilateral grids")
+ (description
+ "ContourPy is a Python library for calculating contours of 2D
+quadrilateral grids. It is written in C++11 and wrapped using pybind11.")
+ (license license:bsd-3)))
+
(define-public python-yaspin
(package
(name "python-yaspin")
- branch wip-python-science created (now f2cdc24863), guix-commits, 2024/01/15
- 04/55: gnu: Add python-pyproject-metadata-0.7., guix-commits, 2024/01/15
- 07/55: gnu: python-scipy: Update to 1.11.4., guix-commits, 2024/01/15
- 09/55: gnu: python-lazy-loader: Update to 0.3., guix-commits, 2024/01/15
- 18/55: gnu: python-kiwisolver: Update to 1.4.5., guix-commits, 2024/01/15
- 19/55: gnu: Add python-contourpy.,
guix-commits <=
- 11/55: gnu: python-scikit-image: Update to 0.22.0., guix-commits, 2024/01/15
- 27/55: gnu: tadbit: Add missing input., guix-commits, 2024/01/15
- 26/55: gnu: python-captum: Update to 0.7.0., guix-commits, 2024/01/15
- 02/55: gnu: Add pybind11-2.10., guix-commits, 2024/01/15
- 03/55: gnu: python-doit: Update to 0.36.0., guix-commits, 2024/01/15
- 01/55: gnu: Add python-cython-0.29.35., guix-commits, 2024/01/15
- 05/55: gnu: Add python-pydevtool., guix-commits, 2024/01/15
- 06/55: gnu: meson-python: Update to 0.15.0., guix-commits, 2024/01/15
- 10/55: gnu: python-imageio: Update to 2.33.1., guix-commits, 2024/01/15
- 14/55: gnu: python-scikit-learn: Update to 1.3.2., guix-commits, 2024/01/15