pyobjc-framework-Social 9.2__tar.gz → 10.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 (34) hide show
  1. pyobjc-framework-Social-10.0/Lib/Social/__init__.py +34 -0
  2. {pyobjc-framework-Social-9.2 → pyobjc-framework-Social-10.0}/Lib/Social/_metadata.py +2 -1
  3. {pyobjc-framework-Social-9.2 → pyobjc-framework-Social-10.0}/Lib/pyobjc_framework_Social.egg-info/PKG-INFO +5 -3
  4. {pyobjc-framework-Social-9.2 → pyobjc-framework-Social-10.0}/Lib/pyobjc_framework_Social.egg-info/SOURCES.txt +3 -1
  5. pyobjc-framework-Social-10.0/Lib/pyobjc_framework_Social.egg-info/requires.txt +2 -0
  6. {pyobjc-framework-Social-9.2 → pyobjc-framework-Social-10.0}/PKG-INFO +5 -3
  7. pyobjc-framework-Social-10.0/metadata/raw/arm64-14.0.fwinfo +452 -0
  8. pyobjc-framework-Social-10.0/metadata/raw/x86_64-14.0.fwinfo +452 -0
  9. {pyobjc-framework-Social-9.2 → pyobjc-framework-Social-10.0}/pyobjc_setup.py +11 -2
  10. {pyobjc-framework-Social-9.2 → pyobjc-framework-Social-10.0}/setup.py +1 -1
  11. pyobjc-framework-Social-9.2/Lib/Social/__init__.py +0 -30
  12. pyobjc-framework-Social-9.2/Lib/pyobjc_framework_Social.egg-info/requires.txt +0 -2
  13. {pyobjc-framework-Social-9.2 → pyobjc-framework-Social-10.0}/LICENSE.txt +0 -0
  14. {pyobjc-framework-Social-9.2 → pyobjc-framework-Social-10.0}/Lib/pyobjc_framework_Social.egg-info/dependency_links.txt +0 -0
  15. {pyobjc-framework-Social-9.2 → pyobjc-framework-Social-10.0}/Lib/pyobjc_framework_Social.egg-info/not-zip-safe +0 -0
  16. {pyobjc-framework-Social-9.2 → pyobjc-framework-Social-10.0}/Lib/pyobjc_framework_Social.egg-info/top_level.txt +0 -0
  17. {pyobjc-framework-Social-9.2 → pyobjc-framework-Social-10.0}/MANIFEST.in +0 -0
  18. {pyobjc-framework-Social-9.2 → pyobjc-framework-Social-10.0}/PyObjCTest/__init__.py +0 -0
  19. {pyobjc-framework-Social-9.2 → pyobjc-framework-Social-10.0}/PyObjCTest/test_slcomposeserviceviewcontroller.py +0 -0
  20. {pyobjc-framework-Social-9.2 → pyobjc-framework-Social-10.0}/PyObjCTest/test_slrequest.py +0 -0
  21. {pyobjc-framework-Social-9.2 → pyobjc-framework-Social-10.0}/PyObjCTest/test_slservicetypes.py +0 -0
  22. {pyobjc-framework-Social-9.2 → pyobjc-framework-Social-10.0}/PyObjCTest/test_social.py +0 -0
  23. {pyobjc-framework-Social-9.2 → pyobjc-framework-Social-10.0}/README.txt +0 -0
  24. {pyobjc-framework-Social-9.2 → pyobjc-framework-Social-10.0}/metadata/Social.fwinfo +0 -0
  25. {pyobjc-framework-Social-9.2 → pyobjc-framework-Social-10.0}/metadata/metadata.ini +0 -0
  26. {pyobjc-framework-Social-9.2 → pyobjc-framework-Social-10.0}/metadata/raw/arm64-12.0.fwinfo +0 -0
  27. {pyobjc-framework-Social-9.2 → pyobjc-framework-Social-10.0}/metadata/raw/arm64-12.3.fwinfo +0 -0
  28. {pyobjc-framework-Social-9.2 → pyobjc-framework-Social-10.0}/metadata/raw/x86_64-10.10.fwinfo +0 -0
  29. {pyobjc-framework-Social-9.2 → pyobjc-framework-Social-10.0}/metadata/raw/x86_64-10.16.fwinfo +0 -0
  30. {pyobjc-framework-Social-9.2 → pyobjc-framework-Social-10.0}/metadata/raw/x86_64-10.8.fwinfo +0 -0
  31. {pyobjc-framework-Social-9.2 → pyobjc-framework-Social-10.0}/metadata/raw/x86_64-12.0.fwinfo +0 -0
  32. {pyobjc-framework-Social-9.2 → pyobjc-framework-Social-10.0}/metadata/raw/x86_64-12.3.fwinfo +0 -0
  33. {pyobjc-framework-Social-9.2 → pyobjc-framework-Social-10.0}/pyproject.toml +0 -0
  34. {pyobjc-framework-Social-9.2 → pyobjc-framework-Social-10.0}/setup.cfg +0 -0
