pyobjc-framework-PencilKit 10.1__tar.gz → 10.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/Lib/PencilKit/__init__.py +7 -0
- {pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/Lib/PencilKit/_metadata.py +28 -3
- {pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/Lib/pyobjc_framework_PencilKit.egg-info/PKG-INFO +3 -3
- {pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/Lib/pyobjc_framework_PencilKit.egg-info/SOURCES.txt +2 -6
- pyobjc_framework_pencilkit-10.3/Lib/pyobjc_framework_PencilKit.egg-info/requires.txt +2 -0
- {pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/License.txt +1 -1
- {pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/PKG-INFO +3 -3
- {pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/PyObjCTest/test_pkcontentversion.py +1 -0
- pyobjc-framework-PencilKit-10.1/metadata/raw/arm64-14.0.fwinfo → pyobjc_framework_pencilkit-10.3/metadata/raw/arm64-14.5.fwinfo +15 -6
- pyobjc-framework-PencilKit-10.1/metadata/raw/x86_64-14.0.fwinfo → pyobjc_framework_pencilkit-10.3/metadata/raw/x86_64-14.5.fwinfo +15 -6
- {pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/setup.py +2 -1
- pyobjc-framework-PencilKit-10.1/Lib/pyobjc_framework_PencilKit.egg-info/requires.txt +0 -2
- pyobjc-framework-PencilKit-10.1/metadata/raw/arm64-12.0.fwinfo +0 -1270
- pyobjc-framework-PencilKit-10.1/metadata/raw/arm64-13.0.fwinfo +0 -1329
- pyobjc-framework-PencilKit-10.1/metadata/raw/x86_64-12.0.fwinfo +0 -1270
- pyobjc-framework-PencilKit-10.1/metadata/raw/x86_64-13.0.fwinfo +0 -1329
- {pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/Lib/pyobjc_framework_PencilKit.egg-info/dependency_links.txt +0 -0
- {pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/Lib/pyobjc_framework_PencilKit.egg-info/not-zip-safe +0 -0
- {pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/Lib/pyobjc_framework_PencilKit.egg-info/top_level.txt +0 -0
- {pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/MANIFEST.in +0 -0
- {pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/PyObjCTest/__init__.py +0 -0
- {pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/PyObjCTest/test_pencilkit.py +0 -0
- {pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/PyObjCTest/test_pkdrawing.py +0 -0
- {pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/PyObjCTest/test_pkerasertool.py +0 -0
- {pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/PyObjCTest/test_pkinkttype.py +0 -0
- {pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/PyObjCTest/test_pkinktype.py +0 -0
- {pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/PyObjCTest/test_pkstrokepath.py +0 -0
- {pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/metadata/PencilKit.fwinfo +0 -0
- {pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/metadata/metadata.ini +0 -0
- {pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/metadata/raw/arm64-12.3.fwinfo +0 -0
- {pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/metadata/raw/arm64-13.3.fwinfo +0 -0
- {pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/metadata/raw/x86_64-10.15.fwinfo +0 -0
- {pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/metadata/raw/x86_64-10.16.fwinfo +0 -0
- {pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/metadata/raw/x86_64-12.3.fwinfo +0 -0
- {pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/metadata/raw/x86_64-13.3.fwinfo +0 -0
- {pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/pyobjc_setup.py +0 -0
- {pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/pyproject.toml +0 -0
- {pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/setup.cfg +0 -0
{pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/Lib/PencilKit/__init__.py
RENAMED
|
@@ -28,6 +28,13 @@ def _setup():
|
|
|
28
28
|
globals()["__dir__"] = dir_func
|
|
29
29
|
globals()["__getattr__"] = getattr_func
|
|
30
30
|
|
|
31
|
+
for cls, sel in (
|
|
32
|
+
("PKStrokePoint", b"init"),
|
|
33
|
+
("PKTool", b"init"),
|
|
34
|
+
("PKTool", b"new"),
|
|
35
|
+
):
|
|
36
|
+
objc.registerUnavailableMethod(cls, sel)
|
|
37
|
+
|
|
31
38
|
del sys.modules["PencilKit._metadata"]
|
|
32
39
|
|
|
33
40
|
|
{pyobjc-framework-PencilKit-10.1 → pyobjc_framework_pencilkit-10.3}/Lib/PencilKit/_metadata.py
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This file is generated by objective.metadata
|
|
2
2
|
#
|
|
3
|
-
# Last update: Sat
|
|
3
|
+
# Last update: Sat May 18 09:34:03 2024
|
|
4
4
|
#
|
|
5
5
|
# flake8: noqa
|
|
6
6
|
|
|
@@ -31,7 +31,7 @@ else:
|
|
|
31
31
|
|
|
32
32
|
misc = {}
|
|
33
33
|
constants = """$PKAppleDrawingTypeIdentifier$PKInkTypeCrayon$PKInkTypeFountainPen$PKInkTypeMarker$PKInkTypeMonoline$PKInkTypePen$PKInkTypePencil$PKInkTypeWatercolor$"""
|
|
34
|
-
enums = """$PKContentVersion1@1$PKContentVersion2@2$PKEraserTypeBitmap@1$PKEraserTypeFixedWidthBitmap@2$PKEraserTypeVector@0$"""
|
|
34
|
+
enums = """$PKContentVersion1@1$PKContentVersion2@2$PKContentVersion3@3$PKEraserTypeBitmap@1$PKEraserTypeFixedWidthBitmap@2$PKEraserTypeVector@0$"""
|
|
35
35
|
misc.update(
|
|
36
36
|
{
|
|
37
37
|
"PKContentVersion": NewType("PKContentVersion", int),
|
|
@@ -40,7 +40,6 @@ misc.update(
|
|
|
40
40
|
)
|
|
41
41
|
misc.update({"PKInkType": NewType("PKInkType", str)})
|
|
42
42
|
misc.update({})
|
|
43
|
-
aliases = {}
|
|
44
43
|
r = objc.registerMetaDataForSelector
|
|
45
44
|
objc._updatingMetadata(True)
|
|
46
45
|
try:
|
|
@@ -101,6 +100,32 @@ try:
|
|
|
101
100
|
)
|
|
102
101
|
finally:
|
|
103
102
|
objc._updatingMetadata(False)
|
|
103
|
+
|
|
104
|
+
objc.registerNewKeywordsFromSelector("PKDrawing", b"initWithData:error:")
|
|
105
|
+
objc.registerNewKeywordsFromSelector("PKDrawing", b"initWithStrokes:")
|
|
106
|
+
objc.registerNewKeywordsFromSelector("PKEraserTool", b"initWithEraserType:")
|
|
107
|
+
objc.registerNewKeywordsFromSelector("PKEraserTool", b"initWithEraserType:width:")
|
|
108
|
+
objc.registerNewKeywordsFromSelector("PKFloatRange", b"initWithLowerBound:upperBound:")
|
|
109
|
+
objc.registerNewKeywordsFromSelector("PKInk", b"initWithInkType:color:")
|
|
110
|
+
objc.registerNewKeywordsFromSelector("PKInkingTool", b"initWithInk:width:")
|
|
111
|
+
objc.registerNewKeywordsFromSelector("PKInkingTool", b"initWithInkType:color:")
|
|
112
|
+
objc.registerNewKeywordsFromSelector("PKInkingTool", b"initWithInkType:color:width:")
|
|
113
|
+
objc.registerNewKeywordsFromSelector(
|
|
114
|
+
"PKStroke", b"initWithInk:strokePath:transform:mask:"
|
|
115
|
+
)
|
|
116
|
+
objc.registerNewKeywordsFromSelector(
|
|
117
|
+
"PKStroke", b"initWithInk:strokePath:transform:mask:randomSeed:"
|
|
118
|
+
)
|
|
119
|
+
objc.registerNewKeywordsFromSelector(
|
|
120
|
+
"PKStrokePath", b"initWithControlPoints:creationDate:"
|
|
121
|
+
)
|
|
122
|
+
objc.registerNewKeywordsFromSelector(
|
|
123
|
+
"PKStrokePoint", b"initWithLocation:timeOffset:size:opacity:force:azimuth:altitude:"
|
|
124
|
+
)
|
|
125
|
+
objc.registerNewKeywordsFromSelector(
|
|
126
|
+
"PKStrokePoint",
|
|
127
|
+
b"initWithLocation:timeOffset:size:opacity:force:azimuth:altitude:secondaryScale:",
|
|
128
|
+
)
|
|
104
129
|
expressions = {}
|
|
105
130
|
|
|
106
131
|
# END OF FILE
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyobjc-framework-PencilKit
|
|
3
|
-
Version: 10.
|
|
3
|
+
Version: 10.3
|
|
4
4
|
Summary: Wrappers for the framework PencilKit on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -30,8 +30,8 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
|
30
30
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
31
31
|
Requires-Python: >=3.8
|
|
32
32
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
33
|
-
Requires-Dist: pyobjc-core>=10.
|
|
34
|
-
Requires-Dist: pyobjc-framework-Cocoa>=10.
|
|
33
|
+
Requires-Dist: pyobjc-core>=10.3
|
|
34
|
+
Requires-Dist: pyobjc-framework-Cocoa>=10.3
|
|
35
35
|
Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
|
|
36
36
|
Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
|
|
37
37
|
Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
|
|
@@ -21,15 +21,11 @@ PyObjCTest/test_pkinktype.py
|
|
|
21
21
|
PyObjCTest/test_pkstrokepath.py
|
|
22
22
|
metadata/PencilKit.fwinfo
|
|
23
23
|
metadata/metadata.ini
|
|
24
|
-
metadata/raw/arm64-12.0.fwinfo
|
|
25
24
|
metadata/raw/arm64-12.3.fwinfo
|
|
26
|
-
metadata/raw/arm64-13.0.fwinfo
|
|
27
25
|
metadata/raw/arm64-13.3.fwinfo
|
|
28
|
-
metadata/raw/arm64-14.
|
|
26
|
+
metadata/raw/arm64-14.5.fwinfo
|
|
29
27
|
metadata/raw/x86_64-10.15.fwinfo
|
|
30
28
|
metadata/raw/x86_64-10.16.fwinfo
|
|
31
|
-
metadata/raw/x86_64-12.0.fwinfo
|
|
32
29
|
metadata/raw/x86_64-12.3.fwinfo
|
|
33
|
-
metadata/raw/x86_64-13.0.fwinfo
|
|
34
30
|
metadata/raw/x86_64-13.3.fwinfo
|
|
35
|
-
metadata/raw/x86_64-14.
|
|
31
|
+
metadata/raw/x86_64-14.5.fwinfo
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(This is the MIT license, note that libffi-src is a separate product with its own license)
|
|
2
2
|
|
|
3
3
|
Copyright 2002, 2003 - Bill Bumgarner, Ronald Oussoren, Steve Majewski, Lele Gaifax, et.al.
|
|
4
|
-
Copyright 2003-
|
|
4
|
+
Copyright 2003-2024 - Ronald Oussoren
|
|
5
5
|
|
|
6
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyobjc-framework-PencilKit
|
|
3
|
-
Version: 10.
|
|
3
|
+
Version: 10.3
|
|
4
4
|
Summary: Wrappers for the framework PencilKit on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -30,8 +30,8 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
|
30
30
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
31
31
|
Requires-Python: >=3.8
|
|
32
32
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
33
|
-
Requires-Dist: pyobjc-core>=10.
|
|
34
|
-
Requires-Dist: pyobjc-framework-Cocoa>=10.
|
|
33
|
+
Requires-Dist: pyobjc-core>=10.3
|
|
34
|
+
Requires-Dist: pyobjc-framework-Cocoa>=10.3
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
Wrappers for the "PencilKit" framework on macOS 10.15 and later.
|
|
@@ -8,4 +8,5 @@ class TestPKContentVersion(TestCase):
|
|
|
8
8
|
self.assertIsEnumType(PencilKit.PKContentVersion)
|
|
9
9
|
self.assertEqual(PencilKit.PKContentVersion1, 1)
|
|
10
10
|
self.assertEqual(PencilKit.PKContentVersion2, 2)
|
|
11
|
+
self.assertEqual(PencilKit.PKContentVersion3, 3)
|
|
11
12
|
self.assertNotHasAttr(PencilKit, "PKContentVersionLatest")
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
// GENERATED FILE DO NOT EDIT
|
|
2
2
|
//
|
|
3
3
|
// This file was generated by objective.metadata
|
|
4
|
-
// Last update: Sat
|
|
4
|
+
// Last update: Sat May 18 09:34:02 2024
|
|
5
5
|
{
|
|
6
6
|
"arch": "arm64",
|
|
7
7
|
"definitions": {
|
|
8
|
-
"aliases": {
|
|
9
|
-
"PKContentVersionLatest": "PKContentVersion2"
|
|
10
|
-
},
|
|
8
|
+
"aliases": {},
|
|
11
9
|
"called_definitions": {},
|
|
12
10
|
"cftypes": {},
|
|
13
11
|
"classes": {
|
|
@@ -1479,6 +1477,16 @@
|
|
|
1479
1477
|
"PKTool": {
|
|
1480
1478
|
"categories": [],
|
|
1481
1479
|
"methods": [
|
|
1480
|
+
{
|
|
1481
|
+
"args": [],
|
|
1482
|
+
"class_method": true,
|
|
1483
|
+
"retval": {
|
|
1484
|
+
"typestr": "@",
|
|
1485
|
+
"typestr_special": false
|
|
1486
|
+
},
|
|
1487
|
+
"selector": "new",
|
|
1488
|
+
"visibility": "public"
|
|
1489
|
+
},
|
|
1482
1490
|
{
|
|
1483
1491
|
"args": [],
|
|
1484
1492
|
"class_method": false,
|
|
@@ -1501,7 +1509,8 @@
|
|
|
1501
1509
|
"enum": {
|
|
1502
1510
|
"PKContentVersion1": 1,
|
|
1503
1511
|
"PKContentVersion2": 2,
|
|
1504
|
-
"
|
|
1512
|
+
"PKContentVersion3": 3,
|
|
1513
|
+
"PKContentVersionLatest": 3,
|
|
1505
1514
|
"PKEraserTypeBitmap": 1,
|
|
1506
1515
|
"PKEraserTypeFixedWidthBitmap": 2,
|
|
1507
1516
|
"PKEraserTypeVector": 0
|
|
@@ -1569,5 +1578,5 @@
|
|
|
1569
1578
|
"PKTool.h"
|
|
1570
1579
|
],
|
|
1571
1580
|
"release": "10.16",
|
|
1572
|
-
"sdk": "/Users/ronald/Applications/Xcode
|
|
1581
|
+
"sdk": "/Users/ronald/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk"
|
|
1573
1582
|
}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
// GENERATED FILE DO NOT EDIT
|
|
2
2
|
//
|
|
3
3
|
// This file was generated by objective.metadata
|
|
4
|
-
// Last update: Sat
|
|
4
|
+
// Last update: Sat May 18 09:34:00 2024
|
|
5
5
|
{
|
|
6
6
|
"arch": "x86_64",
|
|
7
7
|
"definitions": {
|
|
8
|
-
"aliases": {
|
|
9
|
-
"PKContentVersionLatest": "PKContentVersion2"
|
|
10
|
-
},
|
|
8
|
+
"aliases": {},
|
|
11
9
|
"called_definitions": {},
|
|
12
10
|
"cftypes": {},
|
|
13
11
|
"classes": {
|
|
@@ -1479,6 +1477,16 @@
|
|
|
1479
1477
|
"PKTool": {
|
|
1480
1478
|
"categories": [],
|
|
1481
1479
|
"methods": [
|
|
1480
|
+
{
|
|
1481
|
+
"args": [],
|
|
1482
|
+
"class_method": true,
|
|
1483
|
+
"retval": {
|
|
1484
|
+
"typestr": "@",
|
|
1485
|
+
"typestr_special": false
|
|
1486
|
+
},
|
|
1487
|
+
"selector": "new",
|
|
1488
|
+
"visibility": "public"
|
|
1489
|
+
},
|
|
1482
1490
|
{
|
|
1483
1491
|
"args": [],
|
|
1484
1492
|
"class_method": false,
|
|
@@ -1501,7 +1509,8 @@
|
|
|
1501
1509
|
"enum": {
|
|
1502
1510
|
"PKContentVersion1": 1,
|
|
1503
1511
|
"PKContentVersion2": 2,
|
|
1504
|
-
"
|
|
1512
|
+
"PKContentVersion3": 3,
|
|
1513
|
+
"PKContentVersionLatest": 3,
|
|
1505
1514
|
"PKEraserTypeBitmap": 1,
|
|
1506
1515
|
"PKEraserTypeFixedWidthBitmap": 2,
|
|
1507
1516
|
"PKEraserTypeVector": 0
|
|
@@ -1569,5 +1578,5 @@
|
|
|
1569
1578
|
"PKTool.h"
|
|
1570
1579
|
],
|
|
1571
1580
|
"release": "10.16",
|
|
1572
|
-
"sdk": "/Users/ronald/Applications/Xcode
|
|
1581
|
+
"sdk": "/Users/ronald/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk"
|
|
1573
1582
|
}
|
|
@@ -6,6 +6,7 @@ for information on how to use this framework and PyObjC's documentation
|
|
|
6
6
|
for general tips and tricks regarding the translation between Python
|
|
7
7
|
and (Objective-)C frameworks
|
|
8
8
|
"""
|
|
9
|
+
|
|
9
10
|
import os
|
|
10
11
|
import sys
|
|
11
12
|
|
|
@@ -14,7 +15,7 @@ sys.path.insert(0, os.path.dirname(__file__))
|
|
|
14
15
|
|
|
15
16
|
from pyobjc_setup import setup # noqa: E402
|
|
16
17
|
|
|
17
|
-
VERSION = "10.
|
|
18
|
+
VERSION = "10.3"
|
|
18
19
|
|
|
19
20
|
setup(
|
|
20
21
|
name="pyobjc-framework-PencilKit",
|