pyobjc-framework-UserNotificationsUI 9.2__tar.gz → 10.1__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-UserNotificationsUI-10.1/Lib/UserNotificationsUI/__init__.py +38 -0
  2. {pyobjc-framework-UserNotificationsUI-9.2 → pyobjc-framework-UserNotificationsUI-10.1}/Lib/UserNotificationsUI/_metadata.py +1 -1
  3. {pyobjc-framework-UserNotificationsUI-9.2 → pyobjc-framework-UserNotificationsUI-10.1}/Lib/pyobjc_framework_UserNotificationsUI.egg-info/PKG-INFO +8 -3
  4. {pyobjc-framework-UserNotificationsUI-9.2 → pyobjc-framework-UserNotificationsUI-10.1}/Lib/pyobjc_framework_UserNotificationsUI.egg-info/SOURCES.txt +3 -1
  5. pyobjc-framework-UserNotificationsUI-10.1/Lib/pyobjc_framework_UserNotificationsUI.egg-info/requires.txt +4 -0
  6. {pyobjc-framework-UserNotificationsUI-9.2 → pyobjc-framework-UserNotificationsUI-10.1}/PKG-INFO +8 -3
  7. pyobjc-framework-UserNotificationsUI-10.1/metadata/raw/arm64-14.0.fwinfo +274 -0
  8. pyobjc-framework-UserNotificationsUI-10.1/metadata/raw/x86_64-14.0.fwinfo +274 -0
  9. {pyobjc-framework-UserNotificationsUI-9.2 → pyobjc-framework-UserNotificationsUI-10.1}/pyobjc_setup.py +16 -6
  10. {pyobjc-framework-UserNotificationsUI-9.2 → pyobjc-framework-UserNotificationsUI-10.1}/setup.py +1 -1
  11. pyobjc-framework-UserNotificationsUI-9.2/Lib/UserNotificationsUI/__init__.py +0 -31
  12. pyobjc-framework-UserNotificationsUI-9.2/Lib/pyobjc_framework_UserNotificationsUI.egg-info/requires.txt +0 -4
  13. {pyobjc-framework-UserNotificationsUI-9.2 → pyobjc-framework-UserNotificationsUI-10.1}/Lib/pyobjc_framework_UserNotificationsUI.egg-info/dependency_links.txt +0 -0
  14. {pyobjc-framework-UserNotificationsUI-9.2 → pyobjc-framework-UserNotificationsUI-10.1}/Lib/pyobjc_framework_UserNotificationsUI.egg-info/not-zip-safe +0 -0
  15. {pyobjc-framework-UserNotificationsUI-9.2 → pyobjc-framework-UserNotificationsUI-10.1}/Lib/pyobjc_framework_UserNotificationsUI.egg-info/top_level.txt +0 -0
  16. {pyobjc-framework-UserNotificationsUI-9.2 → pyobjc-framework-UserNotificationsUI-10.1}/License.txt +0 -0
  17. {pyobjc-framework-UserNotificationsUI-9.2 → pyobjc-framework-UserNotificationsUI-10.1}/MANIFEST.in +0 -0
  18. {pyobjc-framework-UserNotificationsUI-9.2 → pyobjc-framework-UserNotificationsUI-10.1}/PyObjCTest/__init__.py +0 -0
  19. {pyobjc-framework-UserNotificationsUI-9.2 → pyobjc-framework-UserNotificationsUI-10.1}/PyObjCTest/test_unnotificationcontentextension.py +0 -0
  20. {pyobjc-framework-UserNotificationsUI-9.2 → pyobjc-framework-UserNotificationsUI-10.1}/PyObjCTest/test_usernotificationsui.py +0 -0
  21. {pyobjc-framework-UserNotificationsUI-9.2 → pyobjc-framework-UserNotificationsUI-10.1}/metadata/UserNotificationsUI.fwinfo +0 -0
  22. {pyobjc-framework-UserNotificationsUI-9.2 → pyobjc-framework-UserNotificationsUI-10.1}/metadata/metadata.ini +0 -0
  23. {pyobjc-framework-UserNotificationsUI-9.2 → pyobjc-framework-UserNotificationsUI-10.1}/metadata/raw/arm64-12.0.fwinfo +0 -0
  24. {pyobjc-framework-UserNotificationsUI-9.2 → pyobjc-framework-UserNotificationsUI-10.1}/metadata/raw/arm64-12.3.fwinfo +0 -0
  25. {pyobjc-framework-UserNotificationsUI-9.2 → pyobjc-framework-UserNotificationsUI-10.1}/metadata/raw/arm64-13.3.fwinfo +0 -0
  26. {pyobjc-framework-UserNotificationsUI-9.2 → pyobjc-framework-UserNotificationsUI-10.1}/metadata/raw/x86_64-10.16.fwinfo +0 -0
  27. {pyobjc-framework-UserNotificationsUI-9.2 → pyobjc-framework-UserNotificationsUI-10.1}/metadata/raw/x86_64-12.0.fwinfo +0 -0
  28. {pyobjc-framework-UserNotificationsUI-9.2 → pyobjc-framework-UserNotificationsUI-10.1}/metadata/raw/x86_64-12.3.fwinfo +0 -0
  29. {pyobjc-framework-UserNotificationsUI-9.2 → pyobjc-framework-UserNotificationsUI-10.1}/metadata/raw/x86_64-13.3.fwinfo +0 -0
  30. {pyobjc-framework-UserNotificationsUI-9.2 → pyobjc-framework-UserNotificationsUI-10.1}/pyproject.toml +0 -0
  31. {pyobjc-framework-UserNotificationsUI-9.2 → pyobjc-framework-UserNotificationsUI-10.1}/setup.cfg +0 -0
