pyobjc-framework-ReplayKit 12.2.2__tar.gz → 13.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 (33) hide show
  1. {pyobjc_framework_replaykit-12.2.2 → pyobjc_framework_replaykit-13.1}/Lib/ReplayKit/_metadata.py +6 -2
  2. {pyobjc_framework_replaykit-12.2.2 → pyobjc_framework_replaykit-13.1}/Lib/pyobjc_framework_ReplayKit.egg-info/PKG-INFO +5 -5
  3. {pyobjc_framework_replaykit-12.2.2 → pyobjc_framework_replaykit-13.1}/Lib/pyobjc_framework_ReplayKit.egg-info/SOURCES.txt +2 -2
  4. pyobjc_framework_replaykit-13.1/Lib/pyobjc_framework_ReplayKit.egg-info/pyobjc-build-info.txt +3 -0
  5. pyobjc_framework_replaykit-13.1/Lib/pyobjc_framework_ReplayKit.egg-info/requires.txt +2 -0
  6. {pyobjc_framework_replaykit-12.2.2 → pyobjc_framework_replaykit-13.1}/Modules/_ReplayKit.m +9 -2
  7. {pyobjc_framework_replaykit-12.2.2 → pyobjc_framework_replaykit-13.1}/Modules/_ReplayKit_protocols.m +7 -5
  8. {pyobjc_framework_replaykit-12.2.2 → pyobjc_framework_replaykit-13.1}/Modules/pyobjc-api.h +18 -4
  9. {pyobjc_framework_replaykit-12.2.2 → pyobjc_framework_replaykit-13.1}/Modules/pyobjc-compat.h +0 -18
  10. {pyobjc_framework_replaykit-12.2.2 → pyobjc_framework_replaykit-13.1}/PKG-INFO +5 -5
  11. {pyobjc_framework_replaykit-12.2.2 → pyobjc_framework_replaykit-13.1}/PyObjCTest/test_rpbroadcast.py +2 -2
  12. {pyobjc_framework_replaykit-12.2.2 → pyobjc_framework_replaykit-13.1}/PyObjCTest/test_rppreviewviewcontroller.py +1 -1
  13. {pyobjc_framework_replaykit-12.2.2 → pyobjc_framework_replaykit-13.1}/PyObjCTest/test_rpscreenrecorder.py +1 -1
  14. {pyobjc_framework_replaykit-12.2.2 → pyobjc_framework_replaykit-13.1}/metadata/ReplayKit.fwinfo +1 -15
  15. pyobjc_framework_replaykit-12.2.2/metadata/raw/arm64-26.5.fwinfo → pyobjc_framework_replaykit-13.1/metadata/raw/arm64-27.fwinfo +71 -5
  16. pyobjc_framework_replaykit-12.2.2/metadata/raw/x86_64-26.5.fwinfo → pyobjc_framework_replaykit-13.1/metadata/raw/x86_64-27.fwinfo +71 -5
  17. {pyobjc_framework_replaykit-12.2.2 → pyobjc_framework_replaykit-13.1}/pyobjc_setup.py +66 -8
  18. {pyobjc_framework_replaykit-12.2.2 → pyobjc_framework_replaykit-13.1}/setup.py +1 -1
  19. pyobjc_framework_replaykit-12.2.2/Lib/pyobjc_framework_ReplayKit.egg-info/pyobjc-build-info.txt +0 -3
  20. pyobjc_framework_replaykit-12.2.2/Lib/pyobjc_framework_ReplayKit.egg-info/requires.txt +0 -2
  21. {pyobjc_framework_replaykit-12.2.2 → pyobjc_framework_replaykit-13.1}/Lib/ReplayKit/__init__.py +0 -0
  22. {pyobjc_framework_replaykit-12.2.2 → pyobjc_framework_replaykit-13.1}/Lib/pyobjc_framework_ReplayKit.egg-info/dependency_links.txt +0 -0
  23. {pyobjc_framework_replaykit-12.2.2 → pyobjc_framework_replaykit-13.1}/Lib/pyobjc_framework_ReplayKit.egg-info/not-zip-safe +0 -0
  24. {pyobjc_framework_replaykit-12.2.2 → pyobjc_framework_replaykit-13.1}/Lib/pyobjc_framework_ReplayKit.egg-info/top_level.txt +0 -0
  25. {pyobjc_framework_replaykit-12.2.2 → pyobjc_framework_replaykit-13.1}/License.txt +0 -0
  26. {pyobjc_framework_replaykit-12.2.2 → pyobjc_framework_replaykit-13.1}/MANIFEST.in +0 -0
  27. {pyobjc_framework_replaykit-12.2.2 → pyobjc_framework_replaykit-13.1}/PyObjCTest/__init__.py +0 -0
  28. {pyobjc_framework_replaykit-12.2.2 → pyobjc_framework_replaykit-13.1}/PyObjCTest/test_replaykit.py +0 -0
  29. {pyobjc_framework_replaykit-12.2.2 → pyobjc_framework_replaykit-13.1}/PyObjCTest/test_rpbroadcastextension.py +0 -0
  30. {pyobjc_framework_replaykit-12.2.2 → pyobjc_framework_replaykit-13.1}/PyObjCTest/test_rperror.py +0 -0
  31. {pyobjc_framework_replaykit-12.2.2 → pyobjc_framework_replaykit-13.1}/metadata/metadata.ini +0 -0
  32. {pyobjc_framework_replaykit-12.2.2 → pyobjc_framework_replaykit-13.1}/pyproject.toml +0 -0
  33. {pyobjc_framework_replaykit-12.2.2 → pyobjc_framework_replaykit-13.1}/setup.cfg +0 -0
