Wed Jan 12 06:46:15 2022 UTC ()
py-pybind11: updated to 2.9.0

Version 2.9.0
This is the last version to support Python 2.7 and 3.5.

New Features:

Allow py::args to be followed by other arguments; the remaining arguments are implicitly keyword-only, as if a py::kw_only{} annotation had been used.

Changes:

Make str/bytes/memoryview more interoperable with std::string_view.
Replace _ with const_name in internals, avoid defining pybind::_ if _ defined as macro (common gettext usage)

Bug fixes:

Fix a rare warning about extra copy in an Eigen constructor.
Fix caching of the C++ overrides.
Add missing std::forward calls to some cpp_function overloads.
Support PyPy 7.3.7 and the PyPy3.8 beta. Test python-3.11 on PRs with the python dev label.
Replace usage of deprecated Eigen::MappedSparseMatrix with Eigen::Map<Eigen::SparseMatrix<...>> for Eigen 3.3+.
Tweaks to support Microsoft Visual Studio 2022.

Build system improvements:

Nicer CMake printout and IDE organisation for pybind11's own tests.
CMake: report version type as part of the version string to avoid a spurious space in the package status message.
Flags starting with -g in $CFLAGS and $CPPFLAGS are no longer overridden by .Pybind11Extension.
Ensure ThreadPool is closed in setup_helpers.
Avoid LTS on mips64 and ppc64le (reported broken).


(adam)
diff -r1.8 -r1.9 pkgsrc/devel/py-pybind11/Makefile
diff -r1.8 -r1.9 pkgsrc/devel/py-pybind11/distinfo

cvs diff -r1.8 -r1.9 pkgsrc/devel/py-pybind11/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-pybind11/Makefile 2022/01/05 15:41:07 1.8
+++ pkgsrc/devel/py-pybind11/Makefile 2022/01/12 06:46:15 1.9
@@ -1,18 +1,17 @@ @@ -1,18 +1,17 @@
1# $NetBSD: Makefile,v 1.8 2022/01/05 15:41:07 wiz Exp $ 1# $NetBSD: Makefile,v 1.9 2022/01/12 06:46:15 adam Exp $
2 2
3DISTNAME= pybind11-2.8.1 3DISTNAME= pybind11-2.9.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5PKGREVISION= 2 
6CATEGORIES= devel python 5CATEGORIES= devel python
7MASTER_SITES= ${MASTER_SITE_PYPI:=p/pybind11/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=p/pybind11/}
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://github.com/pybind/pybind11 9HOMEPAGE= https://github.com/pybind/pybind11
11COMMENT= Seamless operability between C++11 and Python 10COMMENT= Seamless operability between C++11 and Python
12LICENSE= modified-bsd 11LICENSE= modified-bsd
13 12
14USE_LANGUAGES= # none 13USE_LANGUAGES= # none
15 14
16PYTHON_SELF_CONFLICT= yes 15PYTHON_SELF_CONFLICT= yes
17 16
18USE_PKG_RESOURCES= yes 17USE_PKG_RESOURCES= yes

cvs diff -r1.8 -r1.9 pkgsrc/devel/py-pybind11/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-pybind11/distinfo 2021/10/28 09:09:29 1.8
+++ pkgsrc/devel/py-pybind11/distinfo 2022/01/12 06:46:15 1.9
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.8 2021/10/28 09:09:29 adam Exp $ 1$NetBSD: distinfo,v 1.9 2022/01/12 06:46:15 adam Exp $
2 2
3BLAKE2s (pybind11-2.8.1.tar.gz) = 8be2a11da21a23e39e84eb141df3c1af9b2fd87babc14f6491c8cfe0150c248b 3BLAKE2s (pybind11-2.9.0.tar.gz) = 939b9db50fc57a6b5431210596e281e88c125d74808ae390c491714ede373da4
4SHA512 (pybind11-2.8.1.tar.gz) = 7a09a3391f1b827d724e95330b0acb17f7681a621da8cd07afe13d322278d4afa4278d887b5127dc87a7edb5a9b114cf90245b89e29c0a010728d991a5a6e851 4SHA512 (pybind11-2.9.0.tar.gz) = 7e3dbd879ecb292555650605aad9cbc4a7e1871b1a70c93681c3ce2d16f43830596f262a8e08af654e2e63cbe73c4a24416698aec79fe8662a4d2a5f6f7e19c2
5Size (pybind11-2.8.1.tar.gz) = 188273 bytes 5Size (pybind11-2.9.0.tar.gz) = 190015 bytes