@@ -0,0 +1,38 @@
1
+ """
2
+ Python mapping for the UserNotificationsUI framework.
3
+
4
+ This module does not contain docstrings for the wrapped code, check Apple's
5
+ documentation for details on how to use these functions and classes.
6
+ """
7
+
8
+
9
+ def _setup():
10
+ import sys
11
+
12
+ import AppKit
13
+ import UserNotifications
14
+ import objc
15
+ from . import _metadata
16
+
17
+ dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
18
+ name="UserNotificationsUI",
19
+ frameworkIdentifier="com.apple.UserNotificationsUI",
20
+ frameworkPath=objc.pathForFramework(
21
+ "/System/Library/Frameworks/UserNotificationsUI.framework"
22
+ ),
23
+ globals_dict=globals(),
24
+ inline_list=None,
25
+ parents=(
26
+ UserNotifications,
27
+ AppKit,
28
+ ),
29
+ metadict=_metadata.__dict__,
30
+ )
31
+
32
+ globals()["__dir__"] = dir_func
33
+ globals()["__getattr__"] = getattr_func
34
+
35
+ del sys.modules["UserNotificationsUI._metadata"]
36
+
37
+
38
+ globals().pop("_setup")()
@@ -1,6 +1,6 @@
1
1
  # This file is generated by objective.metadata
2
2
  #
3
- # Last update: Sat Feb 18 12:35:41 2023
3
+ # Last update: Sat Jul 1 13:56:18 2023
4
4
  #
5
5
  # flake8: noqa
6
6
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyobjc-framework-UserNotificationsUI
3
- Version: 9.2
3
+ Version: 10.1
4
4
  Summary: Wrappers for the framework UserNotificationsUI on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -18,17 +18,22 @@ Classifier: Operating System :: MacOS :: MacOS X
18
18
  Classifier: Programming Language :: Python
19
19
  Classifier: Programming Language :: Python :: 3
20
20
  Classifier: Programming Language :: Python :: 3 :: Only
21
- Classifier: Programming Language :: Python :: 3.7
22
21
  Classifier: Programming Language :: Python :: 3.8
23
22
  Classifier: Programming Language :: Python :: 3.9
24
23
  Classifier: Programming Language :: Python :: 3.10
25
24
  Classifier: Programming Language :: Python :: 3.11
25
+ Classifier: Programming Language :: Python :: 3.12
26
+ Classifier: Programming Language :: Python :: 3.13
26
27
  Classifier: Programming Language :: Python :: Implementation :: CPython
