git: e36085bccca7 - main - math/py-contourpy: Add new port

From: Wen Heping <wen_at_FreeBSD.org>
Date: Mon, 06 Mar 2023 11:02:29 UTC
The branch main has been updated by wen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e36085bccca7192ebc91e87ce2fb3560dd645eae

commit e36085bccca7192ebc91e87ce2fb3560dd645eae
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2023-03-06 11:01:37 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2023-03-06 11:01:37 +0000

    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.
---
 math/Makefile               |  1 +
 math/py-contourpy/Makefile  | 20 ++++++++++++++++++++
 math/py-contourpy/distinfo  |  3 +++
 math/py-contourpy/pkg-descr |  2 ++
 4 files changed, 26 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index c81afdfb82a4..89a6d0d79386 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -893,6 +893,7 @@
     SUBDIR += py-cmaes
     SUBDIR += py-cmyt
     SUBDIR += py-colormath
+    SUBDIR += py-contourpy
     SUBDIR += py-cryptominisat
     SUBDIR += py-cvxopt
     SUBDIR += py-cvxpy
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.