pyobjc-framework-CoreHaptics 10.2__tar.gz → 10.3.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 (37) hide show
  1. {pyobjc-framework-CoreHaptics-10.2 → pyobjc_framework_corehaptics-10.3.1}/Lib/CoreHaptics/__init__.py +11 -0
  2. {pyobjc-framework-CoreHaptics-10.2 → pyobjc_framework_corehaptics-10.3.1}/Lib/CoreHaptics/_metadata.py +36 -1
  3. {pyobjc-framework-CoreHaptics-10.2 → pyobjc_framework_corehaptics-10.3.1}/Lib/pyobjc_framework_CoreHaptics.egg-info/PKG-INFO +3 -3
  4. {pyobjc-framework-CoreHaptics-10.2 → pyobjc_framework_corehaptics-10.3.1}/Lib/pyobjc_framework_CoreHaptics.egg-info/SOURCES.txt +2 -4
  5. pyobjc_framework_corehaptics-10.3.1/Lib/pyobjc_framework_CoreHaptics.egg-info/requires.txt +2 -0
  6. {pyobjc-framework-CoreHaptics-10.2 → pyobjc_framework_corehaptics-10.3.1}/PKG-INFO +3 -3
  7. pyobjc-framework-CoreHaptics-10.2/metadata/raw/arm64-14.0.fwinfo → pyobjc_framework_corehaptics-10.3.1/metadata/raw/arm64-14.5.fwinfo +50 -5
  8. pyobjc-framework-CoreHaptics-10.2/metadata/raw/x86_64-14.0.fwinfo → pyobjc_framework_corehaptics-10.3.1/metadata/raw/x86_64-14.5.fwinfo +50 -5
  9. {pyobjc-framework-CoreHaptics-10.2 → pyobjc_framework_corehaptics-10.3.1}/setup.py +2 -1
  10. pyobjc-framework-CoreHaptics-10.2/Lib/pyobjc_framework_CoreHaptics.egg-info/requires.txt +0 -2
  11. pyobjc-framework-CoreHaptics-10.2/metadata/raw/arm64-12.0.fwinfo +0 -2047
  12. pyobjc-framework-CoreHaptics-10.2/metadata/raw/x86_64-12.0.fwinfo +0 -2047
  13. {pyobjc-framework-CoreHaptics-10.2 → pyobjc_framework_corehaptics-10.3.1}/Lib/pyobjc_framework_CoreHaptics.egg-info/dependency_links.txt +0 -0
  14. {pyobjc-framework-CoreHaptics-10.2 → pyobjc_framework_corehaptics-10.3.1}/Lib/pyobjc_framework_CoreHaptics.egg-info/not-zip-safe +0 -0
  15. {pyobjc-framework-CoreHaptics-10.2 → pyobjc_framework_corehaptics-10.3.1}/Lib/pyobjc_framework_CoreHaptics.egg-info/top_level.txt +0 -0
  16. {pyobjc-framework-CoreHaptics-10.2 → pyobjc_framework_corehaptics-10.3.1}/License.txt +0 -0
  17. {pyobjc-framework-CoreHaptics-10.2 → pyobjc_framework_corehaptics-10.3.1}/MANIFEST.in +0 -0
  18. {pyobjc-framework-CoreHaptics-10.2 → pyobjc_framework_corehaptics-10.3.1}/PyObjCTest/__init__.py +0 -0
  19. {pyobjc-framework-CoreHaptics-10.2 → pyobjc_framework_corehaptics-10.3.1}/PyObjCTest/test_chhapticdevicecapability.py +0 -0
  20. {pyobjc-framework-CoreHaptics-10.2 → pyobjc_framework_corehaptics-10.3.1}/PyObjCTest/test_chhapticengine.py +0 -0
  21. {pyobjc-framework-CoreHaptics-10.2 → pyobjc_framework_corehaptics-10.3.1}/PyObjCTest/test_chhapticerror.py +0 -0
  22. {pyobjc-framework-CoreHaptics-10.2 → pyobjc_framework_corehaptics-10.3.1}/PyObjCTest/test_chhapticevent.py +0 -0
  23. {pyobjc-framework-CoreHaptics-10.2 → pyobjc_framework_corehaptics-10.3.1}/PyObjCTest/test_chhapticparameter.py +0 -0
  24. {pyobjc-framework-CoreHaptics-10.2 → pyobjc_framework_corehaptics-10.3.1}/PyObjCTest/test_chhapticpattern.py +0 -0
  25. {pyobjc-framework-CoreHaptics-10.2 → pyobjc_framework_corehaptics-10.3.1}/PyObjCTest/test_chhapticpatternplayer.py +0 -0
  26. {pyobjc-framework-CoreHaptics-10.2 → pyobjc_framework_corehaptics-10.3.1}/PyObjCTest/test_corehaptics.py +0 -0
  27. {pyobjc-framework-CoreHaptics-10.2 → pyobjc_framework_corehaptics-10.3.1}/metadata/CoreHaptics.fwinfo +0 -0
  28. {pyobjc-framework-CoreHaptics-10.2 → pyobjc_framework_corehaptics-10.3.1}/metadata/metadata.ini +0 -0
  29. {pyobjc-framework-CoreHaptics-10.2 → pyobjc_framework_corehaptics-10.3.1}/metadata/raw/arm64-12.3.fwinfo +0 -0
  30. {pyobjc-framework-CoreHaptics-10.2 → pyobjc_framework_corehaptics-10.3.1}/metadata/raw/arm64-13.0.fwinfo +0 -0
  31. {pyobjc-framework-CoreHaptics-10.2 → pyobjc_framework_corehaptics-10.3.1}/metadata/raw/x86_64-10.15.fwinfo +0 -0
  32. {pyobjc-framework-CoreHaptics-10.2 → pyobjc_framework_corehaptics-10.3.1}/metadata/raw/x86_64-10.16.fwinfo +0 -0
  33. {pyobjc-framework-CoreHaptics-10.2 → pyobjc_framework_corehaptics-10.3.1}/metadata/raw/x86_64-12.3.fwinfo +0 -0
  34. {pyobjc-framework-CoreHaptics-10.2 → pyobjc_framework_corehaptics-10.3.1}/metadata/raw/x86_64-13.0.fwinfo +0 -0
  35. {pyobjc-framework-CoreHaptics-10.2 → pyobjc_framework_corehaptics-10.3.1}/pyobjc_setup.py +0 -0
  36. {pyobjc-framework-CoreHaptics-10.2 → pyobjc_framework_corehaptics-10.3.1}/pyproject.toml +0 -0
  37. {pyobjc-framework-CoreHaptics-10.2 → pyobjc_framework_corehaptics-10.3.1}/setup.cfg +0 -0
