pyobjc-framework-PencilKit 12.2.1__tar.gz → 13.0__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.
Files changed (31) hide show
  1. {pyobjc_framework_pencilkit-12.2.1 → pyobjc_framework_pencilkit-13.0}/Lib/PencilKit/__init__.py +2 -0
  2. {pyobjc_framework_pencilkit-12.2.1 → pyobjc_framework_pencilkit-13.0}/Lib/PencilKit/_metadata.py +30 -3
  3. {pyobjc_framework_pencilkit-12.2.1 → pyobjc_framework_pencilkit-13.0}/Lib/pyobjc_framework_PencilKit.egg-info/PKG-INFO +5 -5
  4. {pyobjc_framework_pencilkit-12.2.1 → pyobjc_framework_pencilkit-13.0}/Lib/pyobjc_framework_PencilKit.egg-info/SOURCES.txt +2 -2
  5. pyobjc_framework_pencilkit-13.0/Lib/pyobjc_framework_PencilKit.egg-info/pyobjc-build-info.txt +3 -0
  6. pyobjc_framework_pencilkit-13.0/Lib/pyobjc_framework_PencilKit.egg-info/requires.txt +2 -0
  7. {pyobjc_framework_pencilkit-12.2.1 → pyobjc_framework_pencilkit-13.0}/PKG-INFO +5 -5
  8. {pyobjc_framework_pencilkit-12.2.1 → pyobjc_framework_pencilkit-13.0}/PyObjCTest/test_pkcontentversion.py +2 -1
  9. {pyobjc_framework_pencilkit-12.2.1 → pyobjc_framework_pencilkit-13.0}/PyObjCTest/test_pkerasertool.py +1 -3
  10. {pyobjc_framework_pencilkit-12.2.1 → pyobjc_framework_pencilkit-13.0}/PyObjCTest/test_pkinkttype.py +1 -1
  11. {pyobjc_framework_pencilkit-12.2.1 → pyobjc_framework_pencilkit-13.0}/PyObjCTest/test_pkstrokepath.py +8 -0
  12. {pyobjc_framework_pencilkit-12.2.1 → pyobjc_framework_pencilkit-13.0}/metadata/PencilKit.fwinfo +1 -17
  13. pyobjc_framework_pencilkit-12.2.1/metadata/raw/arm64-26.5.fwinfo → pyobjc_framework_pencilkit-13.0/metadata/raw/arm64-27.fwinfo +624 -19
  14. pyobjc_framework_pencilkit-12.2.1/metadata/raw/x86_64-26.5.fwinfo → pyobjc_framework_pencilkit-13.0/metadata/raw/x86_64-27.fwinfo +624 -19
  15. {pyobjc_framework_pencilkit-12.2.1 → pyobjc_framework_pencilkit-13.0}/pyobjc_setup.py +7 -7
  16. {pyobjc_framework_pencilkit-12.2.1 → pyobjc_framework_pencilkit-13.0}/setup.py +1 -1
  17. pyobjc_framework_pencilkit-12.2.1/Lib/pyobjc_framework_PencilKit.egg-info/pyobjc-build-info.txt +0 -3
  18. pyobjc_framework_pencilkit-12.2.1/Lib/pyobjc_framework_PencilKit.egg-info/requires.txt +0 -2
  19. {pyobjc_framework_pencilkit-12.2.1 → pyobjc_framework_pencilkit-13.0}/Lib/pyobjc_framework_PencilKit.egg-info/dependency_links.txt +0 -0
  20. {pyobjc_framework_pencilkit-12.2.1 → pyobjc_framework_pencilkit-13.0}/Lib/pyobjc_framework_PencilKit.egg-info/not-zip-safe +0 -0
  21. {pyobjc_framework_pencilkit-12.2.1 → pyobjc_framework_pencilkit-13.0}/Lib/pyobjc_framework_PencilKit.egg-info/top_level.txt +0 -0
  22. {pyobjc_framework_pencilkit-12.2.1 → pyobjc_framework_pencilkit-13.0}/License.txt +0 -0
  23. {pyobjc_framework_pencilkit-12.2.1 → pyobjc_framework_pencilkit-13.0}/MANIFEST.in +0 -0
  24. {pyobjc_framework_pencilkit-12.2.1 → pyobjc_framework_pencilkit-13.0}/PyObjCTest/__init__.py +0 -0
  25. {pyobjc_framework_pencilkit-12.2.1 → pyobjc_framework_pencilkit-13.0}/PyObjCTest/test_pencilkit.py +0 -0
  26. {pyobjc_framework_pencilkit-12.2.1 → pyobjc_framework_pencilkit-13.0}/PyObjCTest/test_pkdrawing.py +0 -0
  27. {pyobjc_framework_pencilkit-12.2.1 → pyobjc_framework_pencilkit-13.0}/PyObjCTest/test_pkinktype.py +0 -0
  28. {pyobjc_framework_pencilkit-12.2.1 → pyobjc_framework_pencilkit-13.0}/PyObjCTest/test_pktoolpickerinkingitem.py +0 -0
  29. {pyobjc_framework_pencilkit-12.2.1 → pyobjc_framework_pencilkit-13.0}/metadata/metadata.ini +0 -0
  30. {pyobjc_framework_pencilkit-12.2.1 → pyobjc_framework_pencilkit-13.0}/pyproject.toml +0 -0
  31. {pyobjc_framework_pencilkit-12.2.1 → pyobjc_framework_pencilkit-13.0}/setup.cfg +0 -0