27
28
  Classifier: Programming Language :: Objective C
28
29
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
29
30
  Classifier: Topic :: Software Development :: User Interfaces
30
- Requires-Python: >=3.7
31
+ Requires-Python: >=3.8
31
32
  Description-Content-Type: text/x-rst; charset=UTF-8
33
+ Requires-Dist: pyobjc-core>=10.1
34
+ Requires-Dist: pyobjc-framework-Cocoa>=10.1
35
+ Requires-Dist: pyobjc-core>=10.1
36
+ Requires-Dist: pyobjc-framework-UserNotifications>=10.1
32
37
  Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
33
38
  Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
34
39
  Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
@@ -19,7 +19,9 @@ metadata/metadata.ini
19
19
  metadata/raw/arm64-12.0.fwinfo
20
20
  metadata/raw/arm64-12.3.fwinfo
21
21
  metadata/raw/arm64-13.3.fwinfo
22
+ metadata/raw/arm64-14.0.fwinfo
22
23
  metadata/raw/x86_64-10.16.fwinfo
23
24
  metadata/raw/x86_64-12.0.fwinfo
24
25
  metadata/raw/x86_64-12.3.fwinfo
25
- metadata/raw/x86_64-13.3.fwinfo
26
+ metadata/raw/x86_64-13.3.fwinfo
27
+ metadata/raw/x86_64-14.0.fwinfo
@@ -0,0 +1,4 @@
1
+ pyobjc-core>=10.1
2
+ pyobjc-framework-Cocoa>=10.1
3
+ pyobjc-core>=10.1
4
+ pyobjc-framework-UserNotifications>=10.1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyobjc-framework-UserNotificationsUI
3
- Version: 9.2
3
+ Version: 10.1
4
4
  Summary: Wrappers for the framework UserNotificationsUI on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -18,17 +18,22 @@ Classifier: Operating System :: MacOS :: MacOS X
18
18
  Classifier: Programming Language :: Python
19
19
  Classifier: Programming Language :: Python :: 3
20
20
  Classifier: Programming Language :: Python :: 3 :: Only
21
- Classifier: Programming Language :: Python :: 3.7
22
21
  Classifier: Programming Language :: Python :: 3.8
23
22
  Classifier: Programming Language :: Python :: 3.9
24
23
  Classifier: Programming Language :: Python :: 3.10
25
24
  Classifier: Programming Language :: Python :: 3.11
25
+ Classifier: Programming Language :: Python :: 3.12
26
+ Classifier: Programming Language :: Python :: 3.13
26
27
  Classifier: Programming Language :: Python :: Implementation :: CPython
27
28
  Classifier: Programming Language :: Objective C
28
29
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
29
30
  Classifier: Topic :: Software Development :: User Interfaces
30
- Requires-Python: >=3.7
31
+ Requires-Python: >=3.8
31
32
  Description-Content-Type: text/x-rst; charset=UTF-8
33
+ Requires-Dist: pyobjc-core>=10.1
34
+ Requires-Dist: pyobjc-framework-Cocoa>=10.1
35
+ Requires-Dist: pyobjc-core>=10.1
36
+ Requires-Dist: pyobjc-framework-UserNotifications>=10.1
32
37
 
33
38
 
34
39
  Wrappers for the "UserNotificationsUI" framework on macOS.
