Path to this page:
Subject: CVS commit: pkgsrc/devel
From: Adam Ciarcinski
Date: 2019-01-08 13:08:47
Message id: 20190108120848.A9620FB16@cvs.NetBSD.org
Log Message:
py-pyobjc: updated to 5.1.2
Version 5.1.2
Fix compile error on macOS 10.9 or earlier
Calling completion handler failed due to incomplete runtime info
PyObjC’s metadata system didn’t automaticly set the call signature for \
blocks passed into a method implemented in Python. This causes problems when the \
ObjC or Swift block does not have signature information in the ObjC/blocks \
runtime.
Use MAP_JIT when allocating memory for the executable stubs for Python methods.
With the “restricted” runtime you’ll have to add the \
“com.apple.security.cs.allow-jit” entitlement to use this flag, in earlier \
versions you’d have to use a different entitlement: \
“com.apple.security.cs.allow-unsigned-executable-memory”.
The MAP_JIT flag is only used on macOS 10.14 or later.
Ensure that PyObjC can be built using /usr/bin/python on macOS 10.14
This failed due the problems with header files in the SDK included with Xcode 10.
Version 5.1.1
Update metadata for Xcode 10.1
Version 5.1
Xcode 10 “GM” contains one difference from the last beta: the constant \
MLComputeUnitsCPUAndGPU in the CoreML bindings.
Add a proxy for C’s “FILE*” type on Python 3. This is not necessary on \
Python 2 because the default IO stack on Python 2 already uses FILE* internally.
This proxy type is very minimal and shouldn’t not be used for general I/O.
Bindings are up-to-date w.r.t. Xcode 10.1 (beta)
Updated the support code for framework wrappers to be able to emit deprecation \
warnings on the first import of a deprecated constants (functions and methods \
will only raise a deprecation warning when called).
This is just an infrastructure change, the actual framework bindings do not yet \
contain the information used to emit deprecation warnings.
Add metadata for deprecation warnings to the “Contacts” framework
Import ABCs from collections.abc instead of collections because the latter is \
deprecated.
Instances of most builtin value types and sequences (int, float, str, unicode, \
tuple, list, set, frozenset and dict) can now be written to archives that \
require secureCoding.
Version 5.0
Version 5.0 of PyObjC primarily adds support for macOS 10.14 (mojave), and also \
adds support for a couple of older frameworks that weren’t supported before.
Files: