pyobjc-framework-SystemConfiguration 9.0.1__tar.gz → 9.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 (52) hide show
  1. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/Lib/SystemConfiguration/_metadata.py +15 -6
  2. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/Lib/pyobjc_framework_SystemConfiguration.egg-info/PKG-INFO +1 -1
  3. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/Lib/pyobjc_framework_SystemConfiguration.egg-info/SOURCES.txt +3 -1
  4. pyobjc-framework-SystemConfiguration-9.1/Lib/pyobjc_framework_SystemConfiguration.egg-info/requires.txt +2 -0
  5. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/Modules/pyobjc-api.h +1 -1
  6. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/Modules/pyobjc-compat.h +17 -0
  7. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/PKG-INFO +1 -1
  8. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/PyObjCTest/test_SCDynamicStoreKey.py +0 -1
  9. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/PyObjCTest/test_systemconfiguration.py +0 -1
  10. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/metadata/SystemConfiguration.fwinfo +6 -3
  11. pyobjc-framework-SystemConfiguration-9.1/metadata/raw/arm64-13.3.fwinfo +4057 -0
  12. pyobjc-framework-SystemConfiguration-9.1/metadata/raw/x86_64-13.3.fwinfo +4057 -0
  13. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/pyobjc_setup.py +14 -7
  14. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/setup.py +1 -1
  15. pyobjc-framework-SystemConfiguration-9.0.1/Lib/pyobjc_framework_SystemConfiguration.egg-info/requires.txt +0 -2
  16. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/Examples/CallbackDemo/ReadMe.txt +0 -0
  17. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/Examples/CallbackDemo/callbacks.py +0 -0
  18. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/Examples/CallbackDemo/interneton.py +0 -0
  19. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/Examples/CallbackDemo/netcon.py +0 -0
  20. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/LICENSE.txt +0 -0
  21. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/Lib/SystemConfiguration/__init__.py +0 -0
  22. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/Lib/pyobjc_framework_SystemConfiguration.egg-info/dependency_links.txt +0 -0
  23. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/Lib/pyobjc_framework_SystemConfiguration.egg-info/not-zip-safe +0 -0
  24. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/Lib/pyobjc_framework_SystemConfiguration.egg-info/top_level.txt +0 -0
  25. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/MANIFEST.in +0 -0
  26. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/Modules/_manual.m +0 -0
  27. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/PyObjCTest/__init__.py +0 -0
  28. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/PyObjCTest/test_DHCPClientPreferences.py +0 -0
  29. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/PyObjCTest/test_SCDynamicStore.py +0 -0
  30. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/PyObjCTest/test_SCDynamicStoreCopyDHCPInfo.py +0 -0
  31. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/PyObjCTest/test_SCDynamicStoreCopySpecific.py +0 -0
  32. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/PyObjCTest/test_captivenetwork.py +0 -0
  33. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/PyObjCTest/test_scnetwork.py +0 -0
  34. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/PyObjCTest/test_scnetworkconfiguration.py +0 -0
  35. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/PyObjCTest/test_scnetworkconnection.py +0 -0
  36. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/PyObjCTest/test_scnetworkreachability.py +0 -0
  37. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/PyObjCTest/test_scpreferences.py +0 -0
  38. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/PyObjCTest/test_scpreferencespath.py +0 -0
  39. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/PyObjCTest/test_scpreferencessetspecific.py +0 -0
  40. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/PyObjCTest/test_scschemadefinitions.py +0 -0
  41. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/README.txt +0 -0
  42. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/metadata/metadata.ini +0 -0
  43. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/metadata/raw/arm64-12.0.fwinfo +0 -0
  44. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/metadata/raw/arm64-12.3.fwinfo +0 -0
  45. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/metadata/raw/x86_64-10.10.fwinfo +0 -0
  46. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/metadata/raw/x86_64-10.16.fwinfo +0 -0
  47. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/metadata/raw/x86_64-10.6.fwinfo +0 -0
  48. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/metadata/raw/x86_64-10.7.fwinfo +0 -0
  49. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/metadata/raw/x86_64-10.8.fwinfo +0 -0
  50. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/metadata/raw/x86_64-12.0.fwinfo +0 -0
  51. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/metadata/raw/x86_64-12.3.fwinfo +0 -0
  52. {pyobjc-framework-SystemConfiguration-9.0.1 → pyobjc-framework-SystemConfiguration-9.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  # This file is generated by objective.metadata
2
2
  #
3
- # Last update: Sun Feb 20 19:26:02 2022
3
+ # Last update: Sat Mar 25 14:54:03 2023
4
4
  #
5
5
  # flake8: noqa
6
6
 
@@ -40,6 +40,7 @@ misc.update(
40
40
  "SCNetworkConnectionPPPStatus": NewType("SCNetworkConnectionPPPStatus", int),
41
41
  }
42
42
  )
