<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/02a8a7a86c7b29145871894ef83547a4cc7f3495">https://github.com/macports/macports-ports/commit/02a8a7a86c7b29145871894ef83547a4cc7f3495</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new 02a8a7a86c7 py-pyside2: update to 5.15.3, add py310, remove py27
</span>02a8a7a86c7 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 02a8a7a86c7b29145871894ef83547a4cc7f3495
</span>Author: Antoine Beyeler <abeyeler@ab-ware.com>
AuthorDate: Sat Apr 9 12:57:09 2022 +0200

<span style='display:block; white-space:pre;color:#404040;'>    py-pyside2: update to 5.15.3, add py310, remove py27
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    - updated to 5.15.3
</span><span style='display:block; white-space:pre;color:#404040;'>    - added py310
</span><span style='display:block; white-space:pre;color:#404040;'>    - removed py27
</span><span style='display:block; white-space:pre;color:#404040;'>    - added a patch related to _Py_Mangle missing in the 5.15.3 source archive
</span><span style='display:block; white-space:pre;color:#404040;'>    - suppressed `ifconfig` directives from shiboken2 documentation which were generating an error
</span>---
 python/py-pyside2/Portfile                        | 20 ++++++++++++++------
 python/py-pyside2/files/patch-py-mangle.diff      | 18 ++++++++++++++++++
 python/py-pyside2/files/patch-shiboken2-docs.diff | 17 +++++++++++++++++
 3 files changed, 49 insertions(+), 6 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pyside2/Portfile b/python/py-pyside2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f33f5add3aa..e32c692a757 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-pyside2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-pyside2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,8 +4,8 @@ PortSystem              1.0
</span> PortGroup               python 1.0
 
 name                    py-pyside2
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version                 5.15.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision                1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version                 5.15.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision                0
</span> categories-append       devel aqua
 platforms               darwin
 maintainers             {pmetzger @pmetzger} {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,17 +18,25 @@ master_sites            https://download.qt.io/official_releases/QtForPython/pys
</span> distname                pyside-setup-opensource-src-${version}
 use_xz                  yes
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums               rmd160  09c0517e0fe07722e799a32c0248cd7bf8b3a581 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        sha256  b306504b0b8037079a8eab772ee774b9e877a2d84bab2dbefbe4fa6f83941418 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        size    3472624
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums               rmd160  e47a57c7d372862a286c7f1fa362896bff2e3b41 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        sha256  7ff5f1cc4291fffb6d5a3098b3090abe4d415da2adec740b4e901893d95d7137 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        size    3572248
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions         27 36 37 38 39
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions         36 37 38 39 310
</span> 
 set llvm_version        13
 
 if {${name} ne ${subport}} {
     PortGroup           qt5 1.0
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    # fix error related to _Py_Mangle, which was half-patched in this version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # see: https://bugzilla.redhat.com/show_bug.cgi?id=1990768#c9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    patchfiles-append   patch-py-mangle.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # fix error with shiboken2 doc building
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    patchfiles-append   patch-shiboken2-docs.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>     # see https://trac.macports.org/ticket/62135#comment:4
     qt5.min_version     5.12
 
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pyside2/files/patch-py-mangle.diff b/python/py-pyside2/files/patch-py-mangle.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..e05d533ac83
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-pyside2/files/patch-py-mangle.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,18 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- sources/shiboken2/libshiboken/pep384impl.cpp   2022-03-16 09:18:06.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ sources/shiboken2/libshiboken/pep384impl.cpp.patched   2022-03-16 09:17:41.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -751,9 +751,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif // IS_PY2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     Shiboken::AutoDecRef privateobj(PyObject_GetAttr(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+         reinterpret_cast<PyObject *>(Py_TYPE(self)), Shiboken::PyMagicName::name()));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifndef Py_LIMITED_API
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-    return _Py_Mangle(privateobj, name);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     // PYSIDE-1436: _Py_Mangle is no longer exposed; implement it always.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     // The rest of this function is our own implementation of _Py_Mangle.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     // Please compare the original function in compile.c .
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -789,7 +786,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     if (amount > big_stack)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+         free(resbuf);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     return result;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#endif // else Py_LIMITED_API
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pyside2/files/patch-shiboken2-docs.diff b/python/py-pyside2/files/patch-shiboken2-docs.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..0d787a8a8f7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-pyside2/files/patch-shiboken2-docs.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,17 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- sources/shiboken2/doc/index.rst        2022-01-05 14:26:23.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ sources/shiboken2/doc/index.rst.patch  2022-03-16 09:44:13.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,13 +1,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Shiboken
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ********
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-.. ifconfig:: output_format == 'html'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-   Shiboken is a fundamental piece on the `Qt for Python <../index.html>`__ project that serves two purposes:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-.. ifconfig:: output_format == 'qthelp'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-   Shiboken is a fundamental piece on the `Qt for Python <../pyside2/index.html>`__ project that serves two purposes:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++Shiboken is a fundamental piece on the `Qt for Python <../pyside2/index.html>`__ project that serves two purposes:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * Generator_: Extract information from C or C++ headers and generate CPython_ code that allow
</span></pre><pre style='margin:0'>

</pre>