@@ -35,6 +35,8 @@ def _setup():
35
35
  ("PKTool", b"new"),
36
36
  ("PKToolPickerItem", b"init"),
37
37
  ("PKToolPickerItem", b"new"),
38
+ ("PKConvertedBezierPoint", b"init"),
39
+ ("PKConvertedBezierPoint", b"new"),
38
40
  ):
39
41
  objc.registerUnavailableMethod(cls, sel)
40
42
 
@@ -1,7 +1,5 @@
1
1
  # This file is generated by objective.metadata
2
2
  #
3
- # Last update: Sun May 24 11:55:10 2026
4
- #
5
3
  # flake8: noqa
6
4
 
7
5
  import objc, sys
@@ -31,7 +29,7 @@ else:
31
29
 
32
30
  misc = {}
33
31
  constants = """$PKAppleDrawingTypeIdentifier$PKInkTypeCrayon$PKInkTypeFountainPen$PKInkTypeMarker$PKInkTypeMonoline$PKInkTypePen$PKInkTypePencil$PKInkTypeReed$PKInkTypeWatercolor$"""
34
- enums = """$PKContentVersion1@1$PKContentVersion2@2$PKContentVersion3@3$PKContentVersion4@4$PKEraserTypeBitmap@1$PKEraserTypeFixedWidthBitmap@2$PKEraserTypeVector@0$"""
32
+ enums = """$PKContentVersion1@1$PKContentVersion2@2$PKContentVersion3@3$PKContentVersion4@4$PKContentVersion5@5$PKEraserTypeBitmap@1$PKEraserTypeFixedWidthBitmap@2$PKEraserTypeVector@0$"""
35
33
  misc.update(
36
34
  {
37
35
  "PKContentVersion": NewType("PKContentVersion", int),
@@ -98,6 +96,20 @@ try:
98
96
  }
99
97
  },
100
98
  )
99
+ r(
100
+ b"PKStrokePath",
101
+ b"initWithBezierPath:creationDate:pointProvider:",
102
+ {
103
+ "arguments": {
104
+ 4: {
105
+ "callable": {
106
+ "retval": {"type": b"@"},
107
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
108
+ }
109
+ }
110
+ }
111
+ },
112
+ )
101
113
  r(b"PKToolPickerInkingItem", b"allowsColorSelection", {"retval": {"type": b"Z"}})
