<pre style='margin:0'>
Dan Villiom Podlaski Christiansen (danchr) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/fe54f1efd433a461af0141b945e794e589398271">https://github.com/macports/macports-ports/commit/fe54f1efd433a461af0141b945e794e589398271</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 fe54f1efd43 py-pyobjc: make build more lenient on older OSes, but drop 10.6
</span>fe54f1efd43 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit fe54f1efd433a461af0141b945e794e589398271
</span>Author: Dan Villiom Podlaski Christiansen <danchr@macports.org>
AuthorDate: Sun Jun 13 19:47:10 2021 +0200
<span style='display:block; white-space:pre;color:#404040;'> py-pyobjc: make build more lenient on older OSes, but drop 10.6
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> The core module currently doesn't build on 10.6, so there's no point
</span><span style='display:block; white-space:pre;color:#404040;'> in trying to offer the port.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/63084
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> (Hopefully.)
</span>---
python/py-pyobjc/Portfile | 29 ++++++++++++++++++-----------
1 file changed, 18 insertions(+), 11 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 268637a7ca1..7051f02a4f0 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;'>@@ -5,7 +5,7 @@ PortGroup python 1.0
</span> PortGroup github 1.0
github.setup ronaldoussoren pyobjc 7.3 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span>
checksums rmd160 31d8aa7291bb396f60541e8e2376d19dbf84619c \
sha256 64a35c96b27dfb106b918d5c2a5e5a2c07478e89e5a4f09e8298873c76be3441 \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16,6 +16,7 @@ categories-append devel
</span> license MIT
maintainers openmaintainer {danchr @danchr}
platforms darwin
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> description bidirectional bridge between python and Objective C
long_description The PyObjC project aims to provide a bridge between \
the Python and Objective-C programming languages. The \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,7 +29,15 @@ homepage https://pyobjc.readthedocs.io
</span>
python.versions 36 37 38 39
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${name} ne ${subport}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.major} < 10} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "${subport} @${version} requires Mac OS X 10.7 or later"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "incompatible Mac OS X version"
</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;'>+} elseif {${name} ne ${subport}} {
</span> depends_lib-append \
port:py${python.version}-setuptools
depends_build port:py${python.version}-sphinx
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -39,7 +48,6 @@ if {${name} ne ${subport}} {
</span> patchfiles-append \
pr-367.diff \
patch-docs-conf.py.diff \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-install.py.diff \
</span> patch-pyobjc-core-setup.py.diff \
patch-setup-no-werror.diff \
patch-setup-macosx11.diff \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -51,6 +59,13 @@ if {${name} ne ${subport}} {
</span> if {${os.major} < 19} {
depends_lib-append \
port:libffi
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # this patch causes the build to fail hard should any module
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # fail to build, rather than just stop; as this is currently
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the case for many older systems, restrict it to recent
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # platforms
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-install.py.diff
</span> }
post-patch {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -88,14 +103,6 @@ if {${name} ne ${subport}} {
</span> build.env-append SDKROOT=${sdkroot}
destroot.env-append SDKROOT=${sdkroot}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- platform darwin 8 {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- pre-fetch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_error "${subport} @${version} requires Mac OS X 10.5 or later"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return -code error "incompatible Mac OS X version"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # build the documentation
post-build {
system -W ${worksrcpath}/docs "make -j${build.jobs} html"
</pre><pre style='margin:0'>
</pre>