@@ -28,6 +28,17 @@ def _setup():
28
28
  globals()["__dir__"] = dir_func
29
29
  globals()["__getattr__"] = getattr_func
30
30
 
31
+ for cls, sel in (
32
+ ("CHHapticPattern", b"init"),
33
+ ("CHHapticEvent", b"init"),
34
+ ("CHHapticEngine", b"init"),
35
+ ("CHHapticEventParameter", b"init"),
36
+ ("CHHapticDynamicParameter", b"init"),
37
+ ("CHHapticParameterCurveControlPoint", b"init"),
38
+ ("CHHapticParameterCurve", b"init"),
39
+ ):
40
+ objc.registerUnavailableMethod(cls, sel)
41
+
31
42
  del sys.modules["CoreHaptics._metadata"]
32
43
 
33
44
 
@@ -1,6 +1,6 @@
1
1
  # This file is generated by objective.metadata
2
2
  #
3
- # Last update: Sat Jul 1 14:04:39 2023
3
+ # Last update: Sat May 18 09:20:12 2024
4
4
  #
5
5
  # flake8: noqa
6
6
 
@@ -389,6 +389,41 @@ try:
389
389
  r(b"NSObject", b"supportsHaptics", {"required": True, "retval": {"type": b"Z"}})
390
390
  finally:
391
391
  objc._updatingMetadata(False)