102
114
  r(
103
115
  b"PKToolPickerInkingItem",
@@ -107,6 +119,7 @@ try:
107
119
  finally:
108
120
  objc._updatingMetadata(False)
109
121
 
122
+ objc.registerNewKeywordsFromSelector("PKConvertedBezierPoint", b"init")
110
123
  objc.registerNewKeywordsFromSelector("PKDrawing", b"init")
111
124
  objc.registerNewKeywordsFromSelector("PKDrawing", b"initWithData:error:")
112
125
  objc.registerNewKeywordsFromSelector("PKDrawing", b"initWithStrokes:")
@@ -127,9 +140,19 @@ objc.registerNewKeywordsFromSelector(
127
140
  objc.registerNewKeywordsFromSelector(
128
141
  "PKStroke", b"initWithInk:strokePath:transform:mask:randomSeed:"
129
142
  )
143
+ objc.registerNewKeywordsFromSelector(
144
+ "PKStroke",
145
+ b"initWithInk:strokePath:transform:mask:randomSeed:strokeID:renderGroupID:renderState:",
146
+ )
147
+ objc.registerNewKeywordsFromSelector(
148
+ "PKStrokePath", b"initWithBezierPath:creationDate:pointProvider:"
149
+ )
130
150
  objc.registerNewKeywordsFromSelector(
131
151
  "PKStrokePath", b"initWithControlPoints:creationDate:"
132
152
  )
153
+ objc.registerNewKeywordsFromSelector(
154
+ "PKStrokePath", b"initWithControlPoints:creationDate:strokePathID:"
155
+ )
133
156
  objc.registerNewKeywordsFromSelector("PKStrokePoint", b"init")
134
157
  objc.registerNewKeywordsFromSelector(
135
158
  "PKStrokePoint", b"initWithLocation:timeOffset:size:opacity:force:azimuth:altitude:"
@@ -142,6 +165,10 @@ objc.registerNewKeywordsFromSelector(
142
165
  "PKStrokePoint",
143
166
  b"initWithLocation:timeOffset:size:opacity:force:azimuth:altitude:secondaryScale:threshold:",
144
167
  )
168
+ objc.registerNewKeywordsFromSelector(
169
+ "PKStrokePoint",
170
+ b"initWithLocation:timeOffset:size:opacity:force:azimuth:altitude:secondaryScale:threshold:lateralJitter:",
171
+ )
145
172
  objc.registerNewKeywordsFromSelector("PKTool", b"init")
146
173
  objc.registerNewKeywordsFromSelector("PKToolPickerEraserItem", b"initWithEraserType:")
147
174
  objc.registerNewKeywordsFromSelector(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-PencilKit
3
- Version: 12.2.1
3
+ Version: 13.0
4
4
  Summary: Wrappers for the framework PencilKit on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -17,21 +17,21 @@ Classifier: Operating System :: MacOS :: MacOS X
17
17
  Classifier: Programming Language :: Python
18
18
  Classifier: Programming Language :: Python :: 3
19
19
  Classifier: Programming Language :: Python :: 3 :: Only
20
- Classifier: Programming Language :: Python :: 3.10
21
20
  Classifier: Programming Language :: Python :: 3.11
22
21
  Classifier: Programming Language :: Python :: 3.12
23
22
  Classifier: Programming Language :: Python :: 3.13
24
23
  Classifier: Programming Language :: Python :: 3.14
25
24
  Classifier: Programming Language :: Python :: 3.15
25
+ Classifier: Programming Language :: Python :: 3.16
26
26
  Classifier: Programming Language :: Python :: Implementation :: CPython
27
27
  Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
28
28
  Classifier: Programming Language :: Objective C
29
29
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
30
  Classifier: Topic :: Software Development :: User Interfaces
31
- Requires-Python: >=3.10
31
+ Requires-Python: >=3.11
32
32
  Description-Content-Type: text/x-rst; charset=UTF-8
33
- Requires-Dist: pyobjc-core>=12.2.1
34
- Requires-Dist: pyobjc-framework-Cocoa>=12.2.1
33
+ Requires-Dist: pyobjc-core>=13.0
34
+ Requires-Dist: pyobjc-framework-Cocoa>=13.0
35
35
  Dynamic: author
36
36
  Dynamic: author-email
37
37
  Dynamic: classifier
@@ -23,5 +23,5 @@ PyObjCTest/test_pkstrokepath.py
23
23
  PyObjCTest/test_pktoolpickerinkingitem.py
24
24
  metadata/PencilKit.fwinfo
25
25
  metadata/metadata.ini
26
- metadata/raw/arm64-26.5.fwinfo
27
- metadata/raw/x86_64-26.5.fwinfo
26
+ metadata/raw/arm64-27.fwinfo
27
+ metadata/raw/x86_64-27.fwinfo
@@ -0,0 +1,3 @@
1
+ macOS 27.2 (26B123)
2
+ Apple clang version 21.0.0 (clang-2100.4.1.1)
3
+ SDK: macOS 27.2
@@ -0,0 +1,2 @@
1
+ pyobjc-core>=13.0
2
+ pyobjc-framework-Cocoa>=13.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-PencilKit
3
- Version: 12.2.1
3
+ Version: 13.0
4
4
  Summary: Wrappers for the framework PencilKit on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -17,21 +17,21 @@ Classifier: Operating System :: MacOS :: MacOS X
17
17
  Classifier: Programming Language :: Python
18
18
  Classifier: Programming Language :: Python :: 3
19
19
  Classifier: Programming Language :: Python :: 3 :: Only
20
- Classifier: Programming Language :: Python :: 3.10
21
20
  Classifier: Programming Language :: Python :: 3.11
22
21
  Classifier: Programming Language :: Python :: 3.12
23
22
  Classifier: Programming Language :: Python :: 3.13
24
23
  Classifier: Programming Language :: Python :: 3.14
25
24
  Classifier: Programming Language :: Python :: 3.15
25
+ Classifier: Programming Language :: Python :: 3.16
26
26
  Classifier: Programming Language :: Python :: Implementation :: CPython
27
27
  Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
28
28
  Classifier: Programming Language :: Objective C
29
29
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
30
  Classifier: Topic :: Software Development :: User Interfaces
31
- Requires-Python: >=3.10
31
+ Requires-Python: >=3.11
32
32
  Description-Content-Type: text/x-rst; charset=UTF-8
33
- Requires-Dist: pyobjc-core>=12.2.1
34
- Requires-Dist: pyobjc-framework-Cocoa>=12.2.1
33
+ Requires-Dist: pyobjc-core>=13.0
34
+ Requires-Dist: pyobjc-framework-Cocoa>=13.0
35
35
  Dynamic: author
36
36
  Dynamic: author-email
37
37
  Dynamic: classifier
@@ -4,10 +4,11 @@ import PencilKit
4
4
 
5
5
 
6
6
  class TestPKContentVersion(TestCase):
7
- def test_constants(self):
7
+ def test_enums(self):
8
8
  self.assertIsEnumType(PencilKit.PKContentVersion)
9
9
  self.assertEqual(PencilKit.PKContentVersion1, 1)
10
10
  self.assertEqual(PencilKit.PKContentVersion2, 2)
11
11
  self.assertEqual(PencilKit.PKContentVersion3, 3)
12
12
  self.assertEqual(PencilKit.PKContentVersion4, 4)
13
+ self.assertEqual(PencilKit.PKContentVersion5, 5)
13
14
  self.assertNotHasAttr(PencilKit, "PKContentVersionLatest")
@@ -4,10 +4,8 @@ import PencilKit
4
4
 
5
5
 
6
6
  class TestPKEraserTool(TestCase):
7
- def test_enum_types(self):
7
+ def test_enums(self):
8
8
  self.assertIsEnumType(PencilKit.PKEraserType)
9
-
10
- def test_constants(self):
11
9
  self.assertEqual(PencilKit.PKEraserTypeVector, 0)
12
10
  self.assertEqual(PencilKit.PKEraserTypeBitmap, 1)
13
11
  self.assertEqual(PencilKit.PKEraserTypeFixedWidthBitmap, 2)
@@ -4,7 +4,7 @@ import PencilKit
4
4
 
5
5
 
6
6
  class TestPKInknType(TestCase):
7
- def test_typed_enum(self):
7
+ def test_typed_enums(self):
8
8
  self.assertIsTypedEnum(PencilKit.PKInkType, str)
9
9
 
10
10
  @min_os_level("11.0")
@@ -21,3 +21,11 @@ class TestPKStrokePath(TestCase):
21
21
  2,
22
22
  b"v@o^Z",
23
23
  )
24
+
25
+ @min_os_level("27.0")
26
+ def test_methods27(self):
27
+ self.assertArgIsBlock(
28
+ PencilKit.PKStrokePath.initWithBezierPath_creationDate_pointProvider_,
29
+ 2,
30
+ b"@@",
31
+ )
@@ -10,22 +10,6 @@
10
10
  },
11
11
  "alias": {
12
12
  "PKContentVersionLatest": { "ignore": true }
13
- },
14
- "classes": {
15
- "PKDrawing": {
16
- "methods": [
17
- {
18
- "args": {
19
- "1": { "type_modifier": "o" }
20
- },
21
- "class_method": false,
22
- "selector": "initWithData:error:"
23
- }
24
- ]
25
- }
26
- },
27
- "formal_protocols": {},
28
- "functions": {},
29
- "informal_protocols": {}
13
+ }
30
14
  }
31
15
  }