pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/py-contourpy



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Sun Nov 17 19:51:50 UTC 2024

Modified Files:
        pkgsrc/graphics/py-contourpy: Makefile

Log Message:
py-contourpy: reflect correct minimum py-pybind11 dependency

Separate from what upstream documents in their issue #451, some older
versions of py-pybind11 accepted previously here would result in a
build failure like so:

../src/wrap.cpp:21:54: error: macro "PYBIND11_MODULE" passed 3 arguments, but takes just 2
 PYBIND11_MODULE(_contourpy, m, py::mod_gil_not_used()) {
                                                      ^
../src/wrap.cpp:21:1: error: 'PYBIND11_MODULE' does not name a type
 PYBIND11_MODULE(_contourpy, m, py::mod_gil_not_used()) {
 ^~~~~~~~~~~~~~~


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/graphics/py-contourpy/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/py-contourpy/Makefile
diff -u pkgsrc/graphics/py-contourpy/Makefile:1.13 pkgsrc/graphics/py-contourpy/Makefile:1.14
--- pkgsrc/graphics/py-contourpy/Makefile:1.13  Sun Nov 17 09:31:14 2024
+++ pkgsrc/graphics/py-contourpy/Makefile       Sun Nov 17 19:51:50 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2024/11/17 09:31:14 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2024/11/17 19:51:50 gutteridge Exp $
 
 DISTNAME=      contourpy-1.3.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -25,6 +25,7 @@ BUILDLINK_TRANSFORM+= rm:-Werror
 do-test:
        cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
 
+BUILDLINK_API_DEPENDS.py-pybind11+=    ${PYPKGPREFIX}-pybind11>=2.13.2
 .include "../../devel/py-pybind11/buildlink3.mk"
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../lang/python/wheel.mk"



Home | Main Index | Thread Index | Old Index