@@ -0,0 +1,34 @@
1
+ """
2
+ Python mapping for the Social 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 Foundation
13
+ import objc
14
+ from . import _metadata
15
+
16
+ dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
17
+ name="Social",
18
+ frameworkIdentifier="com.apple.sociald.Social",
19
+ frameworkPath=objc.pathForFramework(
20
+ "/System/Library/Frameworks/Social.framework"
21
+ ),
22
+ globals_dict=globals(),
23
+ inline_list=None,
24
+ parents=(Foundation,),
25
+ metadict=_metadata.__dict__,
26
+ )
27
+
28
+ globals()["__dir__"] = dir_func
29
+ globals()["__getattr__"] = getattr_func
30
+
31
+ del sys.modules["Social._metadata"]
32
+
33
+
34
+ globals().pop("_setup")()
@@ -1,6 +1,6 @@
1
1
  # This file is generated by objective.metadata
2
2
  #
3
- # Last update: Sun Feb 20 19:23:56 2022
3
+ # Last update: Sat Jul 1 14:12:13 2023
4
4
  #
5
5
  # flake8: noqa
6
6
 
@@ -34,6 +34,7 @@ constants = """$SLServiceTypeFacebook$SLServiceTypeLinkedIn$SLServiceTypeSinaWei
34
34
  enums = """$SLRequestMethodDELETE@2$SLRequestMethodGET@0$SLRequestMethodPOST@1$SLRequestMethodPUT@3$"""
35
35
  misc.update({"SLRequestMethod": NewType("SLRequestMethod", int)})
36
36
  misc.update({})
37
+ misc.update({})
37
38
  r = objc.registerMetaDataForSelector
38
39
  objc._updatingMetadata(True)
39
40
  try:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyobjc-framework-Social
3
- Version: 9.2
3
+ Version: 10.0
4
4
  Summary: Wrappers for the framework Social on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -18,18 +18,20 @@ 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
26
  Classifier: Programming Language :: Python :: Implementation :: CPython
27
27
  Classifier: Programming Language :: Objective C
28
28
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
29
29
  Classifier: Topic :: Software Development :: User Interfaces
30
- Requires-Python: >=3.7
30
+ Requires-Python: >=3.8
31
31
  Description-Content-Type: text/x-rst; charset=UTF-8
32
32
  License-File: LICENSE.txt
33
+ Requires-Dist: pyobjc-core>=10.0
34
+ Requires-Dist: pyobjc-framework-Cocoa>=10.0
33
35
  Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
34
36
  Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
35
37
  Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
@@ -21,8 +21,10 @@ metadata/Social.fwinfo
21
21
  metadata/metadata.ini
22
22
  metadata/raw/arm64-12.0.fwinfo
23
23
  metadata/raw/arm64-12.3.fwinfo
24
+ metadata/raw/arm64-14.0.fwinfo
24
25
  metadata/raw/x86_64-10.10.fwinfo
25
26
  metadata/raw/x86_64-10.16.fwinfo
26
27
  metadata/raw/x86_64-10.8.fwinfo
27
28
  metadata/raw/x86_64-12.0.fwinfo
28
- metadata/raw/x86_64-12.3.fwinfo
29
+ metadata/raw/x86_64-12.3.fwinfo
30
+ metadata/raw/x86_64-14.0.fwinfo
@@ -0,0 +1,2 @@
1
+ pyobjc-core>=10.0
2
+ pyobjc-framework-Cocoa>=10.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyobjc-framework-Social
3
- Version: 9.2
3
+ Version: 10.0
4
4
  Summary: Wrappers for the framework Social on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -18,18 +18,20 @@ 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
26
  Classifier: Programming Language :: Python :: Implementation :: CPython
27
27
  Classifier: Programming Language :: Objective C
28
28
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
29
29
  Classifier: Topic :: Software Development :: User Interfaces
30
- Requires-Python: >=3.7
30
+ Requires-Python: >=3.8
31
31
  Description-Content-Type: text/x-rst; charset=UTF-8
32
32
  License-File: LICENSE.txt
33
+ Requires-Dist: pyobjc-core>=10.0
34
+ Requires-Dist: pyobjc-framework-Cocoa>=10.0
33
35
 
