pyobjc-framework-SystemConfiguration 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.
- pyobjc-framework-SystemConfiguration-10.0/Lib/SystemConfiguration/__init__.py +42 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/Lib/SystemConfiguration/_metadata.py +14 -2
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/Lib/pyobjc_framework_SystemConfiguration.egg-info/PKG-INFO +5 -3
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/Lib/pyobjc_framework_SystemConfiguration.egg-info/SOURCES.txt +3 -1
- pyobjc-framework-SystemConfiguration-10.0/Lib/pyobjc_framework_SystemConfiguration.egg-info/requires.txt +2 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/Modules/pyobjc-api.h +3 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/Modules/pyobjc-compat.h +0 -273
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/PKG-INFO +5 -3
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/PyObjCTest/test_SCDynamicStoreCopyDHCPInfo.py +1 -1
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/metadata/SystemConfiguration.fwinfo +25 -100
- pyobjc-framework-SystemConfiguration-10.0/metadata/raw/arm64-14.0.fwinfo +3986 -0
- pyobjc-framework-SystemConfiguration-10.0/metadata/raw/x86_64-14.0.fwinfo +3986 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/pyobjc_setup.py +11 -2
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/setup.py +1 -1
- pyobjc-framework-SystemConfiguration-9.2/Lib/SystemConfiguration/__init__.py +0 -38
- pyobjc-framework-SystemConfiguration-9.2/Lib/pyobjc_framework_SystemConfiguration.egg-info/requires.txt +0 -2
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/Examples/CallbackDemo/ReadMe.txt +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/Examples/CallbackDemo/callbacks.py +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/Examples/CallbackDemo/interneton.py +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/Examples/CallbackDemo/netcon.py +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/LICENSE.txt +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/Lib/pyobjc_framework_SystemConfiguration.egg-info/dependency_links.txt +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/Lib/pyobjc_framework_SystemConfiguration.egg-info/not-zip-safe +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/Lib/pyobjc_framework_SystemConfiguration.egg-info/top_level.txt +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/MANIFEST.in +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/Modules/_manual.m +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/PyObjCTest/__init__.py +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/PyObjCTest/test_DHCPClientPreferences.py +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/PyObjCTest/test_SCDynamicStore.py +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/PyObjCTest/test_SCDynamicStoreCopySpecific.py +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/PyObjCTest/test_SCDynamicStoreKey.py +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/PyObjCTest/test_captivenetwork.py +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/PyObjCTest/test_scnetwork.py +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/PyObjCTest/test_scnetworkconfiguration.py +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/PyObjCTest/test_scnetworkconnection.py +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/PyObjCTest/test_scnetworkreachability.py +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/PyObjCTest/test_scpreferences.py +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/PyObjCTest/test_scpreferencespath.py +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/PyObjCTest/test_scpreferencessetspecific.py +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/PyObjCTest/test_scschemadefinitions.py +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/PyObjCTest/test_systemconfiguration.py +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/README.txt +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/metadata/metadata.ini +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/metadata/raw/arm64-12.0.fwinfo +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/metadata/raw/arm64-12.3.fwinfo +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/metadata/raw/arm64-13.3.fwinfo +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/metadata/raw/x86_64-10.10.fwinfo +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/metadata/raw/x86_64-10.16.fwinfo +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/metadata/raw/x86_64-10.6.fwinfo +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/metadata/raw/x86_64-10.7.fwinfo +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/metadata/raw/x86_64-10.8.fwinfo +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/metadata/raw/x86_64-12.0.fwinfo +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/metadata/raw/x86_64-12.3.fwinfo +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/metadata/raw/x86_64-13.3.fwinfo +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/pyproject.toml +0 -0
- {pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/setup.cfg +0 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Python mapping for the SystemConfiguration 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, _manual
|
|
15
|
+
|
|
16
|
+
dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
|
|
17
|
+
name="SystemConfiguration",
|
|
18
|
+
frameworkIdentifier="com.apple.SystemConfiguration",
|
|
19
|
+
frameworkPath=objc.pathForFramework(
|
|
20
|
+
"/System/Library/Frameworks/SystemConfiguration.framework"
|
|
21
|
+
),
|
|
22
|
+
globals_dict=globals(),
|
|
23
|
+
inline_list=None,
|
|
24
|
+
parents=(
|
|
25
|
+
_manual,
|
|
26
|
+
Foundation,
|
|
27
|
+
),
|
|
28
|
+
metadict=_metadata.__dict__,
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
globals()["__dir__"] = dir_func
|
|
32
|
+
globals()["__getattr__"] = getattr_func
|
|
33
|
+
|
|
34
|
+
del sys.modules["SystemConfiguration._metadata"]
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
globals().pop("_setup")()
|
|
38
|
+
|
|
39
|
+
from . import SCNetworkInterfaceRef # isort: skip # noqa: E402
|
|
40
|
+
|
|
41
|
+
SCBondInterfaceRef = SCNetworkInterfaceRef
|
|
42
|
+
SCVLANInterfaceRef = SCNetworkInterfaceRef
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This file is generated by objective.metadata
|
|
2
2
|
#
|
|
3
|
-
# Last update: Sat
|
|
3
|
+
# Last update: Sat Jul 1 14:00:01 2023
|
|
4
4
|
#
|
|
5
5
|
# flake8: noqa
|
|
6
6
|
|
|
@@ -35,9 +35,21 @@ enums = """$kSCBondStatusLinkInvalid@1$kSCBondStatusNoPartner@2$kSCBondStatusNot
|
|
|
35
35
|
misc.update(
|
|
36
36
|
{
|
|
37
37
|
"SCPreferencesNotification": NewType("SCPreferencesNotification", int),
|
|
38
|
+
"enum (unnamed at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SystemConfiguration.h:72:1)": NewType(
|
|
39
|
+
"enum (unnamed at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SystemConfiguration.h:72:1)",
|
|
40
|
+
int,
|
|
41
|
+
),
|
|
42
|
+
"SCNetworkConnectionPPPStatus": NewType("SCNetworkConnectionPPPStatus", int),
|
|
43
|
+
"enum (unnamed at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCNetwork.h:107:1)": NewType(
|
|
44
|
+
"enum (unnamed at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCNetwork.h:107:1)",
|
|
45
|
+
int,
|
|
46
|
+
),
|
|
38
47
|
"SCNetworkConnectionStatus": NewType("SCNetworkConnectionStatus", int),
|
|
39
48
|
"SCNetworkReachabilityFlags": NewType("SCNetworkReachabilityFlags", int),
|
|
40
|
-
"
|
|
49
|
+
"enum (unnamed at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCNetworkConfiguration.h:202:1)": NewType(
|
|
50
|
+
"enum (unnamed at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCNetworkConfiguration.h:202:1)",
|
|
51
|
+
int,
|
|
52
|
+
),
|
|
41
53
|
}
|
|
42
54
|
)
|
|
43
55
|
misc.update({})
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyobjc-framework-SystemConfiguration
|
|
3
|
-
Version:
|
|
3
|
+
Version: 10.0
|
|
4
4
|
Summary: Wrappers for the framework SystemConfiguration 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.
|
|
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
|
|
@@ -45,6 +45,7 @@ metadata/metadata.ini
|
|
|
45
45
|
metadata/raw/arm64-12.0.fwinfo
|
|
46
46
|
metadata/raw/arm64-12.3.fwinfo
|
|
47
47
|
metadata/raw/arm64-13.3.fwinfo
|
|
48
|
+
metadata/raw/arm64-14.0.fwinfo
|
|
48
49
|
metadata/raw/x86_64-10.10.fwinfo
|
|
49
50
|
metadata/raw/x86_64-10.16.fwinfo
|
|
50
51
|
metadata/raw/x86_64-10.6.fwinfo
|
|
@@ -52,4 +53,5 @@ metadata/raw/x86_64-10.7.fwinfo
|
|
|
52
53
|
metadata/raw/x86_64-10.8.fwinfo
|
|
53
54
|
metadata/raw/x86_64-12.0.fwinfo
|
|
54
55
|
metadata/raw/x86_64-12.3.fwinfo
|
|
55
|
-
metadata/raw/x86_64-13.3.fwinfo
|
|
56
|
+
metadata/raw/x86_64-13.3.fwinfo
|
|
57
|
+
metadata/raw/x86_64-14.0.fwinfo
|
|
@@ -112,6 +112,8 @@ struct pyobjc_api {
|
|
|
112
112
|
size_t max_args, size_t nargsf);
|
|
113
113
|
int (*_Nonnull checknokwnames)(PyObject* _Nonnull callable,
|
|
114
114
|
PyObject* _Nullable kwnames);
|
|
115
|
+
|
|
116
|
+
PyObject* _Nullable (*_Nonnull createopaquepointertype)(const char*, const char*, const char*);
|
|
115
117
|
};
|
|
116
118
|
|
|
117
119
|
#ifndef PYOBJC_BUILD
|
|
@@ -153,6 +155,7 @@ static struct pyobjc_api* PyObjC_API;
|
|
|
153
155
|
#define PyObjCMemView_GetBuffer (PyObjC_API->memview_getbuffer)
|
|
154
156
|
#define PyObjC_CheckArgCount (PyObjC_API->checkargcount)
|
|
155
157
|
#define PyObjC_CheckNoKwnames (PyObjC_API->checknokwnames)
|
|
158
|
+
#define PyObjCCreateOpaquePointerType (PyObjC_API->createopaquepointertype)
|
|
156
159
|
|
|
157
160
|
typedef void (*PyObjC_Function_Pointer)(void);
|
|
158
161
|
typedef struct PyObjC_function_map {
|
|
@@ -46,279 +46,6 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
46
46
|
#define PyObjC_FINAL_CLASS
|
|
47
47
|
#endif
|
|
48
48
|
|
|
49
|
-
/*
|
|
50
|
-
*
|
|
51
|
-
* Start of Cocoa definitions
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
* Ensure that CGFloat and NSInteger are always
|
|
55
|
-
* available, even when compiling with ancient SDKs.
|
|
56
|
-
*
|
|
57
|
-
* Also ensure that MAC_OS_X_VERSION_... macros are available
|
|
58
|
-
* for all existing OSX versions.
|
|
59
|
-
*
|
|
60
|
-
* XXX: Are these really needed?
|
|
61
|
-
*/
|
|
62
|
-
|
|
63
|
-
#ifndef MAC_OS_X_VERSION_10_1
|
|
64
|
-
#define MAC_OS_X_VERSION_10_1 1010
|
|
65
|
-
#define MAC_OS_X_VERSION_MAX_ALLOWED MAC_OS_X_VERSION_10_1
|
|
66
|
-
#endif
|
|
67
|
-
|
|
68
|
-
#ifndef MAC_OS_X_VERSION_10_2
|
|
69
|
-
#define MAC_OS_X_VERSION_10_2 1020
|
|
70
|
-
#endif
|
|
71
|
-
|
|
72
|
-
#ifndef MAC_OS_X_VERSION_10_3
|
|
73
|
-
#define MAC_OS_X_VERSION_10_3 1030
|
|
74
|
-
#endif
|
|
75
|
-
|
|
76
|
-
#ifndef MAC_OS_X_VERSION_10_4
|
|
77
|
-
#define MAC_OS_X_VERSION_10_4 1040
|
|
78
|
-
#endif
|
|
79
|
-
|
|
80
|
-
#ifndef MAC_OS_X_VERSION_10_5
|
|
81
|
-
#define MAC_OS_X_VERSION_10_5 1050
|
|
82
|
-
#endif
|
|
83
|
-
|
|
84
|
-
#ifndef MAC_OS_X_VERSION_10_6
|
|
85
|
-
#define MAC_OS_X_VERSION_10_6 1060
|
|
86
|
-
#endif
|
|
87
|
-
|
|
88
|
-
#ifndef MAC_OS_X_VERSION_10_7
|
|
89
|
-
#define MAC_OS_X_VERSION_10_7 1070
|
|
90
|
-
#endif
|
|
91
|
-
|
|
92
|
-
#ifndef MAC_OS_X_VERSION_10_8
|
|
93
|
-
#define MAC_OS_X_VERSION_10_8 1080
|
|
94
|
-
#endif
|
|
95
|
-
|
|
96
|
-
#ifndef MAC_OS_X_VERSION_10_9
|
|
97
|
-
#define MAC_OS_X_VERSION_10_9 1090
|
|
98
|
-
#endif
|
|
99
|
-
|
|
100
|
-
#ifndef MAC_OS_X_VERSION_10_10
|
|
101
|
-
#define MAC_OS_X_VERSION_10_10 101000
|
|
102
|
-
#endif
|
|
103
|
-
|
|
104
|
-
#ifndef MAC_OS_X_VERSION_10_10_2
|
|
105
|
-
#define MAC_OS_X_VERSION_10_10_2 101002
|
|
106
|
-
#endif
|
|
107
|
-
|
|
108
|
-
#ifndef MAC_OS_X_VERSION_10_10_3
|
|
109
|
-
#define MAC_OS_X_VERSION_10_10_3 101003
|
|
110
|
-
#endif
|
|
111
|
-
|
|
112
|
-
#ifndef MAC_OS_X_VERSION_10_11
|
|
113
|
-
#define MAC_OS_X_VERSION_10_11 101100
|
|
114
|
-
#endif
|
|
115
|
-
|
|
116
|
-
#ifndef MAC_OS_X_VERSION_10_11_1
|
|
117
|
-
#define MAC_OS_X_VERSION_10_11_1 101101
|
|
118
|
-
#endif
|
|
119
|
-
|
|
120
|
-
#ifndef MAC_OS_X_VERSION_10_11_2
|
|
121
|
-
#define MAC_OS_X_VERSION_10_11_2 101102
|
|
122
|
-
#endif
|
|
123
|
-
|
|
124
|
-
#ifndef MAC_OS_X_VERSION_10_11_3
|
|
125
|
-
#define MAC_OS_X_VERSION_10_11_3 101103
|
|
126
|
-
#endif
|
|
127
|
-
|
|
128
|
-
#ifndef MAC_OS_X_VERSION_10_11_4
|
|
129
|
-
#define MAC_OS_X_VERSION_10_11_4 101104
|
|
130
|
-
#endif
|
|
131
|
-
|
|
132
|
-
#ifndef MAC_OS_X_VERSION_10_12
|
|
133
|
-
#define MAC_OS_X_VERSION_10_12 101200
|
|
134
|
-
#endif
|
|
135
|
-
|
|
136
|
-
#ifndef MAC_OS_X_VERSION_10_12_1
|
|
137
|
-
#define MAC_OS_X_VERSION_10_12_1 101201
|
|
138
|
-
#endif
|
|
139
|
-
|
|
140
|
-
#ifndef MAC_OS_X_VERSION_10_12_2
|
|
141
|
-
#define MAC_OS_X_VERSION_10_12_2 101202
|
|
142
|
-
#endif
|
|
143
|
-
|
|
144
|
-
#ifndef MAC_OS_X_VERSION_10_12_4
|
|
145
|
-
#define MAC_OS_X_VERSION_10_12_4 101204
|
|
146
|
-
#endif
|
|
147
|
-
|
|
148
|
-
#ifndef MAC_OS_X_VERSION_10_13
|
|
149
|
-
#define MAC_OS_X_VERSION_10_13 101300
|
|
150
|
-
#endif
|
|
151
|
-
|
|
152
|
-
#ifndef MAC_OS_X_VERSION_10_13_1
|
|
153
|
-
#define MAC_OS_X_VERSION_10_13_1 101301
|
|
154
|
-
#endif
|
|
155
|
-
|
|
156
|
-
#ifndef MAC_OS_X_VERSION_10_13_2
|
|
157
|
-
#define MAC_OS_X_VERSION_10_13_2 101302
|
|
158
|
-
#endif
|
|
159
|
-
|
|
160
|
-
#ifndef MAC_OS_X_VERSION_10_13_3
|
|
161
|
-
#define MAC_OS_X_VERSION_10_13_3 101303
|
|
162
|
-
#endif
|
|
163
|
-
|
|
164
|
-
#ifndef MAC_OS_X_VERSION_10_13_4
|
|
165
|
-
#define MAC_OS_X_VERSION_10_13_4 101304
|
|
166
|
-
#endif
|
|
167
|
-
|
|
168
|
-
#ifndef MAC_OS_X_VERSION_10_13_5
|
|
169
|
-
#define MAC_OS_X_VERSION_10_13_5 101305
|
|
170
|
-
#endif
|
|
171
|
-
|
|
172
|
-
#ifndef MAC_OS_X_VERSION_10_13_6
|
|
173
|
-
#define MAC_OS_X_VERSION_10_13_6 101306
|
|
174
|
-
#endif
|
|
175
|
-
|
|
176
|
-
#ifndef MAC_OS_X_VERSION_10_14
|
|
177
|
-
#define MAC_OS_X_VERSION_10_14 101400
|
|
178
|
-
#endif
|
|
179
|
-
|
|
180
|
-
#ifndef MAC_OS_X_VERSION_10_14_1
|
|
181
|
-
#define MAC_OS_X_VERSION_10_14_1 101401
|
|
182
|
-
#endif
|
|
183
|
-
|
|
184
|
-
#ifndef MAC_OS_X_VERSION_10_14_2
|
|
185
|
-
#define MAC_OS_X_VERSION_10_14_2 101402
|
|
186
|
-
#endif
|
|
187
|
-
|
|
188
|
-
#ifndef MAC_OS_X_VERSION_10_14_3
|
|
189
|
-
#define MAC_OS_X_VERSION_10_14_3 101403
|
|
190
|
-
#endif
|
|
191
|
-
|
|
192
|
-
#ifndef MAC_OS_X_VERSION_10_14_4
|
|
193
|
-
#define MAC_OS_X_VERSION_10_14_4 101404
|
|
194
|
-
#endif
|
|
195
|
-
|
|
196
|
-
#ifndef MAC_OS_X_VERSION_10_14_5
|
|
197
|
-
#define MAC_OS_X_VERSION_10_14_5 101405
|
|
198
|
-
#endif
|
|
199
|
-
|
|
200
|
-
#ifndef MAC_OS_X_VERSION_10_14_6
|
|
201
|
-
#define MAC_OS_X_VERSION_10_14_6 101406
|
|
202
|
-
#endif
|
|
203
|
-
|
|
204
|
-
#ifndef MAC_OS_X_VERSION_10_15
|
|
205
|
-
#define MAC_OS_X_VERSION_10_15 101500
|
|
206
|
-
#endif
|
|
207
|
-
|
|
208
|
-
#ifndef MAC_OS_X_VERSION_10_15_1
|
|
209
|
-
#define MAC_OS_X_VERSION_10_15_1 101501
|
|
210
|
-
#endif
|
|
211
|
-
|
|
212
|
-
#ifndef MAC_OS_X_VERSION_10_15_2
|
|
213
|
-
#define MAC_OS_X_VERSION_10_15_2 101502
|
|
214
|
-
#endif
|
|
215
|
-
|
|
216
|
-
#ifndef MAC_OS_X_VERSION_10_15_3
|
|
217
|
-
#define MAC_OS_X_VERSION_10_15_3 101503
|
|
218
|
-
#endif
|
|
219
|
-
|
|
220
|
-
#ifndef MAC_OS_X_VERSION_10_15_4
|
|
221
|
-
#define MAC_OS_X_VERSION_10_15_4 101504
|
|
222
|
-
#endif
|
|
223
|
-
|
|
224
|
-
#ifndef MAC_OS_X_VERSION_10_15_5
|
|
225
|
-
#define MAC_OS_X_VERSION_10_15_5 101505
|
|
226
|
-
#endif
|
|
227
|
-
|
|
228
|
-
#ifndef MAC_OS_X_VERSION_10_15_6
|
|
229
|
-
#define MAC_OS_X_VERSION_10_15_6 101506
|
|
230
|
-
#endif
|
|
231
|
-
|
|
232
|
-
#ifndef MAC_OS_X_VERSION_10_16
|
|
233
|
-
#define MAC_OS_X_VERSION_10_16 101600
|
|
234
|
-
#endif
|
|
235
|
-
|
|
236
|
-
#ifndef MAC_OS_X_VERSION_11_0
|
|
237
|
-
#define MAC_OS_X_VERSION_11_0 110000
|
|
238
|
-
#endif
|
|
239
|
-
|
|
240
|
-
#ifndef MAC_OS_X_VERSION_11_1
|
|
241
|
-
#define MAC_OS_X_VERSION_11_1 110100
|
|
242
|
-
#endif
|
|
243
|
-
|
|
244
|
-
#ifndef MAC_OS_X_VERSION_11_2
|
|
245
|
-
#define MAC_OS_X_VERSION_11_2 110200
|
|
246
|
-
#endif
|
|
247
|
-
|
|
248
|
-
#ifndef MAC_OS_X_VERSION_11_3
|
|
249
|
-
#define MAC_OS_X_VERSION_11_3 110300
|
|
250
|
-
#endif
|
|
251
|
-
|
|
252
|
-
#ifndef MAC_OS_X_VERSION_11_4
|
|
253
|
-
#define MAC_OS_X_VERSION_11_4 110400
|
|
254
|
-
#endif
|
|
255
|
-
|
|
256
|
-
#ifndef MAC_OS_X_VERSION_11_5
|
|
257
|
-
#define MAC_OS_X_VERSION_11_5 110500
|
|
258
|
-
#endif
|
|
259
|
-
|
|
260
|
-
#ifndef MAC_OS_X_VERSION_11_6
|
|
261
|
-
#define MAC_OS_X_VERSION_11_6 110600
|
|
262
|
-
#endif
|
|
263
|
-
|
|
264
|
-
#ifndef MAC_OS_X_VERSION_12_0
|
|
265
|
-
#define MAC_OS_X_VERSION_12_0 120000
|
|
266
|
-
#endif
|
|
267
|
-
|
|
268
|
-
#ifndef MAC_OS_X_VERSION_12_1
|
|
269
|
-
#define MAC_OS_X_VERSION_12_1 120100
|
|
270
|
-
#endif
|
|
271
|
-
|
|
272
|
-
#ifndef MAC_OS_X_VERSION_12_2
|
|
273
|
-
#define MAC_OS_X_VERSION_12_2 120200
|
|
274
|
-
#endif
|
|
275
|
-
|
|
276
|
-
#ifndef MAC_OS_X_VERSION_12_3
|
|
277
|
-
#define MAC_OS_X_VERSION_12_3 120300
|
|
278
|
-
#endif
|
|
279
|
-
|
|
280
|
-
#ifndef MAC_OS_X_VERSION_12_4
|
|
281
|
-
#define MAC_OS_X_VERSION_12_4 120400
|
|
282
|
-
#endif
|
|
283
|
-
|
|
284
|
-
#ifndef MAC_OS_X_VERSION_12_5
|
|
285
|
-
#define MAC_OS_X_VERSION_12_5 120500
|
|
286
|
-
#endif
|
|
287
|
-
|
|
288
|
-
#ifndef MAC_OS_X_VERSION_12_6
|
|
289
|
-
#define MAC_OS_X_VERSION_12_6 120600
|
|
290
|
-
#endif
|
|
291
|
-
|
|
292
|
-
#ifndef MAC_OS_X_VERSION_13_0
|
|
293
|
-
#define MAC_OS_X_VERSION_13_0 130000
|
|
294
|
-
#endif
|
|
295
|
-
|
|
296
|
-
#ifndef MAC_OS_X_VERSION_13_1
|
|
297
|
-
#define MAC_OS_X_VERSION_13_1 130100
|
|
298
|
-
#endif
|
|
299
|
-
|
|
300
|
-
#ifndef MAC_OS_X_VERSION_13_2
|
|
301
|
-
#define MAC_OS_X_VERSION_13_2 130200
|
|
302
|
-
#endif
|
|
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
|
-
|
|
312
|
-
#ifndef MAC_OS_X_VERSION_13_5
|
|
313
|
-
#define MAC_OS_X_VERSION_13_5 130500
|
|
314
|
-
#endif
|
|
315
|
-
|
|
316
|
-
/*
|
|
317
|
-
*
|
|
318
|
-
* End of Cocoa definitions
|
|
319
|
-
*
|
|
320
|
-
*/
|
|
321
|
-
|
|
322
49
|
/*
|
|
323
50
|
*
|
|
324
51
|
* Start of compiler support helpers
|
{pyobjc-framework-SystemConfiguration-9.2 → pyobjc-framework-SystemConfiguration-10.0}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyobjc-framework-SystemConfiguration
|
|
3
|
-
Version:
|
|
3
|
+
Version: 10.0
|
|
4
4
|
Summary: Wrappers for the framework SystemConfiguration 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.
|
|
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 framework 'SystemConfiguration'.
|
|
@@ -17,7 +17,7 @@ class TestSCDynamicStoreCopyDHCPInfo(TestCase):
|
|
|
17
17
|
|
|
18
18
|
have_ip = False
|
|
19
19
|
|
|
20
|
-
for intf in ("en0", "en1", "en2", "en3"):
|
|
20
|
+
for intf in ("en0", "en1", "en2", "en3", "en4"):
|
|
21
21
|
with os.popen(f"ifconfig {intf} 2>/dev/null| grep inet", "r") as fp:
|
|
22
22
|
ip = fp.read()
|
|
23
23
|
if ip.strip():
|
|
@@ -392,38 +392,23 @@
|
|
|
392
392
|
"function": {
|
|
393
393
|
"args": [
|
|
394
394
|
{
|
|
395
|
-
"typestr":
|
|
396
|
-
"^{__SCDynamicStore=}",
|
|
397
|
-
false
|
|
398
|
-
]
|
|
395
|
+
"typestr": "^{__SCDynamicStore=}"
|
|
399
396
|
},
|
|
400
397
|
{
|
|
401
|
-
"typestr":
|
|
402
|
-
"^{__CFArray=}",
|
|
403
|
-
false
|
|
404
|
-
]
|
|
398
|
+
"typestr": "^{__CFArray=}"
|
|
405
399
|
},
|
|
406
400
|
{
|
|
407
|
-
"typestr":
|
|
408
|
-
"^v",
|
|
409
|
-
false
|
|
410
|
-
]
|
|
401
|
+
"typestr": "^v"
|
|
411
402
|
}
|
|
412
403
|
],
|
|
413
404
|
"retval": {
|
|
414
|
-
"typestr":
|
|
415
|
-
"v",
|
|
416
|
-
false
|
|
417
|
-
]
|
|
405
|
+
"typestr": "v"
|
|
418
406
|
}
|
|
419
407
|
},
|
|
420
408
|
"type_override": "^?"
|
|
421
409
|
},
|
|
422
410
|
"3": {
|
|
423
|
-
"type_override":
|
|
424
|
-
"^{?=i^v^?^?^?}",
|
|
425
|
-
"^{?=q^v^?^?^?}"
|
|
426
|
-
]
|
|
411
|
+
"type_override": "^{?=q^v^?^?^?}"
|
|
427
412
|
}
|
|
428
413
|
},
|
|
429
414
|
"retval": {
|
|
@@ -460,38 +445,23 @@
|
|
|
460
445
|
"function": {
|
|
461
446
|
"args": [
|
|
462
447
|
{
|
|
463
|
-
"typestr":
|
|
464
|
-
"^{__SCDynamicStore=}",
|
|
465
|
-
false
|
|
466
|
-
]
|
|
448
|
+
"typestr": "^{__SCDynamicStore=}"
|
|
467
449
|
},
|
|
468
450
|
{
|
|
469
|
-
"typestr":
|
|
470
|
-
"^{__CFArray=}",
|
|
471
|
-
false
|
|
472
|
-
]
|
|
451
|
+
"typestr": "^{__CFArray=}"
|
|
473
452
|
},
|
|
474
453
|
{
|
|
475
|
-
"typestr":
|
|
476
|
-
"^v",
|
|
477
|
-
false
|
|
478
|
-
]
|
|
454
|
+
"typestr": "^v"
|
|
479
455
|
}
|
|
480
456
|
],
|
|
481
457
|
"retval": {
|
|
482
|
-
"typestr":
|
|
483
|
-
"v",
|
|
484
|
-
false
|
|
485
|
-
]
|
|
458
|
+
"typestr": "v"
|
|
486
459
|
}
|
|
487
460
|
},
|
|
488
461
|
"type_override": "^?"
|
|
489
462
|
},
|
|
490
463
|
"4": {
|
|
491
|
-
"type_override":
|
|
492
|
-
"^{?=i^v^?^?^?}",
|
|
493
|
-
"^{?=q^v^?^?^?}"
|
|
494
|
-
]
|
|
464
|
+
"type_override": "^{?=q^v^?^?^?}"
|
|
495
465
|
}
|
|
496
466
|
},
|
|
497
467
|
"retval": {
|
|
@@ -810,38 +780,23 @@
|
|
|
810
780
|
"function": {
|
|
811
781
|
"args": [
|
|
812
782
|
{
|
|
813
|
-
"typestr":
|
|
814
|
-
"^{__SCNetworkConnection=}",
|
|
815
|
-
false
|
|
816
|
-
]
|
|
783
|
+
"typestr": "^{__SCNetworkConnection=}"
|
|
817
784
|
},
|
|
818
785
|
{
|
|
819
|
-
"typestr":
|
|
820
|
-
"i",
|
|
821
|
-
false
|
|
822
|
-
]
|
|
786
|
+
"typestr": "i"
|
|
823
787
|
},
|
|
824
788
|
{
|
|
825
|
-
"typestr":
|
|
826
|
-
"^v",
|
|
827
|
-
false
|
|
828
|
-
]
|
|
789
|
+
"typestr": "^v"
|
|
829
790
|
}
|
|
830
791
|
],
|
|
831
792
|
"retval": {
|
|
832
|
-
"typestr":
|
|
833
|
-
"v",
|
|
834
|
-
false
|
|
835
|
-
]
|
|
793
|
+
"typestr": "v"
|
|
836
794
|
}
|
|
837
795
|
},
|
|
838
796
|
"type_override": "^?"
|
|
839
797
|
},
|
|
840
798
|
"3": {
|
|
841
|
-
"type_override":
|
|
842
|
-
"^{?=i^v^?^?^?}",
|
|
843
|
-
"^{?=q^v^?^?^?}"
|
|
844
|
-
]
|
|
799
|
+
"type_override": "^{?=q^v^?^?^?}"
|
|
845
800
|
}
|
|
846
801
|
},
|
|
847
802
|
"retval": {
|
|
@@ -1263,38 +1218,23 @@
|
|
|
1263
1218
|
"function": {
|
|
1264
1219
|
"args": [
|
|
1265
1220
|
{
|
|
1266
|
-
"typestr":
|
|
1267
|
-
"^{__SCNetworkReachability=}",
|
|
1268
|
-
false
|
|
1269
|
-
]
|
|
1221
|
+
"typestr": "^{__SCNetworkReachability=}"
|
|
1270
1222
|
},
|
|
1271
1223
|
{
|
|
1272
|
-
"typestr":
|
|
1273
|
-
"I",
|
|
1274
|
-
false
|
|
1275
|
-
]
|
|
1224
|
+
"typestr": "I"
|
|
1276
1225
|
},
|
|
1277
1226
|
{
|
|
1278
|
-
"typestr":
|
|
1279
|
-
"^v",
|
|
1280
|
-
false
|
|
1281
|
-
]
|
|
1227
|
+
"typestr": "^v"
|
|
1282
1228
|
}
|
|
1283
1229
|
],
|
|
1284
1230
|
"retval": {
|
|
1285
|
-
"typestr":
|
|
1286
|
-
"v",
|
|
1287
|
-
false
|
|
1288
|
-
]
|
|
1231
|
+
"typestr": "v"
|
|
1289
1232
|
}
|
|
1290
1233
|
},
|
|
1291
1234
|
"type_override": "^?"
|
|
1292
1235
|
},
|
|
1293
1236
|
"2": {
|
|
1294
|
-
"type_override":
|
|
1295
|
-
"^{?=i^v^?^?^?}",
|
|
1296
|
-
"^{?=q^v^?^?^?}"
|
|
1297
|
-
]
|
|
1237
|
+
"type_override": "^{?=q^v^?^?^?}"
|
|
1298
1238
|
}
|
|
1299
1239
|
}
|
|
1300
1240
|
},
|
|
@@ -1834,38 +1774,23 @@
|
|
|
1834
1774
|
"function": {
|
|
1835
1775
|
"args": [
|
|
1836
1776
|
{
|
|
1837
|
-
"typestr":
|
|
1838
|
-
"^{__SCPreferences=}",
|
|
1839
|
-
false
|
|
1840
|
-
]
|
|
1777
|
+
"typestr": "^{__SCPreferences=}"
|
|
1841
1778
|
},
|
|
1842
1779
|
{
|
|
1843
|
-
"typestr":
|
|
1844
|
-
"I",
|
|
1845
|
-
false
|
|
1846
|
-
]
|
|
1780
|
+
"typestr": "I"
|
|
1847
1781
|
},
|
|
1848
1782
|
{
|
|
1849
|
-
"typestr":
|
|
1850
|
-
"^v",
|
|
1851
|
-
false
|
|
1852
|
-
]
|
|
1783
|
+
"typestr": "^v"
|
|
1853
1784
|
}
|
|
1854
1785
|
],
|
|
1855
1786
|
"retval": {
|
|
1856
|
-
"typestr":
|
|
1857
|
-
"v",
|
|
1858
|
-
false
|
|
1859
|
-
]
|
|
1787
|
+
"typestr": "v"
|
|
1860
1788
|
}
|
|
1861
1789
|
},
|
|
1862
1790
|
"type_override": "^?"
|
|
1863
1791
|
},
|
|
1864
1792
|
"2": {
|
|
1865
|
-
"type_override":
|
|
1866
|
-
"^{?=i^v^?^?^?}",
|
|
1867
|
-
"^{?=q^v^?^?^?}"
|
|
1868
|
-
]
|
|
1793
|
+
"type_override": "^{?=q^v^?^?^?}"
|
|
1869
1794
|
}
|
|
1870
1795
|
}
|
|
1871
1796
|
},
|