pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-pybind11 py-pybind11: updated to 2.9.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bcd76f7a4110
branches:  trunk
changeset: 371682:bcd76f7a4110
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jan 12 06:46:15 2022 +0000

description:
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).

diffstat:

 devel/py-pybind11/Makefile |  5 ++---
 devel/py-pybind11/distinfo |  8 ++++----
 2 files changed, 6 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r 9d62537c7605 -r bcd76f7a4110 devel/py-pybind11/Makefile
--- a/devel/py-pybind11/Makefile        Wed Jan 12 06:44:45 2022 +0000
+++ b/devel/py-pybind11/Makefile        Wed Jan 12 06:46:15 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2022/01/05 15:41:07 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2022/01/12 06:46:15 adam Exp $
 
-DISTNAME=      pybind11-2.8.1
+DISTNAME=      pybind11-2.9.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pybind11/}
 
diff -r 9d62537c7605 -r bcd76f7a4110 devel/py-pybind11/distinfo
--- a/devel/py-pybind11/distinfo        Wed Jan 12 06:44:45 2022 +0000
+++ b/devel/py-pybind11/distinfo        Wed Jan 12 06:46:15 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2021/10/28 09:09:29 adam Exp $
+$NetBSD: distinfo,v 1.9 2022/01/12 06:46:15 adam Exp $
 
-BLAKE2s (pybind11-2.8.1.tar.gz) = 8be2a11da21a23e39e84eb141df3c1af9b2fd87babc14f6491c8cfe0150c248b
-SHA512 (pybind11-2.8.1.tar.gz) = 7a09a3391f1b827d724e95330b0acb17f7681a621da8cd07afe13d322278d4afa4278d887b5127dc87a7edb5a9b114cf90245b89e29c0a010728d991a5a6e851
-Size (pybind11-2.8.1.tar.gz) = 188273 bytes
+BLAKE2s (pybind11-2.9.0.tar.gz) = 939b9db50fc57a6b5431210596e281e88c125d74808ae390c491714ede373da4
+SHA512 (pybind11-2.9.0.tar.gz) = 7e3dbd879ecb292555650605aad9cbc4a7e1871b1a70c93681c3ce2d16f43830596f262a8e08af654e2e63cbe73c4a24416698aec79fe8662a4d2a5f6f7e19c2
+Size (pybind11-2.9.0.tar.gz) = 190015 bytes



Home | Main Index | Thread Index | Old Index