34
36
 
35
37
  Wrappers for the "Social" framework on macOS 10.8 or later.
@@ -0,0 +1,452 @@
1
+ // GENERATED FILE DO NOT EDIT
2
+ //
3
+ // This file was generated by objective.metadata
4
+ // Last update: Sat Jul 1 14:12:13 2023
5
+ {
6
+ "arch": "arm64",
7
+ "definitions": {
8
+ "aliases": {},
9
+ "called_definitions": {},
10
+ "cftypes": {},
11
+ "classes": {
12
+ "SLComposeServiceViewController": {
13
+ "categories": [],
14
+ "methods": [
15
+ {
16
+ "args": [],
17
+ "class_method": false,
18
+ "retval": {
19
+ "typestr": "v",
20
+ "typestr_special": false
21
+ },
22
+ "selector": "presentationAnimationDidFinish",
23
+ "visibility": "public"
24
+ },
25
+ {
26
+ "args": [],
27
+ "class_method": false,
28
+ "retval": {
29
+ "typestr": "v",
30
+ "typestr_special": false
31
+ },
32
+ "selector": "didSelectPost",
33
+ "visibility": "public"
34
+ },
35
+ {
36
+ "args": [],
37
+ "class_method": false,
38
+ "retval": {
39
+ "typestr": "v",
40
+ "typestr_special": false
41
+ },
42
+ "selector": "didSelectCancel",
43
+ "visibility": "public"
44
+ },
45
+ {
46
+ "args": [],
47
+ "class_method": false,
48
+ "retval": {
49
+ "typestr": "v",
50
+ "typestr_special": false
51
+ },
52
+ "selector": "cancel",
53
+ "visibility": "public"
54
+ },
55
+ {
56
+ "args": [],
57
+ "class_method": false,
58
+ "retval": {
59
+ "typestr": "Z",
60
+ "typestr_special": true
61
+ },
62
+ "selector": "isContentValid",
63
+ "visibility": "public"
64
+ },
65
+ {
66
+ "args": [],
67
+ "class_method": false,
68
+ "retval": {
69
+ "typestr": "v",
70
+ "typestr_special": false
71
+ },
72
+ "selector": "validateContent",
73
+ "visibility": "public"
74
+ },
75
+ {
76
+ "args": [],
77
+ "class_method": false,
78
+ "retval": {
79
+ "typestr": "@",
80
+ "typestr_special": false
81
+ },
82
+ "selector": "textView",
83
+ "visibility": "public"
84
+ },
85
+ {
86
+ "args": [],
87
+ "class_method": false,
88
+ "retval": {
89
+ "typestr": "@",
90
+ "typestr_special": false
91
+ },
92
+ "selector": "contentText",
93
+ "visibility": "public"
94
+ },
95
+ {
96
+ "args": [],
97
+ "class_method": false,
98
+ "retval": {
99
+ "typestr": "@",
100
+ "typestr_special": false
101
+ },
102
+ "selector": "placeholder",
103
+ "visibility": "public"
104
+ },
105
+ {
106
+ "args": [
107
+ {
108
+ "typestr": "@",
109
+ "typestr_special": false
110
+ }
111
+ ],
112
+ "class_method": false,
113
+ "retval": {
114
+ "typestr": "v",
115
+ "typestr_special": false
116
+ },
117
+ "selector": "setPlaceholder:",
118
+ "visibility": "public"
119
+ },
120
+ {
121
+ "args": [],
122
+ "class_method": false,
123
+ "retval": {
124
+ "typestr": "@",
125
+ "typestr_special": false
126
+ },
127
+ "selector": "charactersRemaining",
128
+ "visibility": "public"
129
+ },
130
+ {
131
+ "args": [
132
+ {
133
+ "typestr": "@",
134
+ "typestr_special": false
135
+ }
136
+ ],
137
+ "class_method": false,
138
+ "retval": {
139
+ "typestr": "v",
140
+ "typestr_special": false
141
+ },
142
+ "selector": "setCharactersRemaining:",
143
+ "visibility": "public"
144
+ }
145
+ ],
146
+ "name": "SLComposeServiceViewController",
147
+ "properties": [
148
+ {
149
+ "attributes": [
150
+ "readonly"
151
+ ],
152
+ "name": "textView",
153
+ "typestr": "@",
154
+ "typestr_special": false
155
+ },
156
+ {
157
+ "attributes": [
158
+ "atomic",
159
+ "readonly"
160
+ ],
161
+ "name": "contentText",
162
+ "typestr": "@",
163
+ "typestr_special": false
164
+ },
165
+ {
166
+ "attributes": [
167
+ "atomic",
168
+ "copy"
169
+ ],
170
+ "name": "placeholder",
171
+ "typestr": "@",
172
+ "typestr_special": false
173
+ },
174
+ {
175
+ "attributes": [
176
+ "atomic",
177
+ "strong"
178
+ ],
179
+ "name": "charactersRemaining",
180
+ "typestr": "@",
181
+ "typestr_special": false
182
+ }
183
+ ],
184
+ "protocols": [
185
+ "NSTextViewDelegate"
186
+ ],
187
+ "super": "NSViewController"
188
+ },
189
+ "SLRequest": {
190
+ "categories": [],
191
+ "methods": [
192
+ {
193
+ "args": [
194
+ {
195
+ "typestr": "@",
196
+ "typestr_special": false
197
+ },
198
+ {
199
+ "typestr": "q",
200
+ "typestr_special": false
201
+ },
202
+ {
203
+ "typestr": "@",
204
+ "typestr_special": false
205
+ },
206
+ {
207
+ "typestr": "@",
208
+ "typestr_special": false
209
+ }
210
+ ],
211
+ "class_method": true,
212
+ "retval": {
213
+ "typestr": "@",
214
+ "typestr_special": false
215
+ },
216
+ "selector": "requestForServiceType:requestMethod:URL:parameters:",
217
+ "visibility": "public"
218
+ },
219
+ {
220
+ "args": [
221
+ {
222
+ "typestr": "@",
223
+ "typestr_special": false
224
+ },
225
+ {
226
+ "typestr": "@",
227
+ "typestr_special": false
228
+ },
229
+ {
230
+ "typestr": "@",
231
+ "typestr_special": false
232
+ },
233
+ {
234
+ "typestr": "@",
235
+ "typestr_special": false
236
+ }
237
+ ],
238
+ "class_method": false,
239
+ "retval": {
240
+ "typestr": "v",
241
+ "typestr_special": false
242
+ },
243
+ "selector": "addMultipartData:withName:type:filename:",
244
+ "visibility": "public"
245
+ },
246
+ {
247
+ "args": [
248
+ {
249
+ "typestr": "@",
250
+ "typestr_special": false
251
+ },
252
+ {
253
+ "typestr": "@",
254
+ "typestr_special": false
255
+ },
256
+ {
257
+ "typestr": "@",
258
+ "typestr_special": false
259
+ }
260
+ ],
261
+ "class_method": false,
262
+ "retval": {
263
+ "typestr": "v",
264
+ "typestr_special": false
265
+ },
266
+ "selector": "addMultipartData:withName:type:",
267
+ "visibility": "public"
268
+ },
269
+ {
270
+ "args": [],
271
+ "class_method": false,
272
+ "retval": {
273
+ "typestr": "@",
274
+ "typestr_special": false
275
+ },
276
+ "selector": "preparedURLRequest",
277
+ "visibility": "public"
278
+ },
279
+ {
280
+ "args": [
281
+ {
282
+ "callable": {
283
+ "arguments": {
284
+ "0": {
285
+ "type": "^v"
286
+ }
287
+ },
288
+ "retval": {
289
+ "type": "@?"
290
+ }
291
+ },
292
+ "typestr": "@?",
293
+ "typestr_special": false
294
+ }
295
+ ],
296
+ "class_method": false,
297
+ "retval": {
298
+ "typestr": "v",
299
+ "typestr_special": false
300
+ },
301
+ "selector": "performRequestWithHandler:",
302
+ "visibility": "public"
303
+ },
304
+ {
305
+ "args": [],
306
+ "class_method": false,
307
+ "retval": {
308
+ "typestr": "@",
309
+ "typestr_special": false
310
+ },
311
+ "selector": "account",
312
+ "visibility": "public"
313
+ },
314
+ {
315
+ "args": [
316
+ {
317
+ "typestr": "@",
318
+ "typestr_special": false
319
+ }
320
+ ],
321
+ "class_method": false,
322
+ "retval": {
323
+ "typestr": "v",
324
+ "typestr_special": false
325
+ },
326
+ "selector": "setAccount:",
327
+ "visibility": "public"
328
+ },
329
+ {
330
+ "args": [],
331
+ "class_method": false,
332
+ "retval": {
333
+ "typestr": "q",
334
+ "typestr_special": false
335
+ },
336
+ "selector": "requestMethod",
337
+ "visibility": "public"
338
+ },
339
+ {
340
+ "args": [],
341
+ "class_method": false,
342
+ "retval": {
343
+ "typestr": "@",
344
+ "typestr_special": false
345
+ },
346
+ "selector": "URL",
347
+ "visibility": "public"
348
+ },
349
+ {
350
+ "args": [],
351
+ "class_method": false,
352
+ "retval": {
353
+ "typestr": "@",
354
+ "typestr_special": false
355
+ },
356
+ "selector": "parameters",
357
+ "visibility": "public"
358
+ }
359
+ ],
360
+ "name": "SLRequest",
361
+ "properties": [
362
+ {
363
+ "attributes": [
364
+ "nonatomic",
365
+ "retain"
366
+ ],
367
+ "name": "account",
368
+ "typestr": "@",
369
+ "typestr_special": false
370
+ },
371
+ {
372
+ "attributes": [
373
+ "nonatomic",
374
+ "readonly"
375
+ ],
376
+ "name": "requestMethod",
377
+ "typestr": "q",
378
+ "typestr_special": false
379
+ },
380
+ {
381
+ "attributes": [
382
+ "nonatomic",
383
+ "readonly"
384
+ ],
385
+ "name": "URL",
386
+ "typestr": "@",
387
+ "typestr_special": false
388
+ },
389
+ {
390
+ "attributes": [
391
+ "nonatomic",
392
+ "readonly"
393
+ ],
394
+ "name": "parameters",
395
+ "typestr": "@",
396
+ "typestr_special": false
397
+ }
398
+ ],
399
+ "protocols": [],
400
+ "super": "NSObject"
401
+ }
402
+ },
403
+ "enum": {
404
+ "SLRequestMethodDELETE": 2,
405
+ "SLRequestMethodGET": 0,
406
+ "SLRequestMethodPOST": 1,
407
+ "SLRequestMethodPUT": 3
408
+ },
409
+ "enum_type": {
410
+ "SLRequestMethod": {
411
+ "type": "q"
412
+ }
413
+ },
414
+ "expressions": {},
415
+ "externs": {
416
+ "SLServiceTypeFacebook": {
417
+ "typestr": "@"
418
+ },
419
+ "SLServiceTypeLinkedIn": {
420
+ "typestr": "@"
421
+ },
422
+ "SLServiceTypeSinaWeibo": {
423
+ "typestr": "@"
424
+ },
425
+ "SLServiceTypeTencentWeibo": {
426
+ "typestr": "@"
427
+ },
428
+ "SLServiceTypeTwitter": {
429
+ "typestr": "@"
430
+ }
431
+ },
432
+ "formal_protocols": {},
433
+ "func_macros": {},
434
+ "functions": {},
435
+ "informal_protocols": {},
436
+ "literals": {},
437
+ "structs": {},
438
+ "typedefs": {
439
+ "SLRequestHandler": "void (^)(NSData *, NSHTTPURLResponse *, NSError *)",
440
+ "SLRequestMethod": "enum SLRequestMethod"
441
+ }
442
+ },
443
+ "framework": "Social",
444
+ "headers": [
445
+ "SLComposeServiceViewController.h",
446
+ "SLRequest.h",
447
+ "SLServiceTypes.h",
448
+ "SocialDefines.h"
449
+ ],
450
+ "release": "10.16",
451
+ "sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"
452
+ }
@@ -0,0 +1,452 @@
1
+ // GENERATED FILE DO NOT EDIT
2
+ //
3
+ // This file was generated by objective.metadata
4
+ // Last update: Sat Jul 1 14:12:10 2023
5
+ {
6
+ "arch": "x86_64",
7
+ "definitions": {
8
+ "aliases": {},
9
+ "called_definitions": {},
10
+ "cftypes": {},
11
+ "classes": {
12
+ "SLComposeServiceViewController": {
13
+ "categories": [],
14
+ "methods": [
15
+ {
16
+ "args": [],
17
+ "class_method": false,
18
+ "retval": {
19
+ "typestr": "v",
20
+ "typestr_special": false
21
+ },
22
+ "selector": "presentationAnimationDidFinish",
23
+ "visibility": "public"
24
+ },
25
+ {
26
+ "args": [],
27
+ "class_method": false,
28
+ "retval": {
29
+ "typestr": "v",
30
+ "typestr_special": false
31
+ },
32
+ "selector": "didSelectPost",
33
+ "visibility": "public"
34
+ },
35
+ {
36
+ "args": [],
37
+ "class_method": false,
38
+ "retval": {
39
+ "typestr": "v",
40
+ "typestr_special": false
41
+ },
42
+ "selector": "didSelectCancel",
43
+ "visibility": "public"
44
+ },
45
+ {
46
+ "args": [],
47
+ "class_method": false,
48
+ "retval": {
49
+ "typestr": "v",
50
+ "typestr_special": false
51
+ },
52
+ "selector": "cancel",
53
+ "visibility": "public"
54
+ },
55
+ {
56
+ "args": [],
57
+ "class_method": false,
58
+ "retval": {
59
+ "typestr": "Z",
60
+ "typestr_special": true
61
+ },
62
+ "selector": "isContentValid",
63
+ "visibility": "public"
64
+ },
65
+ {
66
+ "args": [],
67
+ "class_method": false,
68
+ "retval": {
69
+ "typestr": "v",
70
+ "typestr_special": false
71
+ },
72
+ "selector": "validateContent",
73
+ "visibility": "public"
74
+ },
75
+ {
76
+ "args": [],
77
+ "class_method": false,
78
+ "retval": {
79
+ "typestr": "@",
80
+ "typestr_special": false
81
+ },
82
+ "selector": "textView",
83
+ "visibility": "public"
84
+ },
85
+ {
86
+ "args": [],
87
+ "class_method": false,
88
+ "retval": {
89
+ "typestr": "@",
90
+ "typestr_special": false
91
+ },
92
+ "selector": "contentText",
93
+ "visibility": "public"
94
+ },
95
+ {
96
+ "args": [],
97
+ "class_method": false,
98
+ "retval": {
99
+ "typestr": "@",
100
+ "typestr_special": false
101
+ },
102
+ "selector": "placeholder",
103
+ "visibility": "public"
104
+ },
105
+ {
106
+ "args": [
107
+ {
108
+ "typestr": "@",
109
+ "typestr_special": false
110
+ }
111
+ ],
112
+ "class_method": false,
113
+ "retval": {
114
+ "typestr": "v",
115
+ "typestr_special": false
116
+ },
117
+ "selector": "setPlaceholder:",
118
+ "visibility": "public"
119
+ },
120
+ {
121
+ "args": [],
122
+ "class_method": false,
123
+ "retval": {
124
+ "typestr": "@",
125
+ "typestr_special": false
126
+ },
127
+ "selector": "charactersRemaining",
128
+ "visibility": "public"
129
+ },
130
+ {
131
+ "args": [
132
+ {
133
+ "typestr": "@",
134
+ "typestr_special": false
135
+ }
136
+ ],
137
+ "class_method": false,
138
+ "retval": {
139
+ "typestr": "v",
140
+ "typestr_special": false
141
+ },
142
+ "selector": "setCharactersRemaining:",
143
+ "visibility": "public"
144
+ }
145
+ ],
146
+ "name": "SLComposeServiceViewController",
147
+ "properties": [
148
+ {
149
+ "attributes": [
150
+ "readonly"
151
+ ],
152
+ "name": "textView",
153
+ "typestr": "@",
154
+ "typestr_special": false
155
+ },
156
+ {
157
+ "attributes": [
158
+ "atomic",
159
+ "readonly"
160
+ ],
161
+ "name": "contentText",
162
+ "typestr": "@",
163
+ "typestr_special": false
164
+ },
165
+ {
166
+ "attributes": [
167
+ "atomic",
168
+ "copy"
169
+ ],
170
+ "name": "placeholder",
171
+ "typestr": "@",
172
+ "typestr_special": false
173
+ },
174
+ {
175
+ "attributes": [
176
+ "atomic",
177
+ "strong"
178
+ ],
179
+ "name": "charactersRemaining",
180
+ "typestr": "@",
181
+ "typestr_special": false
182
+ }
183
+ ],
184
+ "protocols": [
185
+ "NSTextViewDelegate"
186
+ ],
187
+ "super": "NSViewController"
188
+ },
189
+ "SLRequest": {
190
+ "categories": [],
191
+ "methods": [
192
+ {
193
+ "args": [
194
+ {
195
+ "typestr": "@",
196
+ "typestr_special": false
197
+ },
198
+ {
199
+ "typestr": "q",
200
+ "typestr_special": false
201
+ },
202
+ {
203
+ "typestr": "@",
204
+ "typestr_special": false
205
+ },
206
+ {
207
+ "typestr": "@",
208
+ "typestr_special": false
209
+ }
210
+ ],
211
+ "class_method": true,
212
+ "retval": {
213
+ "typestr": "@",
214
+ "typestr_special": false
215
+ },
216
+ "selector": "requestForServiceType:requestMethod:URL:parameters:",
217
+ "visibility": "public"
218
+ },
219
+ {
220
+ "args": [
221
+ {
222
+ "typestr": "@",
223
+ "typestr_special": false
224
+ },
225
+ {
226
+ "typestr": "@",
227
+ "typestr_special": false
228
+ },
229
+ {
230
+ "typestr": "@",
231
+ "typestr_special": false
232
+ },
233
+ {
234
+ "typestr": "@",
235
+ "typestr_special": false
236
+ }
237
+ ],
238
+ "class_method": false,
239
+ "retval": {
240
+ "typestr": "v",
241
+ "typestr_special": false
242
+ },
243
+ "selector": "addMultipartData:withName:type:filename:",
244
+ "visibility": "public"
245
+ },
246
+ {
247
+ "args": [
248
+ {
249
+ "typestr": "@",
250
+ "typestr_special": false
251
+ },
252
+ {
253
+ "typestr": "@",
254
+ "typestr_special": false
255
+ },
256
+ {
257
+ "typestr": "@",
258
+ "typestr_special": false
259
+ }
260
+ ],
261
+ "class_method": false,
262
+ "retval": {
263
+ "typestr": "v",
264
+ "typestr_special": false
265
+ },
266
+ "selector": "addMultipartData:withName:type:",
267
+ "visibility": "public"
268
+ },
269
+ {
270
+ "args": [],
271
+ "class_method": false,
272
+ "retval": {
273
+ "typestr": "@",
274
+ "typestr_special": false
275
+ },
276
+ "selector": "preparedURLRequest",
277
+ "visibility": "public"
278
+ },
279
+ {
280
+ "args": [
281
+ {
282
+ "callable": {
283
+ "arguments": {
284
+ "0": {
285
+ "type": "^v"
286
+ }
287
+ },
288
+ "retval": {
289
+ "type": "@?"
290
+ }
291
+ },
292
+ "typestr": "@?",
293
+ "typestr_special": false
294
+ }
295
+ ],
296
+ "class_method": false,
297
+ "retval": {
298
+ "typestr": "v",
299
+ "typestr_special": false
300
+ },
301
+ "selector": "performRequestWithHandler:",
302
+ "visibility": "public"
303
+ },
304
+ {
305
+ "args": [],
306
+ "class_method": false,
307
+ "retval": {
308
+ "typestr": "@",
309
+ "typestr_special": false
310
+ },
311
+ "selector": "account",
312
+ "visibility": "public"
313
+ },
314
+ {
315
+ "args": [
316
+ {
317
+ "typestr": "@",
318
+ "typestr_special": false
319
+ }
320
+ ],
321
+ "class_method": false,
322
+ "retval": {
323
+ "typestr": "v",
324
+ "typestr_special": false
325
+ },
326
+ "selector": "setAccount:",
327
+ "visibility": "public"
328
+ },
329
+ {
330
+ "args": [],
331
+ "class_method": false,
332
+ "retval": {
333
+ "typestr": "q",
334
+ "typestr_special": false
335
+ },
336
+ "selector": "requestMethod",
337
+ "visibility": "public"
338
+ },
339
+ {
340
+ "args": [],
341
+ "class_method": false,
342
+ "retval": {
343
+ "typestr": "@",
344
+ "typestr_special": false
345
+ },
346
+ "selector": "URL",
347
+ "visibility": "public"
348
+ },
349
+ {
350
+ "args": [],
351
+ "class_method": false,
352
+ "retval": {
353
+ "typestr": "@",
354
+ "typestr_special": false
355
+ },
356
+ "selector": "parameters",
357
+ "visibility": "public"
358
+ }
359
+ ],
360
+ "name": "SLRequest",
361
+ "properties": [
362
+ {
363
+ "attributes": [
364
+ "nonatomic",
365
+ "retain"
366
+ ],
367
+ "name": "account",
368
+ "typestr": "@",
369
+ "typestr_special": false
370
+ },
371
+ {
372
+ "attributes": [
373
+ "nonatomic",
374
+ "readonly"
375
+ ],
376
+ "name": "requestMethod",
377
+ "typestr": "q",
378
+ "typestr_special": false
379
+ },
380
+ {
381
+ "attributes": [
382
+ "nonatomic",
383
+ "readonly"
384
+ ],
385
+ "name": "URL",
386
+ "typestr": "@",
387
+ "typestr_special": false
388
+ },
389
+ {
390
+ "attributes": [
391
+ "nonatomic",
392
+ "readonly"
393
+ ],
394
+ "name": "parameters",
395
+ "typestr": "@",
396
+ "typestr_special": false
397
+ }
398
+ ],
399
+ "protocols": [],
400
+ "super": "NSObject"
401
+ }
402
+ },
403
+ "enum": {
404
+ "SLRequestMethodDELETE": 2,
405
+ "SLRequestMethodGET": 0,
406
+ "SLRequestMethodPOST": 1,
407
+ "SLRequestMethodPUT": 3
408
+ },
409
+ "enum_type": {
410
+ "SLRequestMethod": {
411
+ "type": "q"
412
+ }
413
+ },
414
+ "expressions": {},
415
+ "externs": {
416
+ "SLServiceTypeFacebook": {
417
+ "typestr": "@"
418
+ },
419
+ "SLServiceTypeLinkedIn": {
420
+ "typestr": "@"
421
+ },
422
+ "SLServiceTypeSinaWeibo": {
423
+ "typestr": "@"
424
+ },
425
+ "SLServiceTypeTencentWeibo": {
426
+ "typestr": "@"
427
+ },
428
+ "SLServiceTypeTwitter": {
429
+ "typestr": "@"
430
+ }
431
+ },
432
+ "formal_protocols": {},
433
+ "func_macros": {},
434
+ "functions": {},
435
+ "informal_protocols": {},
436
+ "literals": {},
437
+ "structs": {},
438
+ "typedefs": {
439
+ "SLRequestHandler": "void (^)(NSData *, NSHTTPURLResponse *, NSError *)",
440
+ "SLRequestMethod": "enum SLRequestMethod"
441
+ }
442
+ },
443
+ "framework": "Social",
444
+ "headers": [
445
+ "SLComposeServiceViewController.h",
446
+ "SLRequest.h",
447
+ "SLServiceTypes.h",
448
+ "SocialDefines.h"
449
+ ],
450
+ "release": "10.16",
451
+ "sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"
452
+ }
@@ -208,11 +208,11 @@ 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
216
  Programming Language :: Python :: Implementation :: CPython
