pyobjc-framework-Contacts 10.1__tar.gz → 10.3__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-Contacts-10.1 → pyobjc_framework_contacts-10.3}/Lib/Contacts/__init__.py +8 -0
  2. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/Lib/Contacts/_metadata.py +24 -1
  3. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/Lib/pyobjc_framework_Contacts.egg-info/PKG-INFO +3 -3
  4. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/Lib/pyobjc_framework_Contacts.egg-info/SOURCES.txt +2 -4
  5. pyobjc_framework_contacts-10.3/Lib/pyobjc_framework_Contacts.egg-info/requires.txt +2 -0
  6. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/License.txt +1 -1
  7. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/PKG-INFO +3 -3
  8. pyobjc-framework-Contacts-10.1/metadata/raw/arm64-14.0.fwinfo → pyobjc_framework_contacts-10.3/metadata/raw/arm64-14.5.fwinfo +12 -2
  9. pyobjc-framework-Contacts-10.1/metadata/raw/x86_64-14.0.fwinfo → pyobjc_framework_contacts-10.3/metadata/raw/x86_64-14.5.fwinfo +12 -2
  10. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/setup.py +1 -1
  11. pyobjc-framework-Contacts-10.1/Lib/pyobjc_framework_Contacts.egg-info/requires.txt +0 -2
  12. pyobjc-framework-Contacts-10.1/metadata/raw/arm64-12.0.fwinfo +0 -6284
  13. pyobjc-framework-Contacts-10.1/metadata/raw/x86_64-12.0.fwinfo +0 -6284
  14. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/Examples/print-contacts.py +0 -0
  15. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/Lib/pyobjc_framework_Contacts.egg-info/dependency_links.txt +0 -0
  16. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/Lib/pyobjc_framework_Contacts.egg-info/not-zip-safe +0 -0
  17. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/Lib/pyobjc_framework_Contacts.egg-info/top_level.txt +0 -0
  18. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/MANIFEST.in +0 -0
  19. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/Modules/_Contacts.m +0 -0
  20. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/Modules/_Contacts_protocols.m +0 -0
  21. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/Modules/pyobjc-api.h +0 -0
  22. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/Modules/pyobjc-compat.h +0 -0
  23. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/PyObjCTest/__init__.py +0 -0
  24. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/PyObjCTest/test_cnchangehistoryevent.py +0 -0
  25. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/PyObjCTest/test_cnchangehistoryfetchrequest.py +0 -0
  26. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/PyObjCTest/test_cncontact.py +0 -0
  27. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/PyObjCTest/test_cncontactfetchrequest.py +0 -0
  28. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/PyObjCTest/test_cncontactformatter.py +0 -0
  29. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/PyObjCTest/test_cncontactrelation.py +0 -0
  30. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/PyObjCTest/test_cncontactsstore.py +0 -0
  31. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/PyObjCTest/test_cncontactstore.py +0 -0
  32. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/PyObjCTest/test_cncontactvcardserialization.py +0 -0
  33. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/PyObjCTest/test_cncontainer.py +0 -0
  34. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/PyObjCTest/test_cnerror.py +0 -0
  35. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/PyObjCTest/test_cngroup.py +0 -0
  36. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/PyObjCTest/test_cninstantmessageaddress.py +0 -0
  37. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/PyObjCTest/test_cnlabeledvalue.py +0 -0
  38. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/PyObjCTest/test_cnphonenumber.py +0 -0
  39. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/PyObjCTest/test_cnpostaladdress.py +0 -0
  40. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/PyObjCTest/test_cnpostaladdressformatter.py +0 -0
  41. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/PyObjCTest/test_cnsaverequest.py +0 -0
  42. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/PyObjCTest/test_cnsocialprofile.py +0 -0
  43. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/PyObjCTest/test_contacts.py +0 -0
  44. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/metadata/Contacts.fwinfo +0 -0
  45. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/metadata/metadata.ini +0 -0
  46. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/metadata/raw/arm64-12.3.fwinfo +0 -0
  47. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/metadata/raw/x86_64-10.15.fwinfo +0 -0
  48. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/metadata/raw/x86_64-10.16.fwinfo +0 -0
  49. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/metadata/raw/x86_64-12.3.fwinfo +0 -0
  50. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/pyobjc_setup.py +0 -0
  51. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/pyproject.toml +0 -0
  52. {pyobjc-framework-Contacts-10.1 → pyobjc_framework_contacts-10.3}/setup.cfg +0 -0
