pyobjc-framework-PencilKit 11.0__tar.gz → 12.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 (40) hide show
  1. {pyobjc_framework_pencilkit-11.0 → pyobjc_framework_pencilkit-12.0}/Lib/PencilKit/__init__.py +3 -0
  2. {pyobjc_framework_pencilkit-11.0 → pyobjc_framework_pencilkit-12.0}/Lib/PencilKit/_metadata.py +36 -3
  3. {pyobjc_framework_pencilkit-11.0 → pyobjc_framework_pencilkit-12.0}/Lib/pyobjc_framework_PencilKit.egg-info/PKG-INFO +19 -6
  4. {pyobjc_framework_pencilkit-11.0 → pyobjc_framework_pencilkit-12.0}/Lib/pyobjc_framework_PencilKit.egg-info/SOURCES.txt +3 -10
  5. pyobjc_framework_pencilkit-12.0/Lib/pyobjc_framework_PencilKit.egg-info/pyobjc-build-info.txt +3 -0
  6. pyobjc_framework_pencilkit-12.0/Lib/pyobjc_framework_PencilKit.egg-info/requires.txt +2 -0
  7. {pyobjc_framework_pencilkit-11.0 → pyobjc_framework_pencilkit-12.0}/License.txt +1 -1
  8. {pyobjc_framework_pencilkit-11.0 → pyobjc_framework_pencilkit-12.0}/PKG-INFO +19 -6
  9. pyobjc_framework_pencilkit-12.0/PyObjCTest/__init__.py +1 -0
  10. {pyobjc_framework_pencilkit-11.0 → pyobjc_framework_pencilkit-12.0}/PyObjCTest/test_pkcontentversion.py +1 -0
  11. pyobjc_framework_pencilkit-12.0/PyObjCTest/test_pktoolpickerinkingitem.py +12 -0
  12. pyobjc_framework_pencilkit-11.0/metadata/raw/arm64-15.0.fwinfo → pyobjc_framework_pencilkit-12.0/metadata/raw/arm64-26.0.fwinfo +437 -8
  13. pyobjc_framework_pencilkit-11.0/metadata/raw/x86_64-15.0.fwinfo → pyobjc_framework_pencilkit-12.0/metadata/raw/x86_64-26.0.fwinfo +437 -8
  14. {pyobjc_framework_pencilkit-11.0 → pyobjc_framework_pencilkit-12.0}/pyobjc_setup.py +9 -41
  15. {pyobjc_framework_pencilkit-11.0 → pyobjc_framework_pencilkit-12.0}/setup.py +1 -1
  16. pyobjc_framework_pencilkit-11.0/Lib/pyobjc_framework_PencilKit.egg-info/pyobjc-build-info.txt +0 -3
  17. pyobjc_framework_pencilkit-11.0/Lib/pyobjc_framework_PencilKit.egg-info/requires.txt +0 -2
  18. pyobjc_framework_pencilkit-11.0/PyObjCTest/__init__.py +0 -1
  19. pyobjc_framework_pencilkit-11.0/metadata/raw/arm64-12.3.fwinfo +0 -1275
  20. pyobjc_framework_pencilkit-11.0/metadata/raw/arm64-13.3.fwinfo +0 -1413
  21. pyobjc_framework_pencilkit-11.0/metadata/raw/arm64-14.5.fwinfo +0 -1582
  22. pyobjc_framework_pencilkit-11.0/metadata/raw/x86_64-10.15.fwinfo +0 -153
  23. pyobjc_framework_pencilkit-11.0/metadata/raw/x86_64-10.16.fwinfo +0 -1270
  24. pyobjc_framework_pencilkit-11.0/metadata/raw/x86_64-12.3.fwinfo +0 -1275
  25. pyobjc_framework_pencilkit-11.0/metadata/raw/x86_64-13.3.fwinfo +0 -1413
  26. pyobjc_framework_pencilkit-11.0/metadata/raw/x86_64-14.5.fwinfo +0 -1582
  27. {pyobjc_framework_pencilkit-11.0 → pyobjc_framework_pencilkit-12.0}/Lib/pyobjc_framework_PencilKit.egg-info/dependency_links.txt +0 -0
  28. {pyobjc_framework_pencilkit-11.0 → pyobjc_framework_pencilkit-12.0}/Lib/pyobjc_framework_PencilKit.egg-info/not-zip-safe +0 -0
  29. {pyobjc_framework_pencilkit-11.0 → pyobjc_framework_pencilkit-12.0}/Lib/pyobjc_framework_PencilKit.egg-info/top_level.txt +0 -0
  30. {pyobjc_framework_pencilkit-11.0 → pyobjc_framework_pencilkit-12.0}/MANIFEST.in +0 -0
  31. {pyobjc_framework_pencilkit-11.0 → pyobjc_framework_pencilkit-12.0}/PyObjCTest/test_pencilkit.py +0 -0
  32. {pyobjc_framework_pencilkit-11.0 → pyobjc_framework_pencilkit-12.0}/PyObjCTest/test_pkdrawing.py +0 -0
  33. {pyobjc_framework_pencilkit-11.0 → pyobjc_framework_pencilkit-12.0}/PyObjCTest/test_pkerasertool.py +0 -0
  34. {pyobjc_framework_pencilkit-11.0 → pyobjc_framework_pencilkit-12.0}/PyObjCTest/test_pkinkttype.py +0 -0
  35. {pyobjc_framework_pencilkit-11.0 → pyobjc_framework_pencilkit-12.0}/PyObjCTest/test_pkinktype.py +0 -0
  36. {pyobjc_framework_pencilkit-11.0 → pyobjc_framework_pencilkit-12.0}/PyObjCTest/test_pkstrokepath.py +0 -0
  37. {pyobjc_framework_pencilkit-11.0 → pyobjc_framework_pencilkit-12.0}/metadata/PencilKit.fwinfo +0 -0
  38. {pyobjc_framework_pencilkit-11.0 → pyobjc_framework_pencilkit-12.0}/metadata/metadata.ini +0 -0
  39. {pyobjc_framework_pencilkit-11.0 → pyobjc_framework_pencilkit-12.0}/pyproject.toml +0 -0
  40. {pyobjc_framework_pencilkit-11.0 → pyobjc_framework_pencilkit-12.0}/setup.cfg +0 -0