392
+
393
+ objc.registerNewKeywordsFromSelector(
394
+ "CHHapticDynamicParameter", b"initWithParameterID:value:relativeTime:"
395
+ )
396
+ objc.registerNewKeywordsFromSelector("CHHapticEngine", b"initAndReturnError:")
397
+ objc.registerNewKeywordsFromSelector("CHHapticEngine", b"initWithAudioSession:error:")
398
+ objc.registerNewKeywordsFromSelector(
399
+ "CHHapticEvent", b"initWithAudioResourceID:parameters:relativeTime:"
400
+ )
401
+ objc.registerNewKeywordsFromSelector(
402
+ "CHHapticEvent", b"initWithAudioResourceID:parameters:relativeTime:duration:"
403
+ )
404
+ objc.registerNewKeywordsFromSelector(
405
+ "CHHapticEvent", b"initWithEventType:parameters:relativeTime:"
406
+ )
407
+ objc.registerNewKeywordsFromSelector(
408
+ "CHHapticEvent", b"initWithEventType:parameters:relativeTime:duration:"
409
+ )
410
+ objc.registerNewKeywordsFromSelector(
411
+ "CHHapticEventParameter", b"initWithParameterID:value:"
412
+ )
413
+ objc.registerNewKeywordsFromSelector(
414
+ "CHHapticParameterCurve", b"initWithParameterID:controlPoints:relativeTime:"
415
+ )
416
+ objc.registerNewKeywordsFromSelector(
417
+ "CHHapticParameterCurveControlPoint", b"initWithRelativeTime:value:"
418
+ )
419
+ objc.registerNewKeywordsFromSelector("CHHapticPattern", b"initWithContentsOfURL:error:")
420
+ objc.registerNewKeywordsFromSelector("CHHapticPattern", b"initWithDictionary:error:")
421
+ objc.registerNewKeywordsFromSelector(
422
+ "CHHapticPattern", b"initWithEvents:parameterCurves:error:"
423
+ )
424
+ objc.registerNewKeywordsFromSelector(
425
+ "CHHapticPattern", b"initWithEvents:parameters:error:"
426
+ )
392
427
  expressions = {"CHHapticTimeImmediate": "(NSTimeInterval)0.0f"}
393
428
 
394
429
  # END OF FILE
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyobjc-framework-CoreHaptics
3
- Version: 10.2
3
+ Version: 10.3.1
4
4
  Summary: Wrappers for the framework CoreHaptics 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.2
34
- Requires-Dist: pyobjc-framework-Cocoa>=10.2
33
+ Requires-Dist: pyobjc-core>=10.3.1
34
+ Requires-Dist: pyobjc-framework-Cocoa>=10.3.1
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
@@ -22,13 +22,11 @@ PyObjCTest/test_chhapticpatternplayer.py
22
22
  PyObjCTest/test_corehaptics.py
23
23
  metadata/CoreHaptics.fwinfo
24
24
  metadata/metadata.ini
25
- metadata/raw/arm64-12.0.fwinfo
26
25
  metadata/raw/arm64-12.3.fwinfo
27
26
  metadata/raw/arm64-13.0.fwinfo
28
- metadata/raw/arm64-14.0.fwinfo
27
+ metadata/raw/arm64-14.5.fwinfo
29
28
  metadata/raw/x86_64-10.15.fwinfo
30
29
  metadata/raw/x86_64-10.16.fwinfo
31
- metadata/raw/x86_64-12.0.fwinfo
32
30
  metadata/raw/x86_64-12.3.fwinfo
33
31
  metadata/raw/x86_64-13.0.fwinfo
34
- metadata/raw/x86_64-14.0.fwinfo
32
+ metadata/raw/x86_64-14.5.fwinfo
@@ -0,0 +1,2 @@
1
+ pyobjc-core>=10.3.1
2
+ pyobjc-framework-Cocoa>=10.3.1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyobjc-framework-CoreHaptics
3
- Version: 10.2
3
+ Version: 10.3.1
4
4
  Summary: Wrappers for the framework CoreHaptics 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.2