@@ -0,0 +1,274 @@
1
+ // GENERATED FILE DO NOT EDIT
2
+ //
3
+ // This file was generated by objective.metadata
4
+ // Last update: Sat Jul 1 13:56:18 2023
5
+ {
6
+ "arch": "arm64",
7
+ "definitions": {
8
+ "aliases": {},
9
+ "called_definitions": {},
10
+ "cftypes": {},
11
+ "classes": {
12
+ "NSExtensionContext": {
13
+ "methods": [
14
+ {
15
+ "args": [],
16
+ "class_method": false,
17
+ "retval": {
18
+ "typestr": "v",
19
+ "typestr_special": false
20
+ },
21
+ "selector": "performNotificationDefaultAction",
22
+ "visibility": "public"
23
+ },
24
+ {
25
+ "args": [],
26
+ "class_method": false,
27
+ "retval": {
28
+ "typestr": "v",
29
+ "typestr_special": false
30
+ },
31
+ "selector": "dismissNotificationContentExtension",
32
+ "visibility": "public"
33
+ },
34
+ {
35
+ "args": [],
36
+ "class_method": false,
37
+ "retval": {
38
+ "typestr": "v",
39
+ "typestr_special": false
40
+ },
41
+ "selector": "mediaPlayingStarted",
42
+ "visibility": "public"
43
+ },
44
+ {
45
+ "args": [],
46
+ "class_method": false,
47
+ "retval": {
48
+ "typestr": "v",
49
+ "typestr_special": false
50
+ },
51
+ "selector": "mediaPlayingPaused",
52
+ "visibility": "public"
53
+ },
54
+ {
55
+ "args": [],
56
+ "class_method": false,
57
+ "retval": {
58
+ "typestr": "@",
59
+ "typestr_special": false
60
+ },
61
+ "selector": "notificationActions",
62
+ "visibility": "public"
63
+ },
64
+ {
65
+ "args": [
66
+ {
67
+ "typestr": "@",
68
+ "typestr_special": false
69
+ }
70
+ ],
71
+ "class_method": false,
72
+ "retval": {
73
+ "typestr": "v",
74
+ "typestr_special": false
75
+ },
76
+ "selector": "setNotificationActions:",
77
+ "visibility": "public"
78
+ }
79
+ ],
80
+ "name": "NSExtensionContext",
81
+ "properties": [
82
+ {
83
+ "attributes": [
84
+ "copy",
85
+ "nonatomic"
86
+ ],
87
+ "name": "notificationActions",
88
+ "typestr": "@",
89
+ "typestr_special": false
90
+ }
91
+ ],
92
+ "protocols": []
93
+ }
94
+ },
95
+ "enum": {
96
+ "UNNotificationContentExtensionMediaPlayPauseButtonTypeDefault": 1,
97
+ "UNNotificationContentExtensionMediaPlayPauseButtonTypeNone": 0,
98
+ "UNNotificationContentExtensionMediaPlayPauseButtonTypeOverlay": 2,
99
+ "UNNotificationContentExtensionResponseOptionDismiss": 1,
100
+ "UNNotificationContentExtensionResponseOptionDismissAndForwardAction": 2,
101
+ "UNNotificationContentExtensionResponseOptionDoNotDismiss": 0
102
+ },
103
+ "enum_type": {
104
+ "UNNotificationContentExtensionMediaPlayPauseButtonType": {
105
+ "type": "Q"
106
+ },
107
+ "UNNotificationContentExtensionResponseOption": {
108
+ "type": "Q"
109
+ }
110
+ },
111
+ "expressions": {},
112
+ "externs": {},
113
+ "formal_protocols": {
114
+ "UNNotificationContentExtension": {
115
+ "implements": [
116
+ "NSObject"
117
+ ],
118
+ "methods": [
119
+ {
120
+ "args": [
121
+ {
122
+ "typestr": "@",
123
+ "typestr_special": false
124
+ }
125
+ ],
126
+ "class_method": false,
127
+ "required": true,
128
+ "retval": {
129
+ "typestr": "v",
130
+ "typestr_special": false
131
+ },
132
+ "selector": "didReceiveNotification:",
133
+ "visibility": "public"
134
+ },
135
+ {
136
+ "args": [
137
+ {
138
+ "typestr": "@",
139
+ "typestr_special": false
140
+ },
141
+ {
142
+ "callable": {
143
+ "arguments": {
144
+ "0": {
145
+ "type": "^v"
146
+ },
147
+ "1": {
148
+ "type": "Q"
149
+ }
150
+ },
151
+ "retval": {
152
+ "type": "v"
153
+ }
154
+ },
155
+ "typestr": "@?",
156
+ "typestr_special": false
157
+ }
158
+ ],
159
+ "class_method": false,
160
+ "required": false,
161
+ "retval": {
162
+ "typestr": "v",
163
+ "typestr_special": false
164
+ },
165
+ "selector": "didReceiveNotificationResponse:completionHandler:",
166
+ "visibility": "public"
167
+ },
168
+ {
169
+ "args": [],
170
+ "class_method": false,
171
+ "required": false,
172
+ "retval": {
173
+ "typestr": "v",
174
+ "typestr_special": false
175
+ },
176
+ "selector": "mediaPlay",
177
+ "visibility": "public"
178
+ },
179
+ {
180
+ "args": [],
181
+ "class_method": false,
182
+ "required": false,
183
+ "retval": {
184
+ "typestr": "v",
185
+ "typestr_special": false
186
+ },
187
+ "selector": "mediaPause",
188
+ "visibility": "public"
189
+ },
190
+ {
191
+ "args": [],
192
+ "class_method": false,
193
+ "required": false,
194
+ "retval": {
195
+ "typestr": "Q",
196
+ "typestr_special": false
197
+ },
198
+ "selector": "mediaPlayPauseButtonType",
199
+ "visibility": "public"
200
+ },
201
+ {
202
+ "args": [],
203
+ "class_method": false,
204
+ "required": false,
205
+ "retval": {
206
+ "typestr": "{CGRect={CGPoint=dd}{CGSize=dd}}",
207
+ "typestr_special": false
208
+ },
209
+ "selector": "mediaPlayPauseButtonFrame",
210
+ "visibility": "public"
211
+ },
212
+ {
213
+ "args": [],
214
+ "class_method": false,
215
+ "required": false,
216
+ "retval": {
217
+ "typestr": "@",
218
+ "typestr_special": false
219
+ },
220
+ "selector": "mediaPlayPauseButtonTintColor",
221
+ "visibility": "public"
222
+ }
223
+ ],
224
+ "properties": [
225
+ {
226
+ "attributes": [
227
+ "assign",
228
+ "nonatomic",
229
+ "readonly"
230
+ ],
231
+ "name": "mediaPlayPauseButtonType",
232
+ "typestr": "Q",
233
+ "typestr_special": false
234
+ },
235
+ {
236
+ "attributes": [
237
+ "assign",
238
+ "nonatomic",
239
+ "readonly"
240
+ ],
241
+ "name": "mediaPlayPauseButtonFrame",
242
+ "typestr": "{CGRect={CGPoint=dd}{CGSize=dd}}",
243
+ "typestr_special": false
244
+ },
245
+ {
246
+ "attributes": [
247
+ "copy",
248
+ "nonatomic",
249
+ "readonly"
250
+ ],
251
+ "name": "mediaPlayPauseButtonTintColor",
252
+ "typestr": "@",
253
+ "typestr_special": false
254
+ }
255
+ ]
256
+ }
257
+ },
258
+ "func_macros": {},
259
+ "functions": {},
260
+ "informal_protocols": {},
261
+ "literals": {},
262
+ "structs": {},
263
+ "typedefs": {
264
+ "UNNotificationContentExtensionMediaPlayPauseButtonType": "enum UNNotificationContentExtensionMediaPlayPauseButtonType",
265
+ "UNNotificationContentExtensionResponseOption": "enum UNNotificationContentExtensionResponseOption"
266
+ }
267
+ },
268
+ "framework": "UserNotificationsUI",
269
+ "headers": [
270
+ "UNNotificationContentExtension.h"
271
+ ],
272
+ "release": "10.16",
273
+ "sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"
274
+ }
@@ -0,0 +1,274 @@
1
+ // GENERATED FILE DO NOT EDIT
2
+ //
3
+ // This file was generated by objective.metadata
4
+ // Last update: Sat Jul 1 13:56:15 2023
5
+ {
6
+ "arch": "x86_64",
7
+ "definitions": {
8
+ "aliases": {},
9
+ "called_definitions": {},
10
+ "cftypes": {},
11
+ "classes": {
12
+ "NSExtensionContext": {
13
+ "methods": [
14
+ {
15
+ "args": [],
16
+ "class_method": false,
17
+ "retval": {
18
+ "typestr": "v",
19
+ "typestr_special": false
20
+ },
21
+ "selector": "performNotificationDefaultAction",
22
+ "visibility": "public"
23
+ },
24
+ {
25
+ "args": [],
26
+ "class_method": false,
27
+ "retval": {
28
+ "typestr": "v",
29
+ "typestr_special": false
30
+ },
31
+ "selector": "dismissNotificationContentExtension",
32
+ "visibility": "public"
33
+ },
34
+ {
35
+ "args": [],
36
+ "class_method": false,
37
+ "retval": {
38
+ "typestr": "v",
39
+ "typestr_special": false
40
+ },
41
+ "selector": "mediaPlayingStarted",
42
+ "visibility": "public"
43
+ },
44
+ {
45
+ "args": [],
46
+ "class_method": false,
47
+ "retval": {
48
+ "typestr": "v",
49
+ "typestr_special": false
50
+ },
51
+ "selector": "mediaPlayingPaused",
52
+ "visibility": "public"
53
+ },
54
+ {
55
+ "args": [],
56
+ "class_method": false,
57
+ "retval": {
58
+ "typestr": "@",
59
+ "typestr_special": false
60
+ },
61
+ "selector": "notificationActions",
62
+ "visibility": "public"
63
+ },
64
+ {
65
+ "args": [
66
+ {
67
+ "typestr": "@",
68
+ "typestr_special": false
69
+ }
70
+ ],
71
+ "class_method": false,
72
+ "retval": {
73
+ "typestr": "v",
74
+ "typestr_special": false
75
+ },
76
+ "selector": "setNotificationActions:",
77
+ "visibility": "public"
78
+ }
79
+ ],
80
+ "name": "NSExtensionContext",
81
+ "properties": [
82
+ {
83
+ "attributes": [
84
+ "copy",
85
+ "nonatomic"
86
+ ],
87
+ "name": "notificationActions",
88
+ "typestr": "@",
89
+ "typestr_special": false
90
+ }
91
+ ],
92
+ "protocols": []
93
+ }
94
+ },
95
+ "enum": {
96
+ "UNNotificationContentExtensionMediaPlayPauseButtonTypeDefault": 1,
97
+ "UNNotificationContentExtensionMediaPlayPauseButtonTypeNone": 0,
98
+ "UNNotificationContentExtensionMediaPlayPauseButtonTypeOverlay": 2,
99
+ "UNNotificationContentExtensionResponseOptionDismiss": 1,
100
+ "UNNotificationContentExtensionResponseOptionDismissAndForwardAction": 2,
101
+ "UNNotificationContentExtensionResponseOptionDoNotDismiss": 0
102
+ },
103
+ "enum_type": {
104
+ "UNNotificationContentExtensionMediaPlayPauseButtonType": {
105
+ "type": "Q"
106
+ },
107
+ "UNNotificationContentExtensionResponseOption": {
108
+ "type": "Q"
109
+ }
110
+ },
111
+ "expressions": {},
112
+ "externs": {},
113
+ "formal_protocols": {
114
+ "UNNotificationContentExtension": {
115
+ "implements": [
116
+ "NSObject"
117
+ ],
118
+ "methods": [
119
+ {
120
+ "args": [
121
+ {
122
+ "typestr": "@",
123
+ "typestr_special": false
124
+ }
125
+ ],
126
+ "class_method": false,
127
+ "required": true,
128
+ "retval": {
129
+ "typestr": "v",
130
+ "typestr_special": false
131
+ },
132
+ "selector": "didReceiveNotification:",
133
+ "visibility": "public"
134
+ },
135
+ {
136
+ "args": [
137
+ {
138
+ "typestr": "@",
139
+ "typestr_special": false
140
+ },
141
+ {
142
+ "callable": {
143
+ "arguments": {
144
+ "0": {
145
+ "type": "^v"
146
+ },
147
+ "1": {
148
+ "type": "Q"
149
+ }
150
+ },
151
+ "retval": {
152
+ "type": "v"
153
+ }
154
+ },
155
+ "typestr": "@?",
156
+ "typestr_special": false
157
+ }
158
+ ],
159
+ "class_method": false,
160
+ "required": false,
161
+ "retval": {
162
+ "typestr": "v",
163
+ "typestr_special": false
164
+ },
165
+ "selector": "didReceiveNotificationResponse:completionHandler:",
166
+ "visibility": "public"
167
+ },
168
+ {
169
+ "args": [],
170
+ "class_method": false,
171
+ "required": false,
172
+ "retval": {
173
+ "typestr": "v",
174
+ "typestr_special": false
175
+ },
176
+ "selector": "mediaPlay",
177
+ "visibility": "public"
178
+ },
179
+ {
180
+ "args": [],
181
+ "class_method": false,
182
+ "required": false,
183
+ "retval": {
184
+ "typestr": "v",
185
+ "typestr_special": false
186
+ },
187
+ "selector": "mediaPause",
188
+ "visibility": "public"
189
+ },
190
+ {
191
+ "args": [],
192
+ "class_method": false,
193
+ "required": false,
194
+ "retval": {
195
+ "typestr": "Q",
196
+ "typestr_special": false
197
+ },
198
+ "selector": "mediaPlayPauseButtonType",
199
+ "visibility": "public"
200
+ },
201
+ {
202
+ "args": [],
203
+ "class_method": false,
204
+ "required": false,
205
+ "retval": {
206
+ "typestr": "{CGRect={CGPoint=dd}{CGSize=dd}}",
207
+ "typestr_special": false
208
+ },
209
+ "selector": "mediaPlayPauseButtonFrame",
210
+ "visibility": "public"
211
+ },
212
+ {
213
+ "args": [],
214
+ "class_method": false,
215
+ "required": false,
216
+ "retval": {
217
+ "typestr": "@",
218
+ "typestr_special": false
219
+ },
220
+ "selector": "mediaPlayPauseButtonTintColor",
221
+ "visibility": "public"
222
+ }
223
+ ],
224
+ "properties": [
225
+ {
226
+ "attributes": [
227
+ "assign",
228
+ "nonatomic",
229
+ "readonly"
230
+ ],
231
+ "name": "mediaPlayPauseButtonType",
232
+ "typestr": "Q",
233
+ "typestr_special": false
234
+ },
235
+ {
236
+ "attributes": [
237
+ "assign",
238
+ "nonatomic",
239
+ "readonly"
240
+ ],
241
+ "name": "mediaPlayPauseButtonFrame",
242
+ "typestr": "{CGRect={CGPoint=dd}{CGSize=dd}}",
243
+ "typestr_special": false
244
+ },
245
+ {
246
+ "attributes": [
247
+ "copy",
248
+ "nonatomic",
249
+ "readonly"
250
+ ],
251
+ "name": "mediaPlayPauseButtonTintColor",
252
+ "typestr": "@",
253
+ "typestr_special": false
254
+ }
255
+ ]
256
+ }
257
+ },
258
+ "func_macros": {},
259
+ "functions": {},
260
+ "informal_protocols": {},
261
+ "literals": {},
262
+ "structs": {},
263
+ "typedefs": {
264
+ "UNNotificationContentExtensionMediaPlayPauseButtonType": "enum UNNotificationContentExtensionMediaPlayPauseButtonType",
265
+ "UNNotificationContentExtensionResponseOption": "enum UNNotificationContentExtensionResponseOption"
266
+ }
267
+ },
268
+ "framework": "UserNotificationsUI",
269
+ "headers": [
270
+ "UNNotificationContentExtension.h"
271
+ ],
272
+ "release": "10.16",
273
+ "sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"
274
+ }
@@ -208,11 +208,12 @@ Operating System :: MacOS :: MacOS X
208
208
  Programming Language :: Python