@@ -36,6 +36,14 @@ def _setup():
36
36
  globals()["__dir__"] = dir_func
37
37
  globals()["__getattr__"] = getattr_func
38
38
 
39
+ for cls, sel in (
40
+ ("CNFetchResult", b"init"),
41
+ ("CNFetchResult", b"new"),
42
+ ("CNContactFetchRequest", b"init"),
43
+ ("CNContactFetchRequest", b"new"),
44
+ ):
45
+ objc.registerUnavailableMethod(cls, sel)
46
+
39
47
  del sys.modules["Contacts._metadata"]
40
48
 
41
49
 
@@ -1,6 +1,6 @@
1
1
  # This file is generated by objective.metadata
2
2
  #
3
- # Last update: Sat Jul 1 14:12:18 2023
3
+ # Last update: Sat May 18 09:19:44 2024
4
4
  #
5
5
  # flake8: noqa
6
6
 
@@ -73,6 +73,18 @@ try:
73
73
  )
74
74
  r(b"CNChangeHistoryFetchRequest", b"shouldUnifyResults", {"retval": {"type": b"Z"}})
75
75
  r(b"CNContact", b"areKeysAvailable:", {"retval": {"type": "Z"}})
76
+ r(
77
+ b"CNContact",
78
+ b"comparatorForNameSortOrder:",
79
+ {
80
+ "retval": {
81
+ "callable": {
82
+ "retval": {"type": b"v"},
83
+ "arguments": {0: {"type": b"^v"}},
84
+ }
85
+ }
86
+ },
87
+ )
76
88
  r(b"CNContact", b"imageDataAvailable", {"retval": {"type": b"Z"}})
77
89
  r(b"CNContact", b"isKeyAvailable:", {"retval": {"type": "Z"}})
78
90
  r(b"CNContact", b"isUnifiedWithContactWithIdentifier:", {"retval": {"type": "Z"}})
@@ -237,6 +249,17 @@ try:
237
249
  )
238
250
  finally:
239
251
  objc._updatingMetadata(False)
252
+
253
+ objc.registerNewKeywordsFromSelector("CNContactFetchRequest", b"initWithKeysToFetch:")
254
+ objc.registerNewKeywordsFromSelector("CNContactRelation", b"initWithName:")
255
+ objc.registerNewKeywordsFromSelector(
256
+ "CNInstantMessageAddress", b"initWithUsername:service:"
257
+ )
258
+ objc.registerNewKeywordsFromSelector("CNLabeledValue", b"initWithLabel:value:")
259
+ objc.registerNewKeywordsFromSelector("CNPhoneNumber", b"initWithStringValue:")
260
+ objc.registerNewKeywordsFromSelector(
261
+ "CNSocialProfile", b"initWithUrlString:username:userIdentifier:service:"
262
+ )
240
263
  expressions = {}
241
264
 
242
265
  # END OF FILE
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyobjc-framework-Contacts
3
- Version: 10.1
3
+ Version: 10.3
4
4
  Summary: Wrappers for the framework Contacts on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -30,8 +30,8 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
30
  Classifier: Topic :: Software Development :: User Interfaces
31
31
  Requires-Python: >=3.8
32
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
33
+ Requires-Dist: pyobjc-core>=10.3
34
+ Requires-Dist: pyobjc-framework-Cocoa>=10.3
35
35
  Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
36
36
  Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
37
37
  Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
@@ -39,11 +39,9 @@ PyObjCTest/test_cnsocialprofile.py
39
39
  PyObjCTest/test_contacts.py
40
40
  metadata/Contacts.fwinfo
41
41
  metadata/metadata.ini
42
- metadata/raw/arm64-12.0.fwinfo
43
42
  metadata/raw/arm64-12.3.fwinfo
44
- metadata/raw/arm64-14.0.fwinfo
43
+ metadata/raw/arm64-14.5.fwinfo
45
44
  metadata/raw/x86_64-10.15.fwinfo