43
+ misc.update({})
43
44
  misc.update(
44
45
  {
45
46
  "kSCNetworkConnectionSelectionOptionOnDemandHostName": "OnDemandHostName",
@@ -223,16 +224,21 @@ functions = {
223
224
  b"Z^{__SCNetworkInterface=}^{__CFString=}^{__CFDictionary=}",
224
225
  ),
225
226
  "SCNetworkCheckReachabilityByName": (
226
- b"Z*^I",
227
+ b"Z^t^I",
227
228
  "",
228
- {"arguments": {1: {"type_modifier": "o"}}},
229
+ {
230
+ "arguments": {
231
+ 0: {"c_array_delimited_by_null": True, "type_modifier": "n"},
232
+ 1: {"type_modifier": "o"},
233
+ }
234
+ },
229
235
  ),
230
236
  "SCNetworkInterfaceCopyMediaSubTypes": (
231
237
  b"^{__CFArray=}^{__CFArray=}",
232
238
  "",
233
239
  {"retval": {"already_cfretained": True}},
234
240
  ),
235
- "SCErrorString": (b"*i",),
241
+ "SCErrorString": (b"^ti", "", {"retval": {"c_array_delimited_by_null": True}}),
236
242
  "DHCPClientPreferencesCopyApplicationOptions": (
237
243
  b"^C^{__CFString=}^i",
238
244
  "",
@@ -351,9 +357,12 @@ functions = {
351
357
  b"Z^{__SCPreferences=}^{__CFRunLoop=}^{__CFString=}",
352
358
  ),
353
359
  "SCNetworkReachabilityCreateWithName": (
354
- b"^{__SCNetworkReachability=}^{__CFAllocator=}*",
360
+ b"^{__SCNetworkReachability=}^{__CFAllocator=}^t",
355
361
  "",
356
- {"retval": {"already_cfretained": True}},
362
+ {
363
+ "retval": {"already_cfretained": True},
364
+ "arguments": {1: {"c_array_delimited_by_null": True, "type_modifier": "n"}},
365
+ },
357
366
  ),
358
367
  "SCBondInterfaceRemove": (b"Z^{__SCNetworkInterface=}",),
359
368
  "SCNetworkCheckReachabilityByAddress": (
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyobjc-framework-SystemConfiguration
3
- Version: 9.0.1
3
+ Version: 9.1
4
4
  Summary: Wrappers for the framework SystemConfiguration on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -43,10 +43,12 @@ metadata/SystemConfiguration.fwinfo
43
43
  metadata/metadata.ini
44
44
  metadata/raw/arm64-12.0.fwinfo
45
45
  metadata/raw/arm64-12.3.fwinfo
46
+ metadata/raw/arm64-13.3.fwinfo
46
47
  metadata/raw/x86_64-10.10.fwinfo
47
48
  metadata/raw/x86_64-10.16.fwinfo
48
49
  metadata/raw/x86_64-10.6.fwinfo
49
50
  metadata/raw/x86_64-10.7.fwinfo
50
51
  metadata/raw/x86_64-10.8.fwinfo
51
52
  metadata/raw/x86_64-12.0.fwinfo
52
- metadata/raw/x86_64-12.3.fwinfo
53
+ metadata/raw/x86_64-12.3.fwinfo
54
+ metadata/raw/x86_64-13.3.fwinfo
@@ -0,0 +1,2 @@
1
+ pyobjc-core>=9.1
2
+ pyobjc-framework-Cocoa>=9.1
@@ -145,7 +145,7 @@ static struct pyobjc_api* PyObjC_API;
145
145
  #define PyObjCObject_ReleaseTransient (PyObjC_API->releasetransient)
146
146
  #define PyObjC_NULL (*(PyObjC_API->pyobjc_null))
147
147
  #define PyObjC_DepythonifyCArray (PyObjC_API->dep_c_array_count)
148
- #define PyObjC_VarList_New (PyObjC_API->varlistnew)
148
+ #define PyObjCVarList_New (PyObjC_API->varlistnew)
149
149
  #define PyObjCObject_Convert (PyObjC_API->pyobjcobject_convert)
150
150
  #define PyObjCPointerWrapper_RegisterID (PyObjC_API->register_id_alias)
151
151
  #define PyObjCMemView_Check (PyObjC_API->memview_check)
@@ -37,6 +37,15 @@ NS_ASSUME_NONNULL_BEGIN
37
37
  #define instancetype id
38
38
  #endif
39
39
 
40
+ #ifdef __has_attribute
41
+ #if __has_attribute(objc_subclassing_restricted)
42
+ #define PyObjC_FINAL_CLASS __attribute__((__objc_subclassing_restricted__))
43
+ #endif
44
+ #endif
45
+ #ifndef PyObjC_FINAL_CLASS
46
+ #define PyObjC_FINAL_CLASS
47
+ #endif
48
+
40
49
  /*
41
50
  *
42
51
  * Start of Cocoa definitions
@@ -292,6 +301,14 @@ NS_ASSUME_NONNULL_BEGIN
292
301
  #define MAC_OS_X_VERSION_13_2 130200
293
302
  #endif
294
303
 
304
+ #ifndef MAC_OS_X_VERSION_13_3
305
+ #define MAC_OS_X_VERSION_13_3 130300
306
+ #endif
307
+
308
+ #ifndef MAC_OS_X_VERSION_13_4
309
+ #define MAC_OS_X_VERSION_13_4 130400
310
+ #endif
311
+
295
312
  /*
296
313
  *
297
314
  * End of Cocoa definitions
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyobjc-framework-SystemConfiguration
3
- Version: 9.0.1
3
+ Version: 9.1
4
4
  Summary: Wrappers for the framework SystemConfiguration on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -4,7 +4,6 @@ import SystemConfiguration
4
4
 
5
5
  class TestSCDynamicStoreKey(TestCase):
6
6
  def testFunctions(self):
7
-
8
7
  r = SystemConfiguration.SCDynamicStoreKeyCreate(
9
8
  None, "Setup:/%s/%d", b"PyObjC", 9
10
9
  )
@@ -47,7 +47,6 @@ class TestSystemConfiguration(TestCase):
47
47
  self.assertTrue(isinstance(err, SystemConfiguration.CFErrorRef))
48
48
 
49
49
  def testFunctions(self):
50
-
51
50
  err = SystemConfiguration.SCError()
52
51
  self.assertIsInstance(err, int)
53
52
 
@@ -708,7 +708,8 @@
708
708
  },
709
709
  "SCErrorString": {
710
710
  "retval": {
711
- "type_override": "*"
711
+ "type_override": "^t",
712
+ "c_array_delimited_by_null": true
712
713
  }
713
714
  },
714
715
  "SCNetworkCheckReachabilityByAddress": {
@@ -726,7 +727,9 @@
726
727
  "SCNetworkCheckReachabilityByName": {
727
728
  "args": {
728
729
  "0": {
729
- "type_override": "*"
730
+ "type_override": "^t",
731
+ "c_array_delimited_by_null": true,
732
+ "type_modifier": "n"
730
733
  },
731
734
  "1": {
732
735
  "type_modifier": "o",
@@ -1219,7 +1222,7 @@
1219
1222
  "type_override": "^{__CFAllocator=}"
1220
1223
  },
1221
1224
  "1": {
1222
- "type_override": "*"
1225
+ "type_override": "^t", "type_modifier": "n", "c_array_delimited_by_null": true
1223
1226
  }
1224
1227
  },
1225
1228
  "retval": {