pyobjc-framework-AdServices 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 (30) hide show
  1. pyobjc-framework-AdServices-10.1/Lib/AdServices/__init__.py +34 -0
  2. {pyobjc-framework-AdServices-9.2 → pyobjc-framework-AdServices-10.1}/Lib/AdServices/_metadata.py +1 -1
  3. {pyobjc-framework-AdServices-9.2 → pyobjc-framework-AdServices-10.1}/Lib/pyobjc_framework_AdServices.egg-info/PKG-INFO +6 -3
  4. {pyobjc-framework-AdServices-9.2 → pyobjc-framework-AdServices-10.1}/Lib/pyobjc_framework_AdServices.egg-info/SOURCES.txt +3 -1
  5. pyobjc-framework-AdServices-10.1/Lib/pyobjc_framework_AdServices.egg-info/requires.txt +2 -0
  6. {pyobjc-framework-AdServices-9.2 → pyobjc-framework-AdServices-10.1}/PKG-INFO +6 -3
  7. pyobjc-framework-AdServices-10.1/metadata/raw/arm64-14.0.fwinfo +70 -0
  8. pyobjc-framework-AdServices-10.1/metadata/raw/x86_64-14.0.fwinfo +70 -0
  9. {pyobjc-framework-AdServices-9.2 → pyobjc-framework-AdServices-10.1}/pyobjc_setup.py +16 -6
  10. {pyobjc-framework-AdServices-9.2 → pyobjc-framework-AdServices-10.1}/setup.py +1 -1
  11. pyobjc-framework-AdServices-9.2/Lib/AdServices/__init__.py +0 -30
  12. pyobjc-framework-AdServices-9.2/Lib/pyobjc_framework_AdServices.egg-info/requires.txt +0 -2
  13. {pyobjc-framework-AdServices-9.2 → pyobjc-framework-AdServices-10.1}/Lib/pyobjc_framework_AdServices.egg-info/dependency_links.txt +0 -0
  14. {pyobjc-framework-AdServices-9.2 → pyobjc-framework-AdServices-10.1}/Lib/pyobjc_framework_AdServices.egg-info/not-zip-safe +0 -0
  15. {pyobjc-framework-AdServices-9.2 → pyobjc-framework-AdServices-10.1}/Lib/pyobjc_framework_AdServices.egg-info/top_level.txt +0 -0
  16. {pyobjc-framework-AdServices-9.2 → pyobjc-framework-AdServices-10.1}/License.txt +0 -0
  17. {pyobjc-framework-AdServices-9.2 → pyobjc-framework-AdServices-10.1}/MANIFEST.in +0 -0
  18. {pyobjc-framework-AdServices-9.2 → pyobjc-framework-AdServices-10.1}/PyObjCTest/__init__.py +0 -0
  19. {pyobjc-framework-AdServices-9.2 → pyobjc-framework-AdServices-10.1}/PyObjCTest/test_aaatribution.py +0 -0
  20. {pyobjc-framework-AdServices-9.2 → pyobjc-framework-AdServices-10.1}/PyObjCTest/test_adservices.py +0 -0
  21. {pyobjc-framework-AdServices-9.2 → pyobjc-framework-AdServices-10.1}/metadata/AdServices.fwinfo +0 -0
  22. {pyobjc-framework-AdServices-9.2 → pyobjc-framework-AdServices-10.1}/metadata/metadata.ini +0 -0
  23. {pyobjc-framework-AdServices-9.2 → pyobjc-framework-AdServices-10.1}/metadata/raw/arm64-12.0.fwinfo +0 -0
  24. {pyobjc-framework-AdServices-9.2 → pyobjc-framework-AdServices-10.1}/metadata/raw/arm64-12.3.fwinfo +0 -0
  25. {pyobjc-framework-AdServices-9.2 → pyobjc-framework-AdServices-10.1}/metadata/raw/arm64-13.3.fwinfo +0 -0
  26. {pyobjc-framework-AdServices-9.2 → pyobjc-framework-AdServices-10.1}/metadata/raw/x86_64-12.0.fwinfo +0 -0
  27. {pyobjc-framework-AdServices-9.2 → pyobjc-framework-AdServices-10.1}/metadata/raw/x86_64-12.3.fwinfo +0 -0
  28. {pyobjc-framework-AdServices-9.2 → pyobjc-framework-AdServices-10.1}/metadata/raw/x86_64-13.3.fwinfo +0 -0
  29. {pyobjc-framework-AdServices-9.2 → pyobjc-framework-AdServices-10.1}/pyproject.toml +0 -0
  30. {pyobjc-framework-AdServices-9.2 → pyobjc-framework-AdServices-10.1}/setup.cfg +0 -0