46
45
  metadata/raw/x86_64-10.16.fwinfo
47
- metadata/raw/x86_64-12.0.fwinfo
48
46
  metadata/raw/x86_64-12.3.fwinfo
49
- metadata/raw/x86_64-14.0.fwinfo
47
+ metadata/raw/x86_64-14.5.fwinfo
@@ -0,0 +1,2 @@
1
+ pyobjc-core>=10.3
2
+ pyobjc-framework-Cocoa>=10.3
@@ -1,7 +1,7 @@
1
1
  (This is the MIT license, note that libffi-src is a separate product with its own license)
2
2
 
3
3
  Copyright 2002, 2003 - Bill Bumgarner, Ronald Oussoren, Steve Majewski, Lele Gaifax, et.al.
4
- Copyright 2003-2022 - Ronald Oussoren
4
+ Copyright 2003-2024 - Ronald Oussoren
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
7
7
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyobjc-framework-Contacts
3
- Version: 10.1
3
+ Version: 10.3
4
4
  Summary: Wrappers for the framework Contacts on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -30,8 +30,8 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
30
  Classifier: Topic :: Software Development :: User Interfaces
31
31
  Requires-Python: >=3.8
32
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
33
+ Requires-Dist: pyobjc-core>=10.3
34
+ Requires-Dist: pyobjc-framework-Cocoa>=10.3
35
35
 
36
36
 
37
37
  Wrappers for the "Contacts" framework on macOS 10.11.
@@ -1,7 +1,7 @@
1
1
  // GENERATED FILE DO NOT EDIT
2
2
  //
3
3
  // This file was generated by objective.metadata
4
- // Last update: Sat Jul 1 14:12:17 2023
4
+ // Last update: Sat May 18 09:19:43 2024
5
5
  {
6
6
  "arch": "arm64",
7
7
  "definitions": {
@@ -734,6 +734,16 @@
734
734
  ],
735
735
  "class_method": true,
736
736
  "retval": {
737
+ "callable": {
738
+ "arguments": {
739
+ "0": {
740
+ "type": "^v"
741
+ }
742
+ },
743
+ "retval": {
744
+ "type": "v"
745
+ }
746
+ },
737
747
  "typestr": "@?",
738
748
  "typestr_special": false
739
749
  },
@@ -6355,5 +6365,5 @@
6355
6365
  "ContactsDefines.h"
6356
6366
  ],
6357
6367
  "release": "10.16",
6358
- "sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"
6368
+ "sdk": "/Users/ronald/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk"
6359
6369
  }
@@ -1,7 +1,7 @@
1
1
  // GENERATED FILE DO NOT EDIT
2
2
  //
3
3
  // This file was generated by objective.metadata
4
- // Last update: Sat Jul 1 14:12:15 2023
4
+ // Last update: Sat May 18 09:19:41 2024
5
5
  {
6
6
  "arch": "x86_64",
7
7
  "definitions": {
@@ -734,6 +734,16 @@
734
734
  ],
735
735
  "class_method": true,
736
736
  "retval": {
737
+ "callable": {
738
+ "arguments": {
739
+ "0": {
740
+ "type": "^v"
741
+ }
742
+ },
743
+ "retval": {
744
+ "type": "v"
745
+ }
746
+ },
737
747
  "typestr": "@?",
738
748
  "typestr_special": false
739
749
  },
@@ -6355,5 +6365,5 @@
6355
6365
  "ContactsDefines.h"
6356
6366
  ],
6357
6367
  "release": "10.16",
6358
- "sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"
6368
+ "sdk": "/Users/ronald/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk"
6359
6369
  }
@@ -15,7 +15,7 @@ sys.path.insert(0, os.path.dirname(__file__))
15
15
 
16
16
  from pyobjc_setup import Extension, setup # noqa: E402
17
17
 
18
- VERSION = "10.1"
18
+ VERSION = "10.3"
19
19
 
20
20
  setup(
21
21
  name="pyobjc-framework-Contacts",
@@ -1,2 +0,0 @@
1
- pyobjc-core>=10.1
2
- pyobjc-framework-Cocoa>=10.1