209
209
  Programming Language :: Python :: 3
210
210
  Programming Language :: Python :: 3 :: Only
211
- Programming Language :: Python :: 3.7
212
211
  Programming Language :: Python :: 3.8
213
212
  Programming Language :: Python :: 3.9
214
213
  Programming Language :: Python :: 3.10
215
214
  Programming Language :: Python :: 3.11
215
+ Programming Language :: Python :: 3.12
216
+ Programming Language :: Python :: 3.13
216
217
  Programming Language :: Python :: Implementation :: CPython
217
218
  Programming Language :: Objective C
218
219
  Topic :: Software Development :: Libraries :: Python Modules
@@ -510,6 +511,15 @@ def Extension(*args, **kwds):
510
511
  % (tuple(map(int, os_level.split(".")[:2])))
511
512
  )
512
513
 
514
+ # XCode 15 has a bug w.r.t. weak linking for older macOS versions,
515
+ # fall back to older linker when using that compiler.
516
+ # XXX: This should be in _fixup_compiler but doesn't work there...
517
+ lines = subprocess.check_output(["xcodebuild", "-version"], text=True).splitlines()
518
+ if lines[0].startswith("Xcode"):
519
+ xcode_vers = int(lines[0].split()[-1].split(".")[0])
520
+ if xcode_vers >= 15:
521
+ ldflags.append("-Wl,-ld_classic")
522
+
513
523
  if os_level == "10.4":
