git: 9a11161215e6 - main - devel/{,py-}pybind11: update 3.0.4 → 3.1.0
Yuri Victorovich <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.ports |
|---|---|
| Message-ID | <[email protected]> |
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=9a11161215e671014fa69dd1de9a35f30bf03adb commit 9a11161215e671014fa69dd1de9a35f30bf03adb Author: Yuri Victorovich <[email protected]> AuthorDate: 2026-08-07 14:35:20 +0000 Commit: Yuri Victorovich <[email protected]> CommitDate: 2026-08-07 17:18:56 +0000 devel/{,py-}pybind11: update 3.0.4 → 3.1.0 ChangeLog: https://github.com/pybind/pybind11/releases/tag/v3.1.0 --- devel/py-pybind11/Makefile | 14 +++++++++++++- devel/py-pybind11/distinfo | 6 +++--- devel/pybind11/Makefile | 4 ++-- devel/pybind11/distinfo | 6 +++--- devel/pybind11/pkg-plist | 1 + science/py-scipy/Makefile | 3 ++- 6 files changed, 24 insertions(+), 10 deletions(-) diff --git a/devel/py-pybind11/Makefile b/devel/py-pybind11/Makefile index 35f31a599027..fbe3088fb65a 100644 --- a/devel/py-pybind11/Makefile +++ b/devel/py-pybind11/Makefile @@ -1,5 +1,5 @@ PORTNAME= pybind11 -DISTVERSION= 3.0.4 +DISTVERSION= 3.1.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,10 +13,22 @@ LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scikit-build-core>0:devel/py-scikit-build-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=7,1:devel/py-pytest@${PY_FLAVOR} \ + cmake:devel/cmake USES= cmake:indirect python USE_PYTHON= pep517 concurrent autoplist pytest +TEST_ENV= ${MAKE_ENV} \ + PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}:${WRKSRC}/build/tests + NO_ARCH= yes +do-test: + @cd ${WRKSRC} && \ + ${SETENV} ${TEST_ENV} cmake -S . -B build -D PYBIND11_TEST=ON && \ + ${SETENV} ${TEST_ENV} cmake --build build --target pytest + +# tests as of 3.1.0: 1319 passed, 26 skipped, 3 xfailed, 1 xpassed in 14.95s + .include <bsd.port.mk> diff --git a/devel/py-pybind11/distinfo b/devel/py-pybind11/distinfo index aacdf356cff4..c486cb74ec7b 100644 --- a/devel/py-pybind11/distinfo +++ b/devel/py-pybind11/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1776582500 -SHA256 (pybind11-3.0.4.tar.gz) = 3286b59c8a774b9ee650169302dd5a4eedc30a8617905a0560dd8ee44775130c -SIZE (pybind11-3.0.4.tar.gz) = 589533 +TIMESTAMP = 1786082923 +SHA256 (pybind11-3.1.0.tar.gz) = a1cc06b524ab3edca51f8ad3895f9c4fa20b8b19283173dff4ae781449dc9639 +SIZE (pybind11-3.1.0.tar.gz) = 603746 diff --git a/devel/pybind11/Makefile b/devel/pybind11/Makefile index 278e34d7e23f..97bf7363891c 100644 --- a/devel/pybind11/Makefile +++ b/devel/pybind11/Makefile @@ -1,6 +1,6 @@ PORTNAME= pybind11 DISTVERSIONPREFIX= v -DISTVERSION= 3.0.4 +DISTVERSION= 3.1.0 CATEGORIES= devel python MAINTAINER= [email protected] @@ -26,6 +26,6 @@ CMAKE_TESTING_TARGET= pytest NO_ARCH= yes -# tests as of 3.0.4: 1291 passed, 27 skipped, 3 xfailed, 1 xpassed in 22.92s +# tests as of 3.1.0: 1319 passed, 26 skipped, 3 xfailed, 1 xpassed in 21.73s .include <bsd.port.mk> diff --git a/devel/pybind11/distinfo b/devel/pybind11/distinfo index 7b7649b13dc1..3e8f89d3addf 100644 --- a/devel/pybind11/distinfo +++ b/devel/pybind11/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1776579996 -SHA256 (pybind-pybind11-v3.0.4_GH0.tar.gz) = 74b6a2c2b4573a400cafb6ecbf60c98df300cd3d0041296b913d02b2cbbb2676 -SIZE (pybind-pybind11-v3.0.4_GH0.tar.gz) = 966373 +TIMESTAMP = 1786082323 +SHA256 (pybind-pybind11-v3.1.0_GH0.tar.gz) = ef712655692a2e9bf7bb7874c022564a45f91d847ddee987e720cd9e28849665 +SIZE (pybind-pybind11-v3.1.0_GH0.tar.gz) = 984694 diff --git a/devel/pybind11/pkg-plist b/devel/pybind11/pkg-plist index 02c7f0c45711..ebc2634c2e12 100644 --- a/devel/pybind11/pkg-plist +++ b/devel/pybind11/pkg-plist @@ -17,6 +17,7 @@ include/pybind11/detail/descr.h include/pybind11/detail/dynamic_raw_ptr_cast_if_possible.h include/pybind11/detail/exception_translation.h include/pybind11/detail/function_record_pyobject.h +include/pybind11/detail/function_ref.h include/pybind11/detail/holder_caster_foreign_helpers.h include/pybind11/detail/init.h include/pybind11/detail/internals.h diff --git a/science/py-scipy/Makefile b/science/py-scipy/Makefile index 75dbe9bf6106..418b1aabf351 100644 --- a/science/py-scipy/Makefile +++ b/science/py-scipy/Makefile @@ -1,6 +1,6 @@ PORTNAME= scipy DISTVERSION= 1.17.1 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= science python MASTER_SITES= https://docs.scipy.org/doc/${PORTNAME}-1.17.0/:doc \ @@ -83,6 +83,7 @@ post-patch: @${REINPLACE_CMD} -e 's|pythran>=0.14.0,<0.19.0|pythran>=0.14.0|' \ -e 's|Cython>=3.0.8,<3.3.0|Cython>=3.0.8|' \ -e 's|numpy>=2.0.0|numpy>=1.26.4|g' \ + -e 's|pybind11>=2.13.2,<3.1.0|pybind11>=2.13.2|g' \ ${WRKSRC}/pyproject.toml @${REINPLACE_CMD} -e "s|'boost', version : '1.89.0'|'boost'|g" \ ${WRKSRC}/meson.build