[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
19/59: gnu: Add python-contourpy.
From: |
guix-commits |
Subject: |
19/59: gnu: Add python-contourpy. |
Date: |
Tue, 16 Jan 2024 07:16:23 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit c7646437a2616f2167e6b54c6e9e4d90a31027f4
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 73aae0b6d5..ee48db20a7 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)
@@ -1004,6 +1005,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")
- 45/59: gnu: datasette: Update to 1.0a7., (continued)
- 45/59: gnu: datasette: Update to 1.0a7., guix-commits, 2024/01/16
- 48/59: gnu: python-scikit-bio: Update to 0.5.9., guix-commits, 2024/01/16
- 49/59: gnu: python-adjusttext: Disable tests., guix-commits, 2024/01/16
- 50/59: gnu: python-mysql-connector-python: Defuse time bomb., guix-commits, 2024/01/16
- 51/59: gnu: python-telomerecat: Disable tests., guix-commits, 2024/01/16
- 16/59: gnu: python-umap-learn: Update to 0.5.5., guix-commits, 2024/01/16
- 29/59: gnu: python-pegasusio: Disable tests., guix-commits, 2024/01/16
- 46/59: gnu: python-click-default-group: Update to 1.2.4., guix-commits, 2024/01/16
- 54/59: gnu: python-geopandas: Update to 0.14.2., guix-commits, 2024/01/16
- 58/59: gnu: python-pyrdfa3: Update to 3.6.2., guix-commits, 2024/01/16
- 19/59: gnu: Add python-contourpy.,
guix-commits <=
- 23/59: gnu: python-scanpy: Update to 1.9.6., guix-commits, 2024/01/16
- 22/59: gnu: Add python-pytest-nunit., guix-commits, 2024/01/16
- 43/59: gnu: python-metpy: Update to 1.6.0., guix-commits, 2024/01/16
- 55/59: gnu: python-bbknn: Update to 1.6.0., guix-commits, 2024/01/16