diff options
| -rw-r--r-- | dev-libs/boost/boost-1.88.0-r1.ebuild | 1 | ||||
| -rw-r--r-- | dev-libs/boost/boost-1.89.0.ebuild | 1 | ||||
| -rw-r--r-- | dev-libs/boost/files/boost-1.88.0-py3.11-test-traceback.patch | 33 |
3 files changed, 35 insertions, 0 deletions
diff --git a/dev-libs/boost/boost-1.88.0-r1.ebuild b/dev-libs/boost/boost-1.88.0-r1.ebuild index 03a177d0905b..ee43fe15305e 100644 --- a/dev-libs/boost/boost-1.88.0-r1.ebuild +++ b/dev-libs/boost/boost-1.88.0-r1.ebuild @@ -53,6 +53,7 @@ PATCHES=( "${FILESDIR}"/${PN}-1.88.0-beast-network-sandbox.patch "${FILESDIR}"/${PN}-1.88.0-bind-no-Werror.patch "${FILESDIR}"/${PN}-1.88.0-mysql-cstdint.patch + "${FILESDIR}"/${PN}-1.88.0-py3.11-test-traceback.patch "${FILESDIR}"/${PN}-1.88.0-range-any_iterator.patch "${FILESDIR}"/${PN}-1.88.0-system-crashing-test.patch "${FILESDIR}"/${PN}-1.88.0-yap-cstdint.patch diff --git a/dev-libs/boost/boost-1.89.0.ebuild b/dev-libs/boost/boost-1.89.0.ebuild index 23fea41c554a..ac46fd9ada9f 100644 --- a/dev-libs/boost/boost-1.89.0.ebuild +++ b/dev-libs/boost/boost-1.89.0.ebuild @@ -51,6 +51,7 @@ PATCHES=( "${FILESDIR}"/${PN}-1.88.0-algorithm-reverse_copy.patch "${FILESDIR}"/${PN}-1.88.0-beast-network-sandbox.patch "${FILESDIR}"/${PN}-1.88.0-bind-no-Werror.patch + "${FILESDIR}"/${PN}-1.88.0-py3.11-test-traceback.patch "${FILESDIR}"/${PN}-1.88.0-range-any_iterator.patch "${FILESDIR}"/${PN}-1.88.0-system-crashing-test.patch "${FILESDIR}"/${PN}-1.88.0-yap-cstdint.patch diff --git a/dev-libs/boost/files/boost-1.88.0-py3.11-test-traceback.patch b/dev-libs/boost/files/boost-1.88.0-py3.11-test-traceback.patch new file mode 100644 index 000000000000..dbb557f9b039 --- /dev/null +++ b/dev-libs/boost/files/boost-1.88.0-py3.11-test-traceback.patch @@ -0,0 +1,33 @@ +https://github.com/boostorg/python/pull/481 +paths fixed for monolithic build + +From aa458d2ca959bc93ff78e0d39eae9eb17e05cbf6 Mon Sep 17 00:00:00 2001 +From: Eisuke Kawashima <e-kwsm@users.noreply.github.com> +Date: Mon, 31 Mar 2025 19:54:55 +0900 +Subject: [PATCH] fix(test.properties): use doctest.ELLIPSIS for traceback + +Since python 3.11 (PEP 657) traceback info is changed +fix #460 +--- + test/properties.py | 7 +++---- + 1 file changed, 3 insertions(+), 4 deletions(-) + +diff --git a/libs/python/test/properties.py b/libs/python/test/properties.py +index 88374b410..e95d59bef 100644 +--- a/libs/python/test/properties.py ++++ b/libs/python/test/properties.py +@@ -56,11 +56,10 @@ class instance count from object: + 1 + + as expected you can't assign new value to read only property +->>> x1.value_r = 2 ++>>> x1.value_r = 2 # doctest: +ELLIPSIS + Traceback (most recent call last): +- File "properties.py", line 49, in ? +- x1.value_r = 2 +-AttributeError: can't set attribute ++ ... ++AttributeError: ... + + setting value_rw to 2. value_direct: + >>> x1.value_rw = 2 |
