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.8.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dac2af7119b4
branches:  trunk
changeset: 768626:dac2af7119b4
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Oct 28 09:09:29 2021 +0000

description:
py-pybind11: updated to 2.8.1

v2.8.1 (Oct 27, 2021)

Changes and additions:

The simple namespace creation shortcut added in 2.8.0 was deprecated due to usage of CPython internal API, and will be removed soon. Use py::module_::import("types").attr("SimpleNamespace").
Add C++ Exception type to throw and catch AttributeError. Useful for defining custom __setattr__ and __getattr__ methods.

Fixes:

Fixed the potential for dangling references when using properties with std::optional types.
Modernize usage of PyCodeObject on Python 3.9+ (moving toward support for Python 3.11a1)
A long-standing bug in eigen.h was fixed. The bug was unmasked by newly added static_assert's in the Eigen 3.4.0 release.
Support multiple raw inc…

diffstat:

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

diffs (25 lines):

diff -r 0fae36574cc9 -r dac2af7119b4 devel/py-pybind11/Makefile
--- a/devel/py-pybind11/Makefile        Thu Oct 28 09:07:20 2021 +0000
+++ b/devel/py-pybind11/Makefile        Thu Oct 28 09:09:29 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2021/10/11 17:47:18 adam Exp $
+# $NetBSD: Makefile,v 1.6 2021/10/28 09:09:29 adam Exp $
 
-DISTNAME=      pybind11-2.8.0
+DISTNAME=      pybind11-2.8.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pybind11/}
diff -r 0fae36574cc9 -r dac2af7119b4 devel/py-pybind11/distinfo
--- a/devel/py-pybind11/distinfo        Thu Oct 28 09:07:20 2021 +0000
+++ b/devel/py-pybind11/distinfo        Thu Oct 28 09:09:29 2021 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2021/10/26 10:18:47 nia Exp $
+$NetBSD: distinfo,v 1.8 2021/10/28 09:09:29 adam Exp $
 
-BLAKE2s (pybind11-2.8.0.tar.gz) = fa4fcc0a4f23b4f8ea178ad2c50ae39754aab9f040bd8d6b08871fcae516ca7d
-SHA512 (pybind11-2.8.0.tar.gz) = b6b83efa73282157ee43027256602e7d1002eda7e5c5f48c10dbe64ea9a81e5b7d7b9cc45daab6e2f6b852e33fa917a72a3e6747f4e6c2eb110d77098f8c45b4
-Size (pybind11-2.8.0.tar.gz) = 187409 bytes
+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


Home | Main Index | Thread Index | Old Index