34
- Requires-Dist: pyobjc-framework-Cocoa>=10.2
33
+ Requires-Dist: pyobjc-core>=10.3.1
34
+ Requires-Dist: pyobjc-framework-Cocoa>=10.3.1
35
35
 
36
36
 
37
37
  Wrappers for the "CoreHaptics" framework on macOS.
@@ -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:04:39 2023
4
+ // Last update: Sat May 18 09:20:11 2024
5
5
  {
6
6
  "arch": "arm64",
7
7
  "definitions": {
@@ -202,10 +202,13 @@
202
202
  "arguments": {
203
203
  "0": {
204
204
  "type": "^v"
205
+ },
206
+ "1": {
207
+ "type": "@"
205
208
  }
206
209
  },
207
210
  "retval": {
208
- "type": "@?"
211
+ "type": "v"
209
212
  }
210
213
  },
211
214
  "typestr": "@?",
@@ -242,10 +245,13 @@
242
245
  "arguments": {
243
246
  "0": {
244
247
  "type": "^v"
248
+ },
249
+ "1": {
250
+ "type": "@"
245
251
  }
246
252
  },
247
253
  "retval": {
248
- "type": "@?"
254
+ "type": "v"
249
255
  }
250
256
  },
251
257
  "typestr": "@?",
@@ -267,10 +273,13 @@
267
273
  "arguments": {
268
274
  "0": {
269
275
  "type": "^v"
276
+ },
277
+ "1": {
278
+ "type": "@"
270
279
  }
271
280
  },
272
281
  "retval": {
273
- "type": "@?"
282
+ "type": "q"
274
283
  }
275
284
  },
276
285
  "typestr": "@?",
@@ -417,6 +426,16 @@
417
426
  "args": [],
418
427
  "class_method": false,
419
428
  "retval": {
429
+ "callable": {
430
+ "arguments": {
431
+ "0": {
432
+ "type": "^v"
433
+ }
434
+ },
435
+ "retval": {
436
+ "type": "v"
437
+ }
438
+ },
420
439
  "typestr": "@?",
421
440
  "typestr_special": false
422
441
  },
@@ -430,6 +449,9 @@
430
449
  "arguments": {
431
450
  "0": {
432
451
  "type": "^v"
452
+ },
453
+ "1": {
454
+ "type": "q"
433
455
  }
434
456
  },
435
457
  "retval": {
@@ -452,6 +474,16 @@
452
474
  "args": [],
453
475
  "class_method": false,
454
476
  "retval": {
477
+ "callable": {
478
+ "arguments": {
479
+ "0": {
480
+ "type": "^v"
481
+ }
482
+ },
483
+ "retval": {
484
+ "type": "v"
485
+ }
486
+ },
455
487
  "typestr": "@?",
456
488
  "typestr_special": false
457
489
  },
@@ -1716,6 +1748,16 @@
1716
1748
  "class_method": false,
1717
1749
  "required": true,
1718
1750
  "retval": {
1751
+ "callable": {
1752
+ "arguments": {
1753
+ "0": {
1754
+ "type": "^v"
1755
+ }
1756
+ },
1757
+ "retval": {
1758
+ "type": "v"
1759
+ }
1760
+ },
1719
1761
  "typestr": "@?",
1720
1762
  "typestr_special": false
1721
1763
  },
@@ -1729,6 +1771,9 @@
1729
1771
  "arguments": {
1730
1772
  "0": {
1731
1773
  "type": "^v"
1774
+ },
1775
+ "1": {
1776
+ "type": "@"
1732
1777
  }
1733
1778
  },
1734
1779
  "retval": {
@@ -2129,5 +2174,5 @@
2129
2174
  "CHHapticPatternPlayer.h"
2130
2175
  ],
2131
2176
  "release": "10.16",
2132
- "sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"
2177
+ "sdk": "/Users/ronald/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk"
2133
2178
  }