@@ -0,0 +1,34 @@
1
+ """
2
+ Python mapping for the AdServices 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="AdServices",
18
+ frameworkIdentifier="com.apple.ap.AdServices",
19
+ frameworkPath=objc.pathForFramework(
20
+ "/System/Library/Frameworks/AdServices.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["AdServices._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: Fri Feb 17 17:05:47 2023
3
+ # Last update: Sat Jul 1 14:04:57 2023
4
4
  #
5
5
  # flake8: noqa
6
6
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyobjc-framework-AdServices
3
- Version: 9.2
3
+ Version: 10.1
4
4
  Summary: Wrappers for the framework AdServices on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -18,17 +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
+ 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
32
35
  Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
33
36
  Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
34
37
  Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
@@ -19,6 +19,8 @@ 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-12.0.fwinfo
23
24
  metadata/raw/x86_64-12.3.fwinfo
24
- metadata/raw/x86_64-13.3.fwinfo
25
+ metadata/raw/x86_64-13.3.fwinfo
26
+ metadata/raw/x86_64-14.0.fwinfo
@@ -0,0 +1,2 @@
1
+ pyobjc-core>=10.1
2
+ pyobjc-framework-Cocoa>=10.1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyobjc-framework-AdServices
3
- Version: 9.2
3
+ Version: 10.1
4
4
  Summary: Wrappers for the framework AdServices on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -18,17 +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
+ 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
32
35
 
33
36
 
34
37
  Wrappers for the "AdServices" framework on macOS 11.1 or later.
@@ -0,0 +1,70 @@
1
+ // GENERATED FILE DO NOT EDIT
2
+ //
3
+ // This file was generated by objective.metadata
4
+ // Last update: Sat Jul 1 14:04:57 2023
5
+ {
6
+ "arch": "arm64",
7
+ "definitions": {
8
+ "aliases": {},
9
+ "called_definitions": {},
10
+ "cftypes": {},
11
+ "classes": {
12
+ "AAAttribution": {
13
+ "categories": [],
14
+ "methods": [
15
+ {
16
+ "args": [
17
+ {
18
+ "type_modifier": "o",
19
+ "typestr": "^@",
20
+ "typestr_special": false
21
+ }
22
+ ],
23
+ "class_method": true,
24
+ "retval": {
25
+ "typestr": "@",
26
+ "typestr_special": false
27
+ },
28
+ "selector": "attributionTokenWithError:",
29
+ "visibility": "public"
30
+ }
31
+ ],
32
+ "name": "AAAttribution",
33
+ "properties": [],
34
+ "protocols": [],
35
+ "super": "NSObject"
36
+ }
37
+ },
38
+ "enum": {
39
+ "AAAttributionErrorCodeInternalError": 2,
40
+ "AAAttributionErrorCodeNetworkError": 1,
41
+ "AAAttributionErrorCodePlatformNotSupported": 3
42
+ },
43
+ "enum_type": {
44
+ "AAAttributionErrorCode": {
45
+ "type": "q"
46
+ }
47
+ },
48
+ "expressions": {},
49
+ "externs": {
50
+ "AAAttributionErrorDomain": {
51
+ "typestr": "@"
52
+ }
53
+ },
54
+ "formal_protocols": {},
55
+ "func_macros": {},
56
+ "functions": {},
57
+ "informal_protocols": {},
58
+ "literals": {},
59
+ "structs": {},
60
+ "typedefs": {
61
+ "AAAttributionErrorCode": "enum AAAttributionErrorCode"
62
+ }
63
+ },
64
+ "framework": "AdServices",
65
+ "headers": [
66
+ "AAAttribution.h"
67
+ ],
68
+ "release": "10.16",
69
+ "sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"
70
+ }
@@ -0,0 +1,70 @@
1
+ // GENERATED FILE DO NOT EDIT
2
+ //
3
+ // This file was generated by objective.metadata
4
+ // Last update: Sat Jul 1 14:04:56 2023
5
+ {
6
+ "arch": "x86_64",
7
+ "definitions": {
8
+ "aliases": {},
9
+ "called_definitions": {},
10
+ "cftypes": {},
11
+ "classes": {
12
+ "AAAttribution": {
13
+ "categories": [],
14
+ "methods": [
15
+ {
16
+ "args": [
17
+ {
18
+ "type_modifier": "o",
19
+ "typestr": "^@",
20
+ "typestr_special": false
21
+ }
22
+ ],
23
+ "class_method": true,
24
+ "retval": {
25
+ "typestr": "@",
26
+ "typestr_special": false
27
+ },
28
+ "selector": "attributionTokenWithError:",
29
+ "visibility": "public"
30
+ }
31
+ ],
32
+ "name": "AAAttribution",
33
+ "properties": [],
34
+ "protocols": [],
35
+ "super": "NSObject"
36
+ }
37
+ },
38
+ "enum": {
39
+ "AAAttributionErrorCodeInternalError": 2,
40
+ "AAAttributionErrorCodeNetworkError": 1,
41
+ "AAAttributionErrorCodePlatformNotSupported": 3
42
+ },
43
+ "enum_type": {
44
+ "AAAttributionErrorCode": {
45
+ "type": "q"
46
+ }
47
+ },
48
+ "expressions": {},
49
+ "externs": {
50
+ "AAAttributionErrorDomain": {
51
+ "typestr": "@"
52
+ }
53
+ },
54
+ "formal_protocols": {},
55
+ "func_macros": {},
56
+ "functions": {},
57
+ "informal_protocols": {},
58
+ "literals": {},
59
+ "structs": {},
60
+ "typedefs": {
61
+ "AAAttributionErrorCode": "enum AAAttributionErrorCode"
62
+ }
63
+ },
64
+ "framework": "AdServices",
65
+ "headers": [
66
+ "AAAttribution.h"
67
+ ],
68
+ "release": "10.16",
69
+ "sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"
70
+ }
@@ -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
  )
@@ -14,7 +14,7 @@ sys.path.insert(0, os.path.dirname(__file__))
14
14
 
15
15
  from pyobjc_setup import setup # noqa: E402
16
16
 
17
- VERSION = "9.2"
17
+ VERSION = "10.1"
18
18
 
19
19
  setup(
20
20
  name="pyobjc-framework-AdServices",
@@ -1,30 +0,0 @@
1
- """
2
- Python mapping for the AdServices 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 AdServices import _metadata
13
-
14
- sys.modules["AdServices"] = mod = objc.ObjCLazyModule(
15
- "AdServices",
16
- "com.apple.AdServices",
17
- objc.pathForFramework("/System/Library/Frameworks/AdServices.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["AdServices._metadata"]
@@ -1,2 +0,0 @@
1
- pyobjc-core>=9.2
2
- pyobjc-framework-Cocoa>=9.2