<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ea255aa17c86e53660786e00d46cd164feae49a9">https://github.com/macports/macports-ports/commit/ea255aa17c86e53660786e00d46cd164feae49a9</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 ea255aa17c8 Revert "py-pyobjc: update to 9.0, add py311 subport"
</span>ea255aa17c8 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit ea255aa17c86e53660786e00d46cd164feae49a9
</span>Author: Marius Schamschula <mschamschula@gmail.com>
AuthorDate: Fri Dec 16 16:31:45 2022 -0600
<span style='display:block; white-space:pre;color:#404040;'> Revert "py-pyobjc: update to 9.0, add py311 subport"
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> It seems this only version works on only arm for the moment.
</span><span style='display:block; white-space:pre;color:#404040;'> This reverts commit 09d2d77fa4aa0d74ee3ba6052e86512c02c2d174.
</span>---
python/py-pyobjc/Portfile | 14 +++++++-----
.../files/patch-pyobjc-core-setup.py.diff | 9 ++++++++
python/py-pyobjc/files/patch-setup-no-werror.diff | 26 ++++++++++++++++++++++
3 files changed, 43 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pyobjc/Portfile b/python/py-pyobjc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ba50da1a101..ee9da99eaab 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-pyobjc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-pyobjc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,12 +4,12 @@ PortSystem 1.0
</span> PortGroup python 1.0
PortGroup github 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup ronaldoussoren pyobjc 9.0 v
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup ronaldoussoren pyobjc 8.4.1 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 85d5f97a5c1d4d591fcf7cf6b33720a5acfd0f5e \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 cc5c3c55918a1c6d3fb88c8c9ff3725caca651e7a129aa965d5d2bb39fc8ebb3 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 19432932
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 399060a17e7cf7f13c12288ddf7ffe9c50c9fb94 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 d367b3a5c0e00e7f6ae830fa505dce2bb5148aa061ad182e5b868a009ddfb003 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 17942440
</span>
name py-pyobjc
categories-append devel
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,7 +27,7 @@ long_description The PyObjC project aims to provide a bridge between \
</span> Python based functionality.
homepage https://pyobjc.readthedocs.io
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 37 38 39 310 311
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 37 38 39 310
</span>
if {${os.major} < 10} {
depends_lib
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -108,6 +108,8 @@ if {${os.major} < 10} {
</span> ${destroot}${prefix}/share/doc/${subport}
copy ${worksrcpath}/docs/_build/html ${destroot}${prefix}/share/doc/${subport}/html
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.type none
</span> }
# # suppress release candidates
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pyobjc/files/patch-pyobjc-core-setup.py.diff b/python/py-pyobjc/files/patch-pyobjc-core-setup.py.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index d464df532a7..39f28d39082 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-pyobjc/files/patch-pyobjc-core-setup.py.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-pyobjc/files/patch-pyobjc-core-setup.py.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,3 +26,12 @@ diff --git pyobjc-core/setup.py pyobjc-core/setup.py
</span>
# XXX: bug in CPython 3.4 repository leaks unwanted compiler flag into distutils.
<span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -504,7 +504,7 @@ def _fixup_compiler(use_ccache):
</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;'>+ class oc_build_ext(build_ext.build_ext):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- user_options = [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ user_options = build_ext.build_ext.user_options + [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ (
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "deployment-target=",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ None,
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pyobjc/files/patch-setup-no-werror.diff b/python/py-pyobjc/files/patch-setup-no-werror.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index d8167c556e9..8f4d9b85d1e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-pyobjc/files/patch-setup-no-werror.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-pyobjc/files/patch-setup-no-werror.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1082,6 +1082,19 @@ diff --git pyobjc-framework-MediaToolbox/pyobjc_setup.py pyobjc-framework-MediaT
</span> if os_level == "10.4":
cflags.append("-DNO_OBJC2_RUNTIME")
<span style='display:block; white-space:pre;background:#e0ffe0;'>+- if "-Werror" not in cflags:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- cflags.append("-Werror")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if "extra_compile_args" in kwds:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ kwds["extra_compile_args"] = kwds["extra_compile_args"] + cflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git pyobjc-framework-Message/pyobjc_setup.py pyobjc-framework-Message/pyobjc_setup.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- pyobjc-framework-Message/pyobjc_setup.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ pyobjc-framework-Message/pyobjc_setup.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -491,9 +491,6 @@ def Extension(*args, **kwds):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if os_level == "10.4":
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cflags.append("-DNO_OBJC2_RUNTIME")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> - if "-Werror" not in cflags:
- cflags.append("-Werror")
-
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1537,6 +1550,19 @@ diff --git pyobjc-framework-SecurityInterface/pyobjc_setup.py pyobjc-framework-S
</span> if os_level == "10.4":
cflags.append("-DNO_OBJC2_RUNTIME")
<span style='display:block; white-space:pre;background:#e0ffe0;'>+- if "-Werror" not in cflags:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- cflags.append("-Werror")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if "extra_compile_args" in kwds:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ kwds["extra_compile_args"] = kwds["extra_compile_args"] + cflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git pyobjc-framework-ServerNotification/pyobjc_setup.py pyobjc-framework-ServerNotification/pyobjc_setup.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- pyobjc-framework-ServerNotification/pyobjc_setup.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ pyobjc-framework-ServerNotification/pyobjc_setup.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -491,9 +491,6 @@ def Extension(*args, **kwds):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if os_level == "10.4":
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cflags.append("-DNO_OBJC2_RUNTIME")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> - if "-Werror" not in cflags:
- cflags.append("-Werror")
-
</pre><pre style='margin:0'>
</pre>