diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2024-01-08 20:02:04 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2024-01-16 11:22:32 +0100 |
commit | 1629c044ace9e791eaac6aaa0d422aa7e0b0ae31 (patch) | |
tree | 90a6c4a3baaf99bf0483f71b6d002ff4917826b4 /gnu/packages/python-xyz.scm | |
parent | 6b412d653b2bd4001996393d8bb591ccce8d0cd8 (diff) |
gnu: Add python-contourpy.
* gnu/packages/python-xyz.scm (python-contourpy): New variable.
Change-Id: Icbbe4a358242095fae36639c5c039c029eea4ee3
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r-- | gnu/packages/python-xyz.scm | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 29b3068a62..6d51131306 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) @@ -974,6 +975,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") |