@@ -1,7 +1,5 @@
1
1
  # This file is generated by objective.metadata
2
2
  #
3
- # Last update: Sun May 24 11:57:02 2026
4
- #
5
3
  # flake8: noqa
6
4
 
7
5
  import objc, sys
@@ -357,5 +355,11 @@ finally:
357
355
 
358
356
  objc.registerNewKeywordsFromSelector("RPScreenRecorder", b"init")
359
357
  expressions = {}
358
+ formal_protocols = {
359
+ "RPBroadcastActivityControllerDelegate": "RPBroadcastActivityControllerDelegate",
360
+ "RPBroadcastControllerDelegate": "RPBroadcastControllerDelegate",
361
+ "RPPreviewViewControllerDelegate": "RPPreviewViewControllerDelegate",
362
+ "RPScreenRecorderDelegate": "RPScreenRecorderDelegate",
363
+ }
360
364
 
361
365
  # END OF FILE
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-ReplayKit
3
- Version: 12.2.2
3
+ Version: 13.1
4
4
  Summary: Wrappers for the framework ReplayKit 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.2
34
- Requires-Dist: pyobjc-framework-Cocoa>=12.2.2
33
+ Requires-Dist: pyobjc-core>=13.1
34
+ Requires-Dist: pyobjc-framework-Cocoa>=13.1
35
35
  Dynamic: author
36
36
  Dynamic: author-email
37
37
  Dynamic: classifier
@@ -25,5 +25,5 @@ PyObjCTest/test_rppreviewviewcontroller.py
25
25
  PyObjCTest/test_rpscreenrecorder.py
26
26
  metadata/ReplayKit.fwinfo
27
27
  metadata/metadata.ini
28
- metadata/raw/arm64-26.5.fwinfo
29
- metadata/raw/x86_64-26.5.fwinfo
28
+ metadata/raw/arm64-27.fwinfo
29
+ metadata/raw/x86_64-27.fwinfo
@@ -0,0 +1,3 @@
1
+ macOS 27.2.1 (26B131)
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.1
2
+ pyobjc-framework-Cocoa>=13.1
@@ -2,6 +2,10 @@
2
2
  #include "Python.h"
3
3
  #include "pyobjc-api.h"
4
4
 
5
+ #ifdef USE_STATIC_ANALYZER
6
+ #include "../../pyobjc-core/Modules/objc/python-api-used.h"
7
+ #endif
8
+
5
9
  #import <Foundation/Foundation.h>
6
10
  #import <ReplayKit/ReplayKit.h>
7
11
 
@@ -10,6 +14,8 @@
10
14
  */
11
15
  #include "_ReplayKit_protocols.m"
12
16
 
17
+ NS_ASSUME_NONNULL_BEGIN
18
+
13
19
  static PyMethodDef mod_methods[] = {
14
20
  {0, 0, 0, 0} /* sentinel */
15
21
  };