@@ -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:04:38 2023
4
+ // Last update: Sat May 18 09:20:10 2024
5
5
  {
6
6
  "arch": "x86_64",
7
7
  "definitions": {
@@ -202,10 +202,13 @@
202
202
  "arguments": {
203
203
  "0": {
204
204
  "type": "^v"
205
+ },
206
+ "1": {
207
+ "type": "@"
205
208
  }
206
209
  },
207
210
  "retval": {
208
- "type": "@?"
211
+ "type": "v"
209
212
  }
210
213
  },
211
214
  "typestr": "@?",
@@ -242,10 +245,13 @@
242
245
  "arguments": {
243
246
  "0": {
244
247
  "type": "^v"
248
+ },
249
+ "1": {
250
+ "type": "@"
245
251
  }
246
252
  },
247
253
  "retval": {
248
- "type": "@?"
254
+ "type": "v"
249
255
  }
250
256
  },
251
257
  "typestr": "@?",
@@ -267,10 +273,13 @@
267
273
  "arguments": {
268
274
  "0": {
269
275
  "type": "^v"
276
+ },
277
+ "1": {
278
+ "type": "@"
270
279
  }
271
280
  },
272
281
  "retval": {
273
- "type": "@?"
282
+ "type": "q"
274
283
  }
275
284
  },
276
285
  "typestr": "@?",
@@ -417,6 +426,16 @@
417
426
  "args": [],
418
427
  "class_method": false,
419
428
  "retval": {
429
+ "callable": {
430
+ "arguments": {
431
+ "0": {
432
+ "type": "^v"
433
+ }
434
+ },
435
+ "retval": {
436
+ "type": "v"
437
+ }
438
+ },
420
439
  "typestr": "@?",
421
440
  "typestr_special": false
422
441
  },
@@ -430,6 +449,9 @@
430
449
  "arguments": {
431
450
  "0": {
432
451
  "type": "^v"
452
+ },
453
+ "1": {
454
+ "type": "q"
433
455
  }
434
456
  },
435
457
  "retval": {
@@ -452,6 +474,16 @@
452
474
  "args": [],
453
475
  "class_method": false,
454
476
  "retval": {
477
+ "callable": {
478
+ "arguments": {
479
+ "0": {
480
+ "type": "^v"
481
+ }
482
+ },
483
+ "retval": {
484
+ "type": "v"
485
+ }
486
+ },
455
487
  "typestr": "@?",
456
488
  "typestr_special": false
457
489
  },
@@ -1716,6 +1748,16 @@
1716
1748
  "class_method": false,
1717
1749
  "required": true,
1718
1750
  "retval": {
1751
+ "callable": {
1752
+ "arguments": {
1753
+ "0": {
1754
+ "type": "^v"
1755
+ }
1756
+ },
1757
+ "retval": {
1758
+ "type": "v"
1759
+ }
1760
+ },
1719
1761
  "typestr": "@?",
1720
1762
  "typestr_special": false
1721
1763
  },
@@ -1729,6 +1771,9 @@
1729
1771
  "arguments": {
1730
1772
  "0": {
1731
1773
  "type": "^v"
1774
+ },
1775
+ "1": {
1776
+ "type": "@"
1732
1777
  }
1733
1778
  },
1734
1779
  "retval": {
@@ -2129,5 +2174,5 @@
2129
2174
  "CHHapticPatternPlayer.h"
2130
2175
  ],
2131
2176
  "release": "10.16",
2132
- "sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"
2177
+ "sdk": "/Users/ronald/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk"
2133
2178
  }
@@ -6,6 +6,7 @@ for information on how to use this framework and PyObjC's documentation
6
6
  for general tips and tricks regarding the translation between Python
7
7
  and (Objective-)C frameworks
8
8
  """
9
+
9
10
  import os
10
11
  import sys
11
12
 
@@ -14,7 +15,7 @@ sys.path.insert(0, os.path.dirname(__file__))
14
15
 
15
16
  from pyobjc_setup import setup # noqa: E402
16
17
 
17
- VERSION = "10.2"
18
+ VERSION = "10.3.1"
18
19
 
19
20
  setup(
20
21
  name="pyobjc-framework-CoreHaptics",
@@ -1,2 +0,0 @@
1
- pyobjc-core>=10.2
2
- pyobjc-framework-Cocoa>=10.2