File:  [cvs.NetBSD.org] / pkgsrc / devel / py-pyobjc / Makefile.common
Revision 1.10: download - view: text, annotated - select for diffs
Sat May 23 07:03:41 2020 UTC (4 years, 6 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2, HEAD
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’t 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’t
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’t use the limited ABI for now, those need more work to work with that ABI.

# $NetBSD: Makefile.common,v 1.10 2020/05/23 07:03:41 adam Exp $
# used by devel/py-pyobjc-core/Makefile
# used by devel/py-pyobjc-framework-AVFoundation/Makefile
# used by devel/py-pyobjc-framework-AVKit/Makefile
# used by devel/py-pyobjc-framework-Accounts/Makefile
# used by devel/py-pyobjc-framework-AddressBook/Makefile
# used by devel/py-pyobjc-framework-AppleScriptKit/Makefile
# used by devel/py-pyobjc-framework-AppleScriptObjC/Makefile
# used by devel/py-pyobjc-framework-ApplicationServices/Makefile
# used by devel/py-pyobjc-framework-Automator/Makefile
# used by devel/py-pyobjc-framework-CFNetwork/Makefile
# used by devel/py-pyobjc-framework-CalendarStore/Makefile
# used by devel/py-pyobjc-framework-CloudKit/Makefile
# used by devel/py-pyobjc-framework-Cocoa/Makefile
# used by devel/py-pyobjc-framework-Collaboration/Makefile
# used by devel/py-pyobjc-framework-ColorSync/Makefile
# used by devel/py-pyobjc-framework-Contacts/Makefile
# used by devel/py-pyobjc-framework-ContactsUI/Makefile
# used by devel/py-pyobjc-framework-CoreAudio/Makefile
# used by devel/py-pyobjc-framework-CoreBluetooth/Makefile
# used by devel/py-pyobjc-framework-CoreData/Makefile
# used by devel/py-pyobjc-framework-CoreLocation/Makefile
# used by devel/py-pyobjc-framework-CoreML/Makefile
# used by devel/py-pyobjc-framework-CoreMedia/Makefile
# used by devel/py-pyobjc-framework-CoreServices/Makefile
# used by devel/py-pyobjc-framework-CoreSpotlight/Makefile
# used by devel/py-pyobjc-framework-CoreText/Makefile
# used by devel/py-pyobjc-framework-CoreWLAN/Makefile
# used by devel/py-pyobjc-framework-CryptoTokenKit/Makefile
# used by devel/py-pyobjc-framework-DictionaryServices/Makefile
# used by devel/py-pyobjc-framework-DiskArbitration/Makefile
# used by devel/py-pyobjc-framework-EventKit/Makefile
# used by devel/py-pyobjc-framework-ExceptionHandling/Makefile
# used by devel/py-pyobjc-framework-ExternalAccessory/Makefile
# used by devel/py-pyobjc-framework-FSEvents/Makefile
# used by devel/py-pyobjc-framework-FinderSync/Makefile
# used by devel/py-pyobjc-framework-GameCenter/Makefile
# used by devel/py-pyobjc-framework-GameController/Makefile
# used by devel/py-pyobjc-framework-GameKit/Makefile
# used by devel/py-pyobjc-framework-GameplayKit/Makefile
# used by devel/py-pyobjc-framework-IOSurface/Makefile
# used by devel/py-pyobjc-framework-ImageCaptureCore/Makefile
# used by devel/py-pyobjc-framework-InputMethodKit/Makefile
# used by devel/py-pyobjc-framework-InstallerPlugins/Makefile
# used by devel/py-pyobjc-framework-InstantMessage/Makefile
# used by devel/py-pyobjc-framework-Intents/Makefile
# used by devel/py-pyobjc-framework-LatentSemanticMapping/Makefile
# used by devel/py-pyobjc-framework-LaunchServices/Makefile
# used by devel/py-pyobjc-framework-LocalAuthentication/Makefile
# used by devel/py-pyobjc-framework-MapKit/Makefile
# used by devel/py-pyobjc-framework-MediaAccessibility/Makefile
# used by devel/py-pyobjc-framework-MediaLibrary/Makefile
# used by devel/py-pyobjc-framework-MediaPlayer/Makefile
# used by devel/py-pyobjc-framework-Metal/Makefile
# used by devel/py-pyobjc-framework-MetalKit/Makefile
# used by devel/py-pyobjc-framework-ModelIO/Makefile
# used by devel/py-pyobjc-framework-MultipeerConnectivity/Makefile
# used by devel/py-pyobjc-framework-NaturalLanguage/Makefile
# used by devel/py-pyobjc-framework-NetFS/Makefile
# used by devel/py-pyobjc-framework-NetworkExtension/Makefile
# used by devel/py-pyobjc-framework-NotificationCenter/Makefile
# used by devel/py-pyobjc-framework-OpenDirectory/Makefile
# used by devel/py-pyobjc-framework-Photos/Makefile
# used by devel/py-pyobjc-framework-PhotosUI/Makefile
# used by devel/py-pyobjc-framework-PreferencePanes/Makefile
# used by devel/py-pyobjc-framework-PubSub/Makefile
# used by devel/py-pyobjc-framework-QTKit/Makefile
# used by devel/py-pyobjc-framework-Quartz/Makefile
# used by devel/py-pyobjc-framework-SafariServices/Makefile
# used by devel/py-pyobjc-framework-SceneKit/Makefile
# used by devel/py-pyobjc-framework-ScreenSaver/Makefile
# used by devel/py-pyobjc-framework-ScriptingBridge/Makefile
# used by devel/py-pyobjc-framework-SearchKit/Makefile
# used by devel/py-pyobjc-framework-Security/Makefile
# used by devel/py-pyobjc-framework-SecurityInterface/Makefile
# used by devel/py-pyobjc-framework-ServiceManagement/Makefile
# used by devel/py-pyobjc-framework-Social/Makefile
# used by devel/py-pyobjc-framework-SpriteKit/Makefile
# used by devel/py-pyobjc-framework-StoreKit/Makefile
# used by devel/py-pyobjc-framework-SyncServices/Makefile
# used by devel/py-pyobjc-framework-SystemConfiguration/Makefile
# used by devel/py-pyobjc-framework-Vision/Makefile
# used by devel/py-pyobjc-framework-WebKit/Makefile
# used by devel/py-pyobjc-framework-iTunesLibrary/Makefile
# used by devel/py-pyobjc-framework-libdispatch/Makefile

PYOBJC_VERS=	6.2

MAINTAINER?=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://pyobjc.readthedocs.io/
LICENSE=	mit

ONLY_FOR_PLATFORM=	Darwin-*-*

PYTHON_VERSIONS_INCOMPATIBLE=	27

SUBST_CLASSES+=		pysetup
SUBST_STAGE.pysetup=	pre-configure
SUBST_MESSAGE.pysetup=	Avoiding hacks in pyobjc_setup.py.
SUBST_FILES.pysetup=	pyobjc_setup.py
SUBST_SED.pysetup=	-e 's,del sys.modules\["PyObjCTools"\],pass,'

CVSweb <webmaster@jp.NetBSD.org>