@@ -55,10 +61,11 @@ static struct PyModuleDef mod_module = {
55
61
  .m_free = NULL,
56
62
  };
57
63
 
58
- PyObject* PyInit__ReplayKit(void);
64
+ PyObject* _Nullable PyInit__ReplayKit(void);
59
65
 
60
- PyObject* __attribute__((__visibility__("default")))
66
+ PyObject* _Nullable __attribute__((__visibility__("default")))
61
67
  PyInit__ReplayKit(void)
62
68
  {
63
69
  return PyModuleDef_Init(&mod_module);
64
70
  }
71
+ NS_ASSUME_NONNULL_END
@@ -1,8 +1,7 @@
1
- /*
2
- * This file is generated by objective.metadata
3
- *
4
- * Last update: Wed Jan 16 13:10:52 2013
5
- */
1
+ // LCOV_EXCL_START
2
+ // This function is only present to ensure protocols are
3
+ // available at runtime.
4
+ NS_ASSUME_NONNULL_BEGIN
6
5
 
7
6
  static void __attribute__((__used__))
8
7
  use_protocols(void)
@@ -21,3 +20,6 @@ use_protocols(void)
21
20
 
22
21
  #endif
23
22
  }
23
+
24
+ NS_ASSUME_NONNULL_END
25
+ // LCOV_EXCL_STOP
@@ -60,6 +60,11 @@ typedef int(RegisterMethodMappingFunctionType)(
60
60
  PyObject* _Nonnull const* _Nonnull, size_t),
61
61
  IMP _Nullable (*_Nonnull)(PyObject* _Nonnull, PyObject* _Nonnull));
62
62
 
