summaryrefslogtreecommitdiff
path: root/math/py-contourpy
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2023-03-06 19:01:37 +0800
committerWen Heping <wen@FreeBSD.org>2023-03-06 19:01:37 +0800
commite36085bccca7192ebc91e87ce2fb3560dd645eae (patch)
tree478b4d2859677f6ef0d0239be55b25d7bce7b63d /math/py-contourpy
parentaudio/ocp: Workaround regression in audio/libdiscid (diff)
math/py-contourpy: Add new port
ContourPy is a Python library for calculating contours of 2D quadrilateral grids. It is written in C++11 and wrapped using pybind11.
Diffstat (limited to 'math/py-contourpy')
-rw-r--r--math/py-contourpy/Makefile20
-rw-r--r--math/py-contourpy/distinfo3
-rw-r--r--math/py-contourpy/pkg-descr2
3 files changed, 25 insertions, 0 deletions
diff --git a/math/py-contourpy/Makefile b/math/py-contourpy/Makefile
new file mode 100644
index 000000000000..eb5588f1528f
--- /dev/null
+++ b/math/py-contourpy/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= contourpy
+PORTVERSION= 1.0.7
+CATEGORIES= math python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= wen@FreeBSD.org
+COMMENT= Python library for calculating contours of 2D quadrilateral grids
+WWW= https://github.com/contourpy/contourpy
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/pybind11:devel/py-pybind11@${PY_FLAVOR}
+RUN_DEPENDS= ${PYNUMPY}
+
+USES= python:3.8+
+USE_PYTHON= autoplist concurrent distutils
+
+.include <bsd.port.mk>
diff --git a/math/py-contourpy/distinfo b/math/py-contourpy/distinfo
new file mode 100644
index 000000000000..a18d85f1fdc9
--- /dev/null
+++ b/math/py-contourpy/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1678086691
+SHA256 (contourpy-1.0.7.tar.gz) = d8165a088d31798b59e91117d1f5fc3df8168d8b48c4acc10fc0df0d0bdbcc5e
+SIZE (contourpy-1.0.7.tar.gz) = 13361449
diff --git a/math/py-contourpy/pkg-descr b/math/py-contourpy/pkg-descr
new file mode 100644
index 000000000000..596cd5e44ba8
--- /dev/null
+++ b/math/py-contourpy/pkg-descr
@@ -0,0 +1,2 @@
+ContourPy is a Python library for calculating contours of 2D quadrilateral
+grids. It is written in C++11 and wrapped using pybind11.