pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics py-contourpy: added version 1.0.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7b4b0cfa5c40
branches:  trunk
changeset: 386700:7b4b0cfa5c40
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Oct 13 16:01:42 2022 +0000

description:
py-contourpy: added version 1.0.5

ContourPy is a Python library for calculating contours of 2D quadrilateral
grids. It is written in C++11 and wrapped using pybind11.

It contains the 2005 and 2014 algorithms used in Matplotlib as well as a newer
algorithm that includes more features and is available in both serial and
multithreaded versions. It provides an easy way for Python libraries to use
contouring algorithms without having to include Matplotlib as a dependency.

diffstat:

 graphics/Makefile              |   3 ++-
 graphics/py-contourpy/DESCR    |   7 +++++++
 graphics/py-contourpy/Makefile |  27 +++++++++++++++++++++++++++
 graphics/py-contourpy/PLIST    |  38 ++++++++++++++++++++++++++++++++++++++
 graphics/py-contourpy/distinfo |   5 +++++
 5 files changed, 79 insertions(+), 1 deletions(-)

diffs (110 lines):

diff -r 104846ae499d -r 7b4b0cfa5c40 graphics/Makefile
--- a/graphics/Makefile Thu Oct 13 12:18:48 2022 +0000
+++ b/graphics/Makefile Thu Oct 13 16:01:42 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.984 2022/09/29 00:54:18 markd Exp $
+# $NetBSD: Makefile,v 1.985 2022/10/13 16:01:42 adam Exp $
 #
 
 COMMENT=       Graphics tools and libraries
@@ -500,6 +500,7 @@
 SUBDIR+=       py-cairo118
 SUBDIR+=       py-cairocffi
 SUBDIR+=       py-chart
+SUBDIR+=       py-contourpy
 SUBDIR+=       py-cycler
 SUBDIR+=       py-dot
 SUBDIR+=       py-exifread
diff -r 104846ae499d -r 7b4b0cfa5c40 graphics/py-contourpy/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-contourpy/DESCR       Thu Oct 13 16:01:42 2022 +0000
@@ -0,0 +1,7 @@
+ContourPy is a Python library for calculating contours of 2D quadrilateral
+grids. It is written in C++11 and wrapped using pybind11.
+
+It contains the 2005 and 2014 algorithms used in Matplotlib as well as a newer
+algorithm that includes more features and is available in both serial and
+multithreaded versions. It provides an easy way for Python libraries to use
+contouring algorithms without having to include Matplotlib as a dependency.
diff -r 104846ae499d -r 7b4b0cfa5c40 graphics/py-contourpy/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-contourpy/Makefile    Thu Oct 13 16:01:42 2022 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2022/10/13 16:01:42 adam Exp $
+
+DISTNAME=      contourpy-1.0.5
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    graphics python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=c/contourpy/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/contourpy/contourpy
+COMMENT=       Python library for calculating contours of 2D quadrilateral grids
+LICENSE=       modified-bsd
+
+#DEPENDS+=     ${PYPKGPREFIX}-Pillow>=6.2.0:../../graphics/py-Pillow
+TEST_DEPENDS+= ${PYPKGPREFIX}-matplotlib-[0-9]*:../../graphics/py-matplotlib
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+USE_LANGUAGES= c c++11
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27 37 # py-numpy
+
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
+
+.include "../../devel/py-pybind11/buildlink3.mk"
+.include "../../math/py-numpy/buildlink3.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 104846ae499d -r 7b4b0cfa5c40 graphics/py-contourpy/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-contourpy/PLIST       Thu Oct 13 16:01:42 2022 +0000
@@ -0,0 +1,38 @@
+@comment $NetBSD: PLIST,v 1.1 2022/10/13 16:01:42 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/contourpy/__init__.py
+${PYSITELIB}/contourpy/__init__.pyc
+${PYSITELIB}/contourpy/__init__.pyo
+${PYSITELIB}/contourpy/_contourpy.so
+${PYSITELIB}/contourpy/_version.py
+${PYSITELIB}/contourpy/_version.pyc
+${PYSITELIB}/contourpy/_version.pyo
+${PYSITELIB}/contourpy/chunk.py
+${PYSITELIB}/contourpy/chunk.pyc
+${PYSITELIB}/contourpy/chunk.pyo
+${PYSITELIB}/contourpy/enum_util.py
+${PYSITELIB}/contourpy/enum_util.pyc
+${PYSITELIB}/contourpy/enum_util.pyo
+${PYSITELIB}/contourpy/util/__init__.py
+${PYSITELIB}/contourpy/util/__init__.pyc
+${PYSITELIB}/contourpy/util/__init__.pyo
+${PYSITELIB}/contourpy/util/bokeh_renderer.py
+${PYSITELIB}/contourpy/util/bokeh_renderer.pyc
+${PYSITELIB}/contourpy/util/bokeh_renderer.pyo
+${PYSITELIB}/contourpy/util/bokeh_util.py
+${PYSITELIB}/contourpy/util/bokeh_util.pyc
+${PYSITELIB}/contourpy/util/bokeh_util.pyo
+${PYSITELIB}/contourpy/util/data.py
+${PYSITELIB}/contourpy/util/data.pyc
+${PYSITELIB}/contourpy/util/data.pyo
+${PYSITELIB}/contourpy/util/mpl_renderer.py
+${PYSITELIB}/contourpy/util/mpl_renderer.pyc
+${PYSITELIB}/contourpy/util/mpl_renderer.pyo
+${PYSITELIB}/contourpy/util/mpl_util.py
+${PYSITELIB}/contourpy/util/mpl_util.pyc
+${PYSITELIB}/contourpy/util/mpl_util.pyo
diff -r 104846ae499d -r 7b4b0cfa5c40 graphics/py-contourpy/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-contourpy/distinfo    Thu Oct 13 16:01:42 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/10/13 16:01:42 adam Exp $
+
+BLAKE2s (contourpy-1.0.5.tar.gz) = efa1108b8779889144cdcf53516dcef4e11696ab44e6f34e03176cf602d56faf
+SHA512 (contourpy-1.0.5.tar.gz) = 79129c3c193d2e4382c10685316a23cd1859afed9693526c566bbf4aeebcdaa740fdc300ec7ae7382e5abe867beb2a9be5ba37ea0e5360e5ffb173cfa2947615
+Size (contourpy-1.0.5.tar.gz) = 12158872 bytes



Home | Main Index | Thread Index | Old Index