63
+ #ifndef PyObjC_FUNCTION_CALL_H
64
+ typedef PyObject* _Nullable (*PyObjC_FunctionCallFunc)(
65
+ PyObject* meth, PyObject* _Nonnull const* _Nonnull args, size_t nargs);
66
+ #endif
67
+
63
68
  struct pyobjc_api {
64
69
  int api_version; /* API version */
65
70
  size_t struct_len; /* Length of this struct */
@@ -117,6 +122,9 @@ struct pyobjc_api {
117
122
 
118
123
  PyObject* _Nullable (*_Nonnull createopaquepointertype)(const char*, const char*,
119
124
  const char*);
125
+ int (*_Nonnull register_functioncaller)(void*, PyObjC_FunctionCallFunc);
126
+ PyObject* _Nullable (*_Nonnull create_registered_struct)(
127
+ const char*, Py_ssize_t, const char* _Nonnull* _Nullable, Py_ssize_t*);
120
128
  };
121
129
 
122
130
  #ifndef PYOBJC_BUILD
@@ -159,6 +167,8 @@ static struct pyobjc_api* PyObjC_API;
159
167
  #define PyObjC_CheckArgCount (PyObjC_API->checkargcount)
160
168
  #define PyObjC_CheckNoKwnames (PyObjC_API->checknokwnames)
161
169
  #define PyObjCCreateOpaquePointerType (PyObjC_API->createopaquepointertype)
170
+ #define PyObjCRegister_FunctionCaller (PyObjC_API->register_functioncaller)
171
+ #define PyObjC_CreateRegisteredStruct (PyObjC_API->create_registered_struct)
162
172
 
163
173
  typedef void (*PyObjC_Function_Pointer)(void);
164
174
  typedef struct PyObjC_function_map {
@@ -178,21 +188,25 @@ static inline int
178
188
  PyObjC_ImportAPI(PyObject* calling_module)
179
189
  {
180
190
  PyObjC_API = (struct pyobjc_api*)PyCapsule_Import("objc." PYOBJC_API_NAME, 0);
181
- if (PyObjC_API == NULL) {
182
- return -1;
191
+ if (PyObjC_API == NULL) { // LCOV_BR_EXCL_LINE
192
+ return -1; // LCOV_EXCL_LINE
183
193
  }
184
- if (PyObjC_API->api_version != PYOBJC_API_VERSION) {
194
+ if (PyObjC_API->api_version != PYOBJC_API_VERSION) { // LCOV_BR_EXCL_LINE
195
+ // LCOV_EXCL_START
185
196
  PyErr_Format(PyExc_RuntimeError,
186
197
  "Wrong version of PyObjC C API (got %d, expected %d)",
187
198
  (int)PyObjC_API->api_version, (int)PYOBJC_API_VERSION);
188
199
  return -1;
200
+ // LCOV_EXCL_STOP
189
201
  }
190
202
 
191
- if (PyObjC_API->struct_len < PyObjC_EXPECTED_STRUCT_SIZE) {
203
+ if (PyObjC_API->struct_len < PyObjC_EXPECTED_STRUCT_SIZE) { // LCOV_EXCL_LINE
204
+ // LCOV_EXCL_START
192
205
  PyErr_Format(PyExc_RuntimeError,
193
206
  "Wrong struct-size of PyObjC C API (got %d, expected %d)",
194
207
  (int)PyObjC_API->struct_len, (int)sizeof(struct pyobjc_api));
195
208
  return -1;
209
+ // LCOV_EXCL_STOP
196
210
  }
197
211
 
198
212
  /* Current pyobjc implementation doesn't allow deregistering
@@ -167,24 +167,6 @@ _PyObjCTuple_GetItem(PyObject* tuple, Py_ssize_t idx)
167
167
  PyGILState_Release(_GILState); \
168
168
  } while (0)
169
169
 
170
- #if PY_VERSION_HEX < 0x030a0000
171
-
172
- static inline PyObject*
173
- Py_NewRef(PyObject* o)
174
- {
175
- Py_INCREF(o);
176
- return o;
177
- }
178
-
179
- static inline PyObject*
180
- Py_XNewRef(PyObject* o)
181
- {
182
- Py_XINCREF(o);
183
- return o;
184
- }
185
-
186
- #endif /* PY_VERSION_HEX < 0x030a0000 */
187
-
188
170
  #if PY_VERSION_HEX < 0x030d0000
189
171
  #define Py_BEGIN_CRITICAL_SECTION(value) \
190
172
  { \
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-ReplayKit
3
- Version: 12.2.2
3
+ Version: 13.1
4
4
  Summary: Wrappers for the framework ReplayKit 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.2
34
- Requires-Dist: pyobjc-framework-Cocoa>=12.2.2
33
+ Requires-Dist: pyobjc-core>=13.1
34
+ Requires-Dist: pyobjc-framework-Cocoa>=13.1
35
35
  Dynamic: author
36
36
  Dynamic: author-email
37
37
  Dynamic: classifier
@@ -22,5 +22,5 @@ class TestRPBroadcast(TestCase):
22
22
  )
23
23
 
24
24
  def test_protocols(self):
25
- self.assertProtocolExists("RPBroadcastActivityControllerDelegate")
26
- self.assertProtocolExists("RPBroadcastControllerDelegate")
25
+ self.assertProtocolExists("RPBroadcastActivityControllerDelegate", ReplayKit)
26
+ self.assertProtocolExists("RPBroadcastControllerDelegate", ReplayKit)
@@ -5,4 +5,4 @@ import ReplayKit # noqa: F401
5
5
 
6
6
  class TestRPPreviewViewController(TestCase):
7
7
  def test_protocols(self):
8
- self.assertProtocolExists("RPPreviewViewControllerDelegate")
8
+ self.assertProtocolExists("RPPreviewViewControllerDelegate", ReplayKit)
@@ -55,4 +55,4 @@ class TestRPScreenRecorder(TestCase):
55
55
  )
56
56
 
57
57
  def test_protocols(self):
58
- self.assertProtocolExists("RPScreenRecorderDelegate")
58
+ self.assertProtocolExists("RPScreenRecorderDelegate", ReplayKit)
@@ -54,21 +54,7 @@
54
54
  }
55
55
  }
56
56
  ]
57
- },
58
- "RPBroadcastSampleHandler": {
59
- "methods": [
60
- {
61
- "args": {
62
- "0": {}
63
- },
64
- "class_method": false,
65
- "selector": "processSampleBuffer:withType:"
66
- }
67
- ]
68
57
  }
69
- },
70
- "formal_protocols": {},
71
- "functions": {},
72
- "informal_protocols": {}
58
+ }
73
59
  }
74
60
  }