217
217
  Programming Language :: Objective C
218
218
  Topic :: Software Development :: Libraries :: Python Modules
@@ -510,6 +510,15 @@ def Extension(*args, **kwds):
510
510
  % (tuple(map(int, os_level.split(".")[:2])))
511
511
  )
512
512
 
513
+ # XCode 15 has a bug w.r.t. weak linking for older macOS versions,
514
+ # fall back to older linker when using that compiler.
515
+ # XXX: This should be in _fixup_compiler but doesn't work there...
516
+ lines = subprocess.check_output(["xcodebuild", "-version"], text=True).splitlines()
517
+ if lines[0].startswith("Xcode"):
518
+ xcode_vers = int(lines[0].split()[-1].split(".")[0])
519
+ if xcode_vers >= 15:
520
+ ldflags.append("-Wl,-ld_classic")
521
+
513
522
  if os_level == "10.4":
514
523
  cflags.append("-DNO_OBJC2_RUNTIME")
515
524
 
@@ -661,7 +670,7 @@ def setup(min_os_level=None, max_os_level=None, cmdclass=None, **kwds):
661
670
  zip_safe=False,
662
671
  license="MIT License",
663
672
  classifiers=CLASSIFIERS,
664
- python_requires=">=3.7",
673
+ python_requires=">=3.8",
665
674
  keywords=["PyObjC"] + [p for p in k["packages"] if p not in ("PyObjCTools",)],
666
675
  **k,
667
676
  )
@@ -12,7 +12,7 @@ sys.path.insert(0, os.path.dirname(__file__))
12
12
 
13
13
  from pyobjc_setup import setup # noqa: E402
14
14
 
15
- VERSION = "9.2"
15
+ VERSION = "10.0"
16
16
 
17
17
  setup(
18
18
  name="pyobjc-framework-Social",
@@ -1,30 +0,0 @@
1
- """
2
- Python mapping for the Social 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 Foundation
11
- import objc
12
- from Social import _metadata
13
-
14
- sys.modules["Social"] = mod = objc.ObjCLazyModule(
15
- "Social",
16
- "com.apple.Social.framework",
17
- objc.pathForFramework("/System/Library/Frameworks/Social.framework"),
18
- _metadata.__dict__,
19
- None,
20
- {
21
- "__doc__": __doc__,
22
- "objc": objc,
23
- "__path__": __path__,
24
- "__loader__": globals().get("__loader__", None),
25
- },
26
- (Foundation,),
27
- )
28
-
29
-
30
- del sys.modules["Social._metadata"]
@@ -1,2 +0,0 @@
1
- pyobjc-core>=9.2
2
- pyobjc-framework-Cocoa>=9.2