Subject: CVS commit: pkgsrc/devel
From: Adam Ciarcinski
Date: 2024-04-02 19:26:02
Message id: 20240402172604.21FF3FA2C@cvs.NetBSD.org

Log Message:
py-pyobjc*: updated to 10.2

Version 10.2
Fix a number of warnings found by adding -Wpendantic to the CFLAGS for pyobjc-core

Fix undefined behaviour warnings:

Suppress the undefined behaviour warning about out of range values in double to \ 
(unsigned) long long in the OC_PythonNumber implementation as these are \ 
unavoidable when matching NSNumber behaviour.
Switch to using memcpy instead of direct assignment in converting plain C values \ 
to/from Python because “packed” structs might result in accessing values \ 
through unaligned pointers.
Updated bindings for the macOS 14.4 SDK (Xcode 15.3)

Added bindings for the “BrowserEngineKit” framework on macOS 14.4 or later.

Add obj.registerPathType() to register a Python type as a path like type with \ 
PyObjC. By default only pathlib.Path is registered as such.

A minor backward compatibility issue is that instances of the registered types \ 
will be written to NSArchive and NSKeyArchive archives as instances of NSURL and \ 
won’t roundtrip back to the original Python type. This might change in future \ 
versions of PyObjC, at least for pathlib.Path.

Instances of pathlib.Path (and other types registered with \ 
objc.registerPathType) are bridged into Objective-C as instances of NSURL.

This means that these types can be used as values passed to APIs expecting a \ 
filesystem URL, e.g.:

```python

path = pathlib.Path(“/Applications/Numbers.app”) bundle = \ 
NSBundle.bundleWithURL_(path) ```

Fix some warnings in pyobjc-core when testing with Python 3.13a4.

Add support for NSBezierPathElementQuadraticCurveTo in \ 
NSBezierPath.elementAtIndex_associatedPoints_.

Fix compilation error in pyobjc-framework-Cocoa with a recent deployment target.

Files:
RevisionActionfile
1.19modifypkgsrc/devel/py-pyobjc/Makefile.common
1.20modifypkgsrc/devel/py-pyobjc-core/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-AVFoundation/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-AVKit/distinfo
1.5modifypkgsrc/devel/py-pyobjc-framework-AVRouting/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-Accessibility/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-Accounts/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-AdServices/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-AdSupport/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-AddressBook/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-AppTrackingTransparency/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-AppleScriptKit/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-AppleScriptObjC/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-ApplicationServices/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-AudioVideoBridging/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-AuthenticationServices/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-AutomaticAssessmentConfiguration/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-Automator/distinfo
1.4modifypkgsrc/devel/py-pyobjc-framework-BackgroundAssets/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-BusinessChat/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-CFNetwork/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-CalendarStore/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-CallKit/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-ClassKit/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-CloudKit/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-Cocoa/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-Collaboration/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-ColorSync/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-Contacts/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-ContactsUI/distinfo
1.11modifypkgsrc/devel/py-pyobjc-framework-CoreAudio/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-CoreAudioKit/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-CoreBluetooth/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-CoreData/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-CoreHaptics/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-CoreLocation/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-CoreMIDI/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-CoreML/distinfo
1.11modifypkgsrc/devel/py-pyobjc-framework-CoreMedia/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-CoreMediaIO/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-CoreMotion/distinfo
1.14modifypkgsrc/devel/py-pyobjc-framework-CoreServices/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-CoreSpotlight/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-CoreText/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-CoreWLAN/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-CryptoTokenKit/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-DVDPlayback/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-DataDetection/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-DeviceCheck/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-DictionaryServices/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-DiscRecording/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-DiscRecordingUI/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-DiskArbitration/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-EventKit/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-ExceptionHandling/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-ExecutionPolicy/distinfo
1.4modifypkgsrc/devel/py-pyobjc-framework-ExtensionKit/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-ExternalAccessory/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-FSEvents/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-FileProvider/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-FileProviderUI/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-FinderSync/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-GameCenter/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-GameController/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-GameKit/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-GameplayKit/distinfo
1.4modifypkgsrc/devel/py-pyobjc-framework-HealthKit/distinfo
1.4modifypkgsrc/devel/py-pyobjc-framework-IOBluetooth/distinfo
1.4modifypkgsrc/devel/py-pyobjc-framework-IOBluetoothUI/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-IOSurface/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-ImageCaptureCore/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-InputMethodKit/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-InstallerPlugins/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-InstantMessage/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-Intents/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-IntentsUI/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-KernelManagement/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-LatentSemanticMapping/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-LaunchServices/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-LinkPresentation/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-LocalAuthentication/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-LocalAuthenticationEmbeddedUI/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-MLCompute/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-MailKit/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-MapKit/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-MediaAccessibility/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-MediaLibrary/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-MediaPlayer/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-MediaToolbox/distinfo
1.11modifypkgsrc/devel/py-pyobjc-framework-Metal/distinfo
1.4modifypkgsrc/devel/py-pyobjc-framework-MetalFX/distinfo
1.12modifypkgsrc/devel/py-pyobjc-framework-MetalKit/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-MetalPerformanceShaders/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-MetalPerformanceShadersGraph/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-MetricKit/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-ModelIO/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-MultipeerConnectivity/distinfo
1.11modifypkgsrc/devel/py-pyobjc-framework-NaturalLanguage/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-NetFS/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-Network/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-NetworkExtension/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-NotificationCenter/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-OSAKit/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-OSLog/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-OpenDirectory/distinfo
1.4modifypkgsrc/devel/py-pyobjc-framework-PHASE/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-PassKit/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-PencilKit/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-Photos/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-PhotosUI/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-PreferencePanes/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-PushKit/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-Quartz/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-QuickLookThumbnailing/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-ReplayKit/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-SafariServices/distinfo
1.4modifypkgsrc/devel/py-pyobjc-framework-SafetyKit/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-SceneKit/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-ScreenCaptureKit/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-ScreenSaver/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-ScreenTime/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-ScriptingBridge/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-SearchKit/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-Security/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-SecurityFoundation/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-SecurityInterface/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-ServiceManagement/distinfo
1.4modifypkgsrc/devel/py-pyobjc-framework-SharedWithYou/distinfo
1.4modifypkgsrc/devel/py-pyobjc-framework-SharedWithYouCore/distinfo
1.4modifypkgsrc/devel/py-pyobjc-framework-ShazamKit/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-Social/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-SoundAnalysis/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-Speech/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-SpriteKit/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-StoreKit/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-SyncServices/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-SystemConfiguration/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-SystemExtensions/distinfo
1.4modifypkgsrc/devel/py-pyobjc-framework-ThreadNetwork/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-UniformTypeIdentifiers/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-UserNotifications/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-UserNotificationsUI/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-VideoSubscriberAccount/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-VideoToolbox/distinfo
1.6modifypkgsrc/devel/py-pyobjc-framework-Virtualization/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-Vision/distinfo
1.19modifypkgsrc/devel/py-pyobjc-framework-WebKit/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-iTunesLibrary/distinfo
1.17modifypkgsrc/devel/py-pyobjc-framework-libdispatch/distinfo
1.4modifypkgsrc/devel/py-pyobjc-framework-libxpc/distinfo