514
524
  cflags.append("-DNO_OBJC2_RUNTIME")
515
525
 
@@ -567,19 +577,19 @@ def setup(min_os_level=None, max_os_level=None, cmdclass=None, **kwds):
567
577
  if min_os_level is not None:
568
578
  if max_os_level is not None:
569
579
  msg = (
570
- "This distribution is only supported on MacOSX "
580
+ "This distribution is only supported on macOS "
571
581
  "versions %s up to and including %s" % (min_os_level, max_os_level)
572
582
  )
573
583
  else:
574
- msg = "This distribution is only supported on MacOSX >= {}".format(
584
+ msg = "This distribution is only supported on macOS >= {}".format(
575
585
  min_os_level,
576
586
  )
577
587
  elif max_os_level is not None:
578
- msg = "This distribution is only supported on MacOSX <= {}".format(
588
+ msg = "This distribution is only supported on macOS <= {}".format(
579
589
  max_os_level,
580
590
  )
581
591
  else:
582
- msg = "This distribution is only supported on MacOSX"
592
+ msg = "This distribution is only supported on macOS"
583
593
 
584
594
  def create_command_subclass(base_class):
585
595
  class subcommand(base_class):
@@ -661,7 +671,7 @@ def setup(min_os_level=None, max_os_level=None, cmdclass=None, **kwds):
661
671
  zip_safe=False,
662
672
  license="MIT License",
663
673
  classifiers=CLASSIFIERS,
664
- python_requires=">=3.7",
674
+ python_requires=">=3.8",
665
675
  keywords=["PyObjC"] + [p for p in k["packages"] if p not in ("PyObjCTools",)],
666
676
  **k,
667
677
  )
@@ -15,7 +15,7 @@ sys.path.insert(0, os.path.dirname(__file__))
15
15
 
16
16
  from pyobjc_setup import setup # noqa: E402
17
17
 
18
- VERSION = "9.2"
18
+ VERSION = "10.1"
19
19
 
20
20
  setup(
21
21
  name="pyobjc-framework-UserNotificationsUI",
@@ -1,31 +0,0 @@
1
- """
2
- Python mapping for the UserNotificationsUI framework.
3
-
4
- This module does not contain docstrings for the wrapped code, check Apple's
5
- documentation for details on how to use these functions and classes.
6
- """
7
-
8
- import sys
9
-
10
- import Cocoa
11
- import UserNotifications
12
- import objc
13
- from UserNotificationsUI import _metadata
14
-
15
- sys.modules["UserNotificationsUI"] = mod = objc.ObjCLazyModule(
16
- "UserNotificationsUI",
17
- "com.apple.UserNotificationsUI",
18
- objc.pathForFramework("/System/Library/Frameworks/UserNotificationsUI.framework"),
19
- _metadata.__dict__,
20
- None,
21
- {
22
- "__doc__": __doc__,
23
- "objc": objc,
24
- "__path__": __path__,
25
- "__loader__": globals().get("__loader__", None),
26
- },
27
- (UserNotifications, Cocoa),
28
- )
29
-
30
-
31
- del sys.modules["UserNotificationsUI._metadata"]
@@ -1,4 +0,0 @@
1
- pyobjc-core>=9.2
2
- pyobjc-framework-Cocoa>=9.2
3
- pyobjc-core>=9.2
4
- pyobjc-framework-UserNotifications>=9.2