@@ -30,8 +30,11 @@ def _setup():
30
30
 
31
31
  for cls, sel in (
32
32
  ("PKStrokePoint", b"init"),
33
+ ("PKStrokePoint", b"new"),
33
34
  ("PKTool", b"init"),
34
35
  ("PKTool", b"new"),
36
+ ("PKToolPickerItem", b"init"),
37
+ ("PKToolPickerItem", b"new"),
35
38
  ):
36
39
  objc.registerUnavailableMethod(cls, sel)
37
40
 
@@ -1,6 +1,6 @@
1
1
  # This file is generated by objective.metadata
2
2
  #
3
- # Last update: Tue Jun 11 10:17:02 2024
3
+ # Last update: Thu Jul 24 12:43:51 2025
4
4
  #
5
5
  # flake8: noqa
6
6
 
@@ -30,8 +30,8 @@ else:
30
30
 
31
31
 
32
32
  misc = {}
33
- constants = """$PKAppleDrawingTypeIdentifier$PKInkTypeCrayon$PKInkTypeFountainPen$PKInkTypeMarker$PKInkTypeMonoline$PKInkTypePen$PKInkTypePencil$PKInkTypeWatercolor$"""
34
- enums = """$PKContentVersion1@1$PKContentVersion2@2$PKContentVersion3@3$PKEraserTypeBitmap@1$PKEraserTypeFixedWidthBitmap@2$PKEraserTypeVector@0$"""
33
+ 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$"""
35
35
  misc.update(
36
36
  {
37
37
  "PKContentVersion": NewType("PKContentVersion", int),
@@ -98,6 +98,12 @@ try:
98
98
  }
99
99
  },
100
100
  )
101
+ r(b"PKToolPickerInkingItem", b"allowsColorSelection", {"retval": {"type": b"Z"}})
102
+ r(
103
+ b"PKToolPickerInkingItem",
104
+ b"setAllowsColorSelection:",
105
+ {"arguments": {2: {"type": b"Z"}}},
106
+ )
101
107
  finally:
102
108
  objc._updatingMetadata(False)
103
109
 
@@ -110,6 +116,9 @@ objc.registerNewKeywordsFromSelector("PKInk", b"initWithInkType:color:")
110
116
  objc.registerNewKeywordsFromSelector("PKInkingTool", b"initWithInk:width:")
111
117
  objc.registerNewKeywordsFromSelector("PKInkingTool", b"initWithInkType:color:")
112
118
  objc.registerNewKeywordsFromSelector("PKInkingTool", b"initWithInkType:color:width:")
119
+ objc.registerNewKeywordsFromSelector(
120
+ "PKInkingTool", b"initWithInkType:color:width:azimuth:"
121
+ )
113
122
  objc.registerNewKeywordsFromSelector(
114
123
  "PKStroke", b"initWithInk:strokePath:transform:mask:"
115
124
  )
@@ -126,6 +135,30 @@ objc.registerNewKeywordsFromSelector(
126
135
  "PKStrokePoint",
127
136
  b"initWithLocation:timeOffset:size:opacity:force:azimuth:altitude:secondaryScale:",
128
137
  )
138
+ objc.registerNewKeywordsFromSelector(
139
+ "PKStrokePoint",
140
+ b"initWithLocation:timeOffset:size:opacity:force:azimuth:altitude:secondaryScale:threshold:",
141
+ )
142
+ objc.registerNewKeywordsFromSelector("PKToolPickerEraserItem", b"initWithEraserType:")
143
+ objc.registerNewKeywordsFromSelector(
144
+ "PKToolPickerEraserItem", b"initWithEraserType:width:"
145
+ )
146
+ objc.registerNewKeywordsFromSelector("PKToolPickerInkingItem", b"initWithInkType:")
147
+ objc.registerNewKeywordsFromSelector(
148
+ "PKToolPickerInkingItem", b"initWithInkType:color:"
149
+ )
150
+ objc.registerNewKeywordsFromSelector(
151
+ "PKToolPickerInkingItem", b"initWithInkType:color:width:"
152
+ )
153
+ objc.registerNewKeywordsFromSelector(
154
+ "PKToolPickerInkingItem", b"initWithInkType:color:width:azimuth:identifier:"
155
+ )
156
+ objc.registerNewKeywordsFromSelector(
157
+ "PKToolPickerInkingItem", b"initWithInkType:color:width:identifier:"
158
+ )
159
+ objc.registerNewKeywordsFromSelector(
160
+ "PKToolPickerInkingItem", b"initWithInkType:width:"
161
+ )
129
162
  expressions = {}
130
163
 
131
164
  # END OF FILE
@@ -1,18 +1,17 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-PencilKit
3
- Version: 11.0
3
+ Version: 12.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
7
7
  Author-email: pyobjc-dev@lists.sourceforge.net
8
- License: MIT License
8
+ License: MIT
9
9
  Keywords: PyObjC,PencilKit
10
10
  Platform: MacOS X (>=10.15)
11
11
  Classifier: Development Status :: 5 - Production/Stable
12
12
  Classifier: Environment :: Console
13
13
  Classifier: Environment :: MacOS X :: Cocoa
14
14
  Classifier: Intended Audience :: Developers
15
- Classifier: License :: OSI Approved :: MIT License
16
15
  Classifier: Natural Language :: English
17
16
  Classifier: Operating System :: MacOS :: MacOS X
18
17
  Classifier: Programming Language :: Python
@@ -24,14 +23,28 @@ Classifier: Programming Language :: Python :: 3.11
24
23
  Classifier: Programming Language :: Python :: 3.12
25
24
  Classifier: Programming Language :: Python :: 3.13
26
25
  Classifier: Programming Language :: Python :: 3.14
26
+ Classifier: Programming Language :: Python :: 3.15
27
27
  Classifier: Programming Language :: Python :: Implementation :: CPython
28
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
28
29
  Classifier: Programming Language :: Objective C
29
30
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
31
  Classifier: Topic :: Software Development :: User Interfaces
31
32
  Requires-Python: >=3.9
32
33
  Description-Content-Type: text/x-rst; charset=UTF-8
33
- Requires-Dist: pyobjc-core>=11.0
34
- Requires-Dist: pyobjc-framework-Cocoa>=11.0
34
+ Requires-Dist: pyobjc-core>=12.0
35
+ Requires-Dist: pyobjc-framework-Cocoa>=12.0
36
+ Dynamic: author
37
+ Dynamic: author-email
38
+ Dynamic: classifier
39
+ Dynamic: description
40
+ Dynamic: description-content-type
41
+ Dynamic: home-page
42
+ Dynamic: keywords
43
+ Dynamic: license
44
+ Dynamic: platform
45
+ Dynamic: requires-dist
46
+ Dynamic: requires-python
47
+ Dynamic: summary
35
48
  Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
36
49
  Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
37
50
  Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
@@ -20,15 +20,8 @@ PyObjCTest/test_pkerasertool.py
20
20
  PyObjCTest/test_pkinkttype.py
21
21
  PyObjCTest/test_pkinktype.py
22
22
  PyObjCTest/test_pkstrokepath.py
23
+ PyObjCTest/test_pktoolpickerinkingitem.py
23
24
  metadata/PencilKit.fwinfo
24
25
  metadata/metadata.ini
25
- metadata/raw/arm64-12.3.fwinfo
26
- metadata/raw/arm64-13.3.fwinfo
27
- metadata/raw/arm64-14.5.fwinfo
28
- metadata/raw/arm64-15.0.fwinfo
29
- metadata/raw/x86_64-10.15.fwinfo
30
- metadata/raw/x86_64-10.16.fwinfo
31
- metadata/raw/x86_64-12.3.fwinfo
32
- metadata/raw/x86_64-13.3.fwinfo
33
- metadata/raw/x86_64-14.5.fwinfo
34
- metadata/raw/x86_64-15.0.fwinfo
26
+ metadata/raw/arm64-26.0.fwinfo
27
+ metadata/raw/x86_64-26.0.fwinfo
@@ -0,0 +1,3 @@
1
+ macOS 26.0.1 (25A362)
2
+ Apple clang version 17.0.0 (clang-1700.3.19.1)
3
+ SDK: macOS 26.0
@@ -0,0 +1,2 @@
1
+ pyobjc-core>=12.0
2
+ pyobjc-framework-Cocoa>=12.0
@@ -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-2024 - Ronald Oussoren
4
+ Copyright 2003-2025 - 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,18 +1,17 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-PencilKit
3
- Version: 11.0
3
+ Version: 12.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
7
7
  Author-email: pyobjc-dev@lists.sourceforge.net
8
- License: MIT License
8
+ License: MIT
9
9
  Keywords: PyObjC,PencilKit
10
10
  Platform: MacOS X (>=10.15)
11
11
  Classifier: Development Status :: 5 - Production/Stable
12
12
  Classifier: Environment :: Console
13
13
  Classifier: Environment :: MacOS X :: Cocoa
14
14
  Classifier: Intended Audience :: Developers
15
- Classifier: License :: OSI Approved :: MIT License
16
15
  Classifier: Natural Language :: English
17
16
  Classifier: Operating System :: MacOS :: MacOS X
18
17
  Classifier: Programming Language :: Python
@@ -24,14 +23,28 @@ Classifier: Programming Language :: Python :: 3.11
24
23
  Classifier: Programming Language :: Python :: 3.12
25
24
  Classifier: Programming Language :: Python :: 3.13
26
25
  Classifier: Programming Language :: Python :: 3.14
26
+ Classifier: Programming Language :: Python :: 3.15
27
27
  Classifier: Programming Language :: Python :: Implementation :: CPython
28
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
28
29
  Classifier: Programming Language :: Objective C
29
30
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
31
  Classifier: Topic :: Software Development :: User Interfaces
31
32
  Requires-Python: >=3.9
32
33
  Description-Content-Type: text/x-rst; charset=UTF-8
33
- Requires-Dist: pyobjc-core>=11.0
34
- Requires-Dist: pyobjc-framework-Cocoa>=11.0
34
+ Requires-Dist: pyobjc-core>=12.0
35
+ Requires-Dist: pyobjc-framework-Cocoa>=12.0
36
+ Dynamic: author
37
+ Dynamic: author-email
38
+ Dynamic: classifier
39
+ Dynamic: description
40
+ Dynamic: description-content-type
41
+ Dynamic: home-page
42
+ Dynamic: keywords
43
+ Dynamic: license
44
+ Dynamic: platform
45
+ Dynamic: requires-dist
46
+ Dynamic: requires-python
47
+ Dynamic: summary
35
48
 
36
49
 
37
50
  Wrappers for the "PencilKit" framework on macOS 10.15 and later.
@@ -0,0 +1 @@
1
+ """Tests"""
@@ -9,4 +9,5 @@ class TestPKContentVersion(TestCase):
9
9
  self.assertEqual(PencilKit.PKContentVersion1, 1)
10
10
  self.assertEqual(PencilKit.PKContentVersion2, 2)
11
11
  self.assertEqual(PencilKit.PKContentVersion3, 3)
12
+ self.assertEqual(PencilKit.PKContentVersion4, 4)
12
13
  self.assertNotHasAttr(PencilKit, "PKContentVersionLatest")
@@ -0,0 +1,12 @@
1
+ from PyObjCTools.TestSupport import TestCase, min_os_level
2
+
3
+ import PencilKit
4
+
5
+
6
+ class TestPKToolPickerInkingItem(TestCase):
7
+ @min_os_level("26.0")
8
+ def test_methods26_0(self):
9
+ self.assertResultIsBOOL(PencilKit.PKToolPickerInkingItem.allowsColorSelection)
10
+ self.assertArgIsBOOL(
11
+ PencilKit.PKToolPickerInkingItem.setAllowsColorSelection_, 0
12
+ )