[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / py-pyobjc

File: [cvs.NetBSD.org] / pkgsrc / devel / py-pyobjc / Makefile (download)

Revision 1.5, Sat May 23 07:03:41 2020 UTC (3 years, 6 months ago) by adam
Branch: MAIN
Changes since 1.4: +11 -3 lines

py-pyobjc: updated to 6.2

Version 6.2

The project has moved from Bitbucket to Github

Remove most remnants of Python 2 support

Clean up code quality issues found using flake8

Add pre-commit hook to run black on all Python code.

Fix protocol conformance testing when explicitly implementing a protocol

Before this bugfix a class explicitly conforming to a protocol could not implement any method that wasn declared in the protocol, the bridge would erroneously raise an exception when checking the additional method.

Issue reported by Georg Seifert.

Fix Python 3 issues in PyObjCTools.Conversion

Reported by vinolin asokan.

PyObjCTools.Conversio.propertyListFromPythonCollection didn
recursively convert members of lists and tuples.

PyObjCTools.Conversio.propertyListFromPythonCollection and PyObjCTools.Conversio.pythonCollectionFromPropertyList now support sets.

Update metadata for Xcode 11.4 (beta 2)

Added bindings for framework AutomaticAssessmentConfiguration.framework introduced in macOS 10.15.4

In some cases the compiler uses the type encoding ׿{NSObject=#}instead of ס

Reported by Georg Seifert.

Added bindings for the Metal framework (new in macOS 10.11)

Most framework bindings now use the limited ABI for the included C extensions, reducing the number of wheels that are needed. The exception are the bindings for Cocoa, Quartz and libdispatch, those use functionality not available in the limited ABI.

The bridge itself (pyobjc-core) still uses the full CPython API.

The CoreAudio bindings also don use the limited ABI for now, those need more work to work with that ABI.

# $NetBSD: Makefile,v 1.5 2020/05/23 07:03:41 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-CoreAudio>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-CoreAudio
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-CoreServices>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-CoreServices
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-Metal>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-Metal
DEPENDS+=	${PYPKGPREFIX}-pyobjc-framework-MetalKit>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-MetalKit
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-NaturalLanguage>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-NaturalLanguage
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-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 "../../mk/bsd.prefs.mk"

.if empty(MACHINE_PLATFORM:MDarwin-19.*)
DEPENDS+=	${PYPKGPREFIX}-pyobjc-framework-QTKit>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-QTKit
DEPENDS+=	${PYPKGPREFIX}-pyobjc-framework-PubSub>=${PYOBJC_VERS}:../../devel/py-pyobjc-framework-PubSub
.endif

.include "../../lang/python/pyversion.mk"
.include "../../mk/bsd.pkg.mk"