[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
19/48: gnu: Add python-contourpy.
From: |
guix-commits |
Subject: |
19/48: gnu: Add python-contourpy. |
Date: |
Thu, 11 Jan 2024 07:39:02 -0500 (EST) |
rekado pushed a commit to branch wip-python-science
in repository guix.
commit 74bf9117510c4cf6255c2051ced123690070cd64
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 3450290928..8e88bdb911 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")
- 26/48: gnu: python-captum: Update to 0.7.0., (continued)
- 26/48: gnu: python-captum: Update to 0.7.0., guix-commits, 2024/01/11
- 30/48: gnu: python-reportlab: Update to 4.0.8., guix-commits, 2024/01/11
- 34/48: gnu: python-pint: Update to 0.23., guix-commits, 2024/01/11
- 27/48: gnu: tadbit: Add missing input., guix-commits, 2024/01/11
- 38/48: gnu: python-fit-nbinom: Disable tests., guix-commits, 2024/01/11
- 43/48: gnu: python-metpy: Update to 1.6.0., guix-commits, 2024/01/11
- 44/48: gnu: Add python-asyncinject., guix-commits, 2024/01/11
- 47/48: gnu: python-pandas: Update to 1.5.3., guix-commits, 2024/01/11
- 03/48: gnu: python-doit: Update to 0.36.0., guix-commits, 2024/01/11
- 07/48: gnu: python-scipy: Update to 1.11.4., guix-commits, 2024/01/11
- 19/48: gnu: Add python-contourpy.,
guix-commits <=
- 36/48: gnu: python-cartopy: Update to 0.22.0., guix-commits, 2024/01/11
- 37/48: gnu: scvelo: Make compatible with latest matplotlib., guix-commits, 2024/01/11
- 48/48: gnu: python-scikit-bio: Update to 0.5.9., guix-commits, 2024/01/11
- 18/48: gnu: python-kiwisolver: Update to 1.4.5., guix-commits, 2024/01/11
- 33/48: gnu: python-cooler: Update to 0.9.1., guix-commits, 2024/01/11
- 29/48: gnu: python-pegasusio: Disable tests., guix-commits, 2024/01/11
- 24/48: gnu: python-cleanlab: Disable test_aux_inputs, enable other tests., guix-commits, 2024/01/11
- 39/48: gnu: python-scikit-optimize: Make compatible with latest sklearn., guix-commits, 2024/01/11
- 25/48: gnu: python-poliastro: Make compatible with latest matplotlib., guix-commits, 2024/01/11
- 28/48: gnu: python-pyani: Disable tests., guix-commits, 2024/01/11