pkgsrc/devel/py-pyobjc/Makefile
adam 528c710d21 py-pyobjc: updated to 4.1
Version 4.1:
Protection agains buffer overflow and negative indexes in __getitem__ and __setitem__ for objc.varlist instances.

Fix incorrect metadata for +[NSEvent addLocalMonitorForEventsMatchingMask:handler:]

Fix incorrect and misleading error message in the exception that is raised when return a value from a block that should not return a value.

Issue 223: Fix hard crash when executing help(Cocoa)
Fetching the help for PyObjC framework wrappers isn’t very useful due to the sheer size of the output (4.5 million lines of output for help(Cocoa) at the moment), but shouldn’t cause a hard crash of the interpreter.

Issue 218: Explictly cause an ImportError when reloading `objc._objc`
Reloading the PyObjC core extension now raises an ImportError because this cannot work and used to raise a rather vague error.

Updated metadata for Xcode 9.2

Added missing `MAC_OS_X_VERSION_*` constants

Fix memory error in struct wrappers which resulted in a use-after-free error in the initializer for structs.

Add bindings for frameworks Security, SecurityFoundation and and SecurityInterface.
The bindings for the Security framework don’t expose a number of older APIs that were deprecated in macOS 10.7.

Add bindings to libdispatch.
These bindings require macOS 10.8 or later, libdispatch was available earlier but macOS 10.8 changed the API in such a way that wrapping became a lot easier.
2018-02-08 19:54:18 +00:00

97 lines
9.1 KiB
Makefile

# $NetBSD: Makefile,v 1.2 2018/02/08 19:54:19 adam Exp $
META_PACKAGE= yes
.include "Makefile.common"
PKGNAME= ${PYPKGPREFIX}-pyobjc-${PYOBJC_VERS}
CATEGORIES+= meta-pkgs
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://pythonhosted.org/pyobjc/
COMMENT= Bridge between Python and Objective-C
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-pyobjc-core>=${PYOBJC_VERS}:../../devel/py-pyobjc-core
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-AVFoundation>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-AVFoundation
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-AVKit>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-AVKit
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-Accounts>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-Accounts
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-AddressBook>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-AddressBook
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-AppleScriptKit>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-AppleScriptKit
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-AppleScriptObjC>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-AppleScriptObjC
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-ApplicationServices>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-ApplicationServices
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-Automator>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-Automator
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-CFNetwork>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-CFNetwork
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-CalendarStore>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-CalendarStore
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-CloudKit>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-CloudKit
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-Cocoa>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-Cocoa
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-Collaboration>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-Collaboration
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-ColorSync>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-ColorSync
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-Contacts>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-Contacts
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-ContactsUI>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-ContactsUI
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-CoreBluetooth>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-CoreBluetooth
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-CoreData>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-CoreData
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-CoreLocation>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-CoreLocation
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-CoreML>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-CoreML
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-CoreSpotlight>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-CoreSpotlight
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-CoreText>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-CoreText
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-CoreWLAN>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-CoreWLAN
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-CryptoTokenKit>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-CryptoTokenKit
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-DictionaryServices>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-DictionaryServices
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-DiskArbitration>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-DiskArbitration
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-EventKit>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-EventKit
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-ExceptionHandling>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-ExceptionHandling
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-ExternalAccessory>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-ExternalAccessory
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-FSEvents>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-FSEvents
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-FinderSync>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-FinderSync
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-GameCenter>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-GameCenter
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-GameController>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-GameController
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-GameKit>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-GameKit
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-GameplayKit>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-GameplayKit
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-IOSurface>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-IOSurface
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-ImageCaptureCore>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-ImageCaptureCore
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-InputMethodKit>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-InputMethodKit
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-InstallerPlugins>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-InstallerPlugins
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-InstantMessage>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-InstantMessage
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-Intents>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-Intents
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-LatentSemanticMapping>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-LatentSemanticMapping
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-LaunchServices>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-LaunchServices
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-LocalAuthentication>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-LocalAuthentication
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-MapKit>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-MapKit
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-MediaAccessibility>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-MediaAccessibility
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-MediaLibrary>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-MediaLibrary
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-MediaPlayer>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-MediaPlayer
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-ModelIO>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-ModelIO
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-MultipeerConnectivity>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-MultipeerConnectivity
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-NetFS>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-NetFS
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-NetworkExtension>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-NetworkExtension
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-NotificationCenter>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-NotificationCenter
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-OpenDirectory>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-OpenDirectory
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-Photos>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-Photos
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-PhotosUI>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-PhotosUI
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-PreferencePanes>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-PreferencePanes
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-PubSub>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-PubSub
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-QTKit>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-QTKit
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-Quartz>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-Quartz
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-SafariServices>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-SafariServices
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-SceneKit>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-SceneKit
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-ScreenSaver>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-ScreenSaver
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-ScriptingBridge>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-ScriptingBridge
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-SearchKit>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-SearchKit
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-Security>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-Security
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-SecurityInterface>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-SecurityInterface
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-ServiceManagement>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-ServiceManagement
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-Social>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-Social
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-SpriteKit>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-SpriteKit
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-StoreKit>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-StoreKit
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-SyncServices>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-SyncServices
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-SystemConfiguration>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-SystemConfiguration
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-Vision>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-Vision
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-WebKit>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-WebKit
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-iTunesLibrary>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-iTunesLibrary
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-libdispatch>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-libdispatch
.include "../../lang/python/pyversion.mk"
.include "../../mk/bsd.pkg.mk"