pyobjc-framework-MetalKit 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 (39) hide show
  1. {pyobjc-framework-MetalKit-10.1 → pyobjc_framework_metalkit-10.3}/Lib/MetalKit/__init__.py +9 -0
  2. {pyobjc-framework-MetalKit-10.1 → pyobjc_framework_metalkit-10.3}/Lib/MetalKit/_metadata.py +7 -1
  3. {pyobjc-framework-MetalKit-10.1 → pyobjc_framework_metalkit-10.3}/Lib/pyobjc_framework_MetalKit.egg-info/PKG-INFO +4 -4
  4. {pyobjc-framework-MetalKit-10.1 → pyobjc_framework_metalkit-10.3}/Lib/pyobjc_framework_MetalKit.egg-info/SOURCES.txt +2 -6
  5. pyobjc_framework_metalkit-10.3/Lib/pyobjc_framework_MetalKit.egg-info/requires.txt +3 -0
  6. {pyobjc-framework-MetalKit-10.1 → pyobjc_framework_metalkit-10.3}/License.txt +1 -1
  7. {pyobjc-framework-MetalKit-10.1 → pyobjc_framework_metalkit-10.3}/PKG-INFO +4 -4
  8. pyobjc-framework-MetalKit-10.1/metadata/raw/arm64-14.0.fwinfo → pyobjc_framework_metalkit-10.3/metadata/raw/arm64-14.5.fwinfo +65 -11
  9. pyobjc-framework-MetalKit-10.1/metadata/raw/x86_64-14.0.fwinfo → pyobjc_framework_metalkit-10.3/metadata/raw/x86_64-14.5.fwinfo +65 -11
  10. {pyobjc-framework-MetalKit-10.1 → pyobjc_framework_metalkit-10.3}/setup.py +2 -1
  11. pyobjc-framework-MetalKit-10.1/Lib/pyobjc_framework_MetalKit.egg-info/requires.txt +0 -3
  12. pyobjc-framework-MetalKit-10.1/metadata/raw/arm64-12.0.fwinfo +0 -2085
  13. pyobjc-framework-MetalKit-10.1/metadata/raw/arm64-13.0.fwinfo +0 -2128
  14. pyobjc-framework-MetalKit-10.1/metadata/raw/x86_64-12.0.fwinfo +0 -2085
  15. pyobjc-framework-MetalKit-10.1/metadata/raw/x86_64-13.0.fwinfo +0 -2128
  16. {pyobjc-framework-MetalKit-10.1 → pyobjc_framework_metalkit-10.3}/Lib/pyobjc_framework_MetalKit.egg-info/dependency_links.txt +0 -0
  17. {pyobjc-framework-MetalKit-10.1 → pyobjc_framework_metalkit-10.3}/Lib/pyobjc_framework_MetalKit.egg-info/not-zip-safe +0 -0
  18. {pyobjc-framework-MetalKit-10.1 → pyobjc_framework_metalkit-10.3}/Lib/pyobjc_framework_MetalKit.egg-info/top_level.txt +0 -0
  19. {pyobjc-framework-MetalKit-10.1 → pyobjc_framework_metalkit-10.3}/MANIFEST.in +0 -0
  20. {pyobjc-framework-MetalKit-10.1 → pyobjc_framework_metalkit-10.3}/Modules/_MetalKit.m +0 -0
  21. {pyobjc-framework-MetalKit-10.1 → pyobjc_framework_metalkit-10.3}/Modules/_MetalKit_protocols.m +0 -0
  22. {pyobjc-framework-MetalKit-10.1 → pyobjc_framework_metalkit-10.3}/Modules/pyobjc-api.h +0 -0
  23. {pyobjc-framework-MetalKit-10.1 → pyobjc_framework_metalkit-10.3}/Modules/pyobjc-compat.h +0 -0
  24. {pyobjc-framework-MetalKit-10.1 → pyobjc_framework_metalkit-10.3}/PyObjCTest/__init__.py +0 -0
  25. {pyobjc-framework-MetalKit-10.1 → pyobjc_framework_metalkit-10.3}/PyObjCTest/test_metalkit.py +0 -0
  26. {pyobjc-framework-MetalKit-10.1 → pyobjc_framework_metalkit-10.3}/PyObjCTest/test_mtkmodel.py +0 -0
  27. {pyobjc-framework-MetalKit-10.1 → pyobjc_framework_metalkit-10.3}/PyObjCTest/test_mtktextureloader.py +0 -0
  28. {pyobjc-framework-MetalKit-10.1 → pyobjc_framework_metalkit-10.3}/PyObjCTest/test_mtkview.py +0 -0
  29. {pyobjc-framework-MetalKit-10.1 → pyobjc_framework_metalkit-10.3}/metadata/MetalKit.fwinfo +0 -0
  30. {pyobjc-framework-MetalKit-10.1 → pyobjc_framework_metalkit-10.3}/metadata/metadata.ini +0 -0
  31. {pyobjc-framework-MetalKit-10.1 → pyobjc_framework_metalkit-10.3}/metadata/raw/arm64-12.3.fwinfo +0 -0
  32. {pyobjc-framework-MetalKit-10.1 → pyobjc_framework_metalkit-10.3}/metadata/raw/arm64-13.3.fwinfo +0 -0
  33. {pyobjc-framework-MetalKit-10.1 → pyobjc_framework_metalkit-10.3}/metadata/raw/x86_64-10.15.fwinfo +0 -0
  34. {pyobjc-framework-MetalKit-10.1 → pyobjc_framework_metalkit-10.3}/metadata/raw/x86_64-10.16.fwinfo +0 -0
  35. {pyobjc-framework-MetalKit-10.1 → pyobjc_framework_metalkit-10.3}/metadata/raw/x86_64-12.3.fwinfo +0 -0
  36. {pyobjc-framework-MetalKit-10.1 → pyobjc_framework_metalkit-10.3}/metadata/raw/x86_64-13.3.fwinfo +0 -0
  37. {pyobjc-framework-MetalKit-10.1 → pyobjc_framework_metalkit-10.3}/pyobjc_setup.py +0 -0
  38. {pyobjc-framework-MetalKit-10.1 → pyobjc_framework_metalkit-10.3}/pyproject.toml +0 -0
  39. {pyobjc-framework-MetalKit-10.1 → pyobjc_framework_metalkit-10.3}/setup.cfg +0 -0
@@ -33,6 +33,15 @@ def _setup():
33
33
  globals()["__dir__"] = dir_func
34
34
  globals()["__getattr__"] = getattr_func
35
35
 
36
+ for cls, sel in (
37
+ ("MTKMeshBufferAllocator", b"init"),
38
+ ("MTKMeshBuffer", b"init"),
39
+ ("MTKSubmesh", b"init"),
40
+ ("MTKMesh", b"init"),
41
+ ("MTKTextureLoader", b"init"),
42
+ ):
43
+ objc.registerUnavailableMethod(cls, sel)
44
+
36
45
  del sys.modules["MetalKit._metadata"]
37
46
 
38
47
 
@@ -1,6 +1,6 @@
1
1
  # This file is generated by objective.metadata
2
2
  #
3
- # Last update: Sat Jul 1 14:02:24 2023
3
+ # Last update: Sat May 18 09:32:15 2024
4
4
  #
5
5
  # flake8: noqa
6
6
 
@@ -301,6 +301,12 @@ try:
301
301
  )
302
302
  finally:
303
303
  objc._updatingMetadata(False)
304
+
305
+ objc.registerNewKeywordsFromSelector("MTKMesh", b"initWithMesh:device:error:")
306
+ objc.registerNewKeywordsFromSelector("MTKMeshBufferAllocator", b"initWithDevice:")
307
+ objc.registerNewKeywordsFromSelector("MTKTextureLoader", b"initWithDevice:")
308
+ objc.registerNewKeywordsFromSelector("MTKView", b"initWithCoder:")
309
+ objc.registerNewKeywordsFromSelector("MTKView", b"initWithFrame:device:")
304
310
  expressions = {}
305
311
 
306
312
  # END OF FILE
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyobjc-framework-MetalKit
3
- Version: 10.1
3
+ Version: 10.3
4
4
  Summary: Wrappers for the framework MetalKit on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -30,9 +30,9 @@ 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
35
- Requires-Dist: pyobjc-framework-Metal>=10.1
33
+ Requires-Dist: pyobjc-core>=10.3
34
+ Requires-Dist: pyobjc-framework-Cocoa>=10.3
35
+ Requires-Dist: pyobjc-framework-Metal>=10.3
36
36
  Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
37
37
  Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
38
38
  Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
@@ -22,15 +22,11 @@ PyObjCTest/test_mtktextureloader.py
22
22
  PyObjCTest/test_mtkview.py
23
23
  metadata/MetalKit.fwinfo
24
24
  metadata/metadata.ini
25
- metadata/raw/arm64-12.0.fwinfo
26
25
  metadata/raw/arm64-12.3.fwinfo
27
- metadata/raw/arm64-13.0.fwinfo
28
26
  metadata/raw/arm64-13.3.fwinfo
29
- metadata/raw/arm64-14.0.fwinfo
27
+ metadata/raw/arm64-14.5.fwinfo
30
28
  metadata/raw/x86_64-10.15.fwinfo
31
29
  metadata/raw/x86_64-10.16.fwinfo
32
- metadata/raw/x86_64-12.0.fwinfo
33
30
  metadata/raw/x86_64-12.3.fwinfo
34
- metadata/raw/x86_64-13.0.fwinfo
35
31
  metadata/raw/x86_64-13.3.fwinfo
36
- metadata/raw/x86_64-14.0.fwinfo
32
+ metadata/raw/x86_64-14.5.fwinfo
@@ -0,0 +1,3 @@
1
+ pyobjc-core>=10.3
2
+ pyobjc-framework-Cocoa>=10.3
3
+ pyobjc-framework-Metal>=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-MetalKit
3
- Version: 10.1
3
+ Version: 10.3
4
4
  Summary: Wrappers for the framework MetalKit on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -30,9 +30,9 @@ 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
35
- Requires-Dist: pyobjc-framework-Metal>=10.1
33
+ Requires-Dist: pyobjc-core>=10.3
34
+ Requires-Dist: pyobjc-framework-Cocoa>=10.3
35
+ Requires-Dist: pyobjc-framework-Metal>=10.3
36
36
 
37
37
 
38
38
  Wrappers for the "MetalKit" 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:02:24 2023
4
+ // Last update: Sat May 18 09:32:15 2024
5
5
  {
6
6
  "arch": "arm64",
7
7
  "definitions": {
@@ -577,10 +577,16 @@
577
577
  "arguments": {
578
578
  "0": {
579
579
  "type": "^v"
580
+ },
581
+ "1": {
582
+ "type": "@"
583
+ },
584
+ "2": {
585
+ "type": "@"
580
586
  }
581
587
  },
582
588
  "retval": {
583
- "type": "@?"
589
+ "type": "v"
584
590
  }
585
591
  },
586
592
  "typestr": "@?",
@@ -618,10 +624,16 @@
618
624
  "arguments": {
619
625
  "0": {
620
626
  "type": "^v"
627
+ },
628
+ "1": {
629
+ "type": "@"
630
+ },
631
+ "2": {
632
+ "type": "@"
621
633
  }
622
634
  },
623
635
  "retval": {
624
- "type": "@?"
636
+ "type": "v"
625
637
  }
626
638
  },
627
639
  "typestr": "@?",
@@ -663,10 +675,16 @@
663
675
  "arguments": {
664
676
  "0": {
665
677
  "type": "^v"
678
+ },
679
+ "1": {
680
+ "type": "@"
681
+ },
682
+ "2": {
683
+ "type": "@"
666
684
  }
667
685
  },
668
686
  "retval": {
669
- "type": "@?"
687
+ "type": "v"
670
688
  }
671
689
  },
672
690
  "typestr": "@?",
@@ -696,10 +714,16 @@
696
714
  "arguments": {
697
715
  "0": {
698
716
  "type": "^v"
717
+ },
718
+ "1": {
719
+ "type": "@"
720
+ },
721
+ "2": {
722
+ "type": "@"
699
723
  }
700
724
  },
701
725
  "retval": {
702
- "type": "@?"
726
+ "type": "v"
703
727
  }
704
728
  },
705
729
  "typestr": "@?",
@@ -737,10 +761,16 @@
737
761
  "arguments": {
738
762
  "0": {
739
763
  "type": "^v"
764
+ },
765
+ "1": {
766
+ "type": "@"
767
+ },
768
+ "2": {
769
+ "type": "@"
740
770
  }
741
771
  },
742
772
  "retval": {
743
- "type": "@?"
773
+ "type": "v"
744
774
  }
745
775
  },
746
776
  "typestr": "@?",
@@ -782,10 +812,16 @@
782
812
  "arguments": {
783
813
  "0": {
784
814
  "type": "^v"
815
+ },
816
+ "1": {
817
+ "type": "@"
818
+ },
819
+ "2": {
820
+ "type": "@"
785
821
  }
786
822
  },
787
823
  "retval": {
788
- "type": "@?"
824
+ "type": "v"
789
825
  }
790
826
  },
791
827
  "typestr": "@?",
@@ -815,10 +851,16 @@
815
851
  "arguments": {
816
852
  "0": {
817
853
  "type": "^v"
854
+ },
855
+ "1": {
856
+ "type": "@"
857
+ },
858
+ "2": {
859
+ "type": "@"
818
860
  }
819
861
  },
820
862
  "retval": {
821
- "type": "@?"
863
+ "type": "v"
822
864
  }
823
865
  },
824
866
  "typestr": "@?",
@@ -848,10 +890,16 @@
848
890
  "arguments": {
849
891
  "0": {
850
892
  "type": "^v"
893
+ },
894
+ "1": {
895
+ "type": "@"
896
+ },
897
+ "2": {
898
+ "type": "@"
851
899
  }
852
900
  },
853
901
  "retval": {
854
- "type": "@?"
902
+ "type": "v"
855
903
  }
856
904
  },
857
905
  "typestr": "@?",
@@ -881,10 +929,16 @@
881
929
  "arguments": {
882
930
  "0": {
883
931
  "type": "^v"
932
+ },
933
+ "1": {
934
+ "type": "@"
935
+ },
936
+ "2": {
937
+ "type": "@"
884
938
  }
885
939
  },
886
940
  "retval": {
887
- "type": "@?"
941
+ "type": "v"
888
942
  }
889
943
  },
890
944
  "typestr": "@?",
@@ -2127,5 +2181,5 @@
2127
2181
  "MTKView.h"
2128
2182
  ],
2129
2183
  "release": "10.16",
2130
- "sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"
2184
+ "sdk": "/Users/ronald/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk"
2131
2185
  }
@@ -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:02:21 2023
4
+ // Last update: Sat May 18 09:32:11 2024
5
5
  {
6
6
  "arch": "x86_64",
7
7
  "definitions": {
@@ -577,10 +577,16 @@
577
577
  "arguments": {
578
578
  "0": {
579
579
  "type": "^v"
580
+ },
581
+ "1": {
582
+ "type": "@"
583
+ },
584
+ "2": {
585
+ "type": "@"
580
586
  }
581
587
  },
582
588
  "retval": {
583
- "type": "@?"
589
+ "type": "v"
584
590
  }
585
591
  },
586
592
  "typestr": "@?",
@@ -618,10 +624,16 @@
618
624
  "arguments": {
619
625
  "0": {
620
626
  "type": "^v"
627
+ },
628
+ "1": {
629
+ "type": "@"
630
+ },
631
+ "2": {
632
+ "type": "@"
621
633
  }
622
634
  },
623
635
  "retval": {
624
- "type": "@?"
636
+ "type": "v"
625
637
  }
626
638
  },
627
639
  "typestr": "@?",
@@ -663,10 +675,16 @@
663
675
  "arguments": {
664
676
  "0": {
665
677
  "type": "^v"
678
+ },
679
+ "1": {
680
+ "type": "@"
681
+ },
682
+ "2": {
683
+ "type": "@"
666
684
  }
667
685
  },
668
686
  "retval": {
669
- "type": "@?"
687
+ "type": "v"
670
688
  }
671
689
  },
672
690
  "typestr": "@?",
@@ -696,10 +714,16 @@
696
714
  "arguments": {
697
715
  "0": {
698
716
  "type": "^v"
717
+ },
718
+ "1": {
719
+ "type": "@"
720
+ },
721
+ "2": {
722
+ "type": "@"
699
723
  }
700
724
  },
701
725
  "retval": {
702
- "type": "@?"
726
+ "type": "v"
703
727
  }
704
728
  },
705
729
  "typestr": "@?",
@@ -737,10 +761,16 @@
737
761
  "arguments": {
738
762
  "0": {
739
763
  "type": "^v"
764
+ },
765
+ "1": {
766
+ "type": "@"
767
+ },
768
+ "2": {
769
+ "type": "@"
740
770
  }
741
771
  },
742
772
  "retval": {
743
- "type": "@?"
773
+ "type": "v"
744
774
  }
745
775
  },
746
776
  "typestr": "@?",
@@ -782,10 +812,16 @@
782
812
  "arguments": {
783
813
  "0": {
784
814
  "type": "^v"
815
+ },
816
+ "1": {
817
+ "type": "@"
818
+ },
819
+ "2": {
820
+ "type": "@"
785
821
  }
786
822
  },
787
823
  "retval": {
788
- "type": "@?"
824
+ "type": "v"
789
825
  }
790
826
  },
791
827
  "typestr": "@?",
@@ -815,10 +851,16 @@
815
851
  "arguments": {
816
852
  "0": {
817
853
  "type": "^v"
854
+ },
855
+ "1": {
856
+ "type": "@"
857
+ },
858
+ "2": {
859
+ "type": "@"
818
860
  }
819
861
  },
820
862
  "retval": {
821
- "type": "@?"
863
+ "type": "v"
822
864
  }
823
865
  },
824
866
  "typestr": "@?",
@@ -848,10 +890,16 @@
848
890
  "arguments": {
849
891
  "0": {
850
892
  "type": "^v"
893
+ },
894
+ "1": {
895
+ "type": "@"
896
+ },
897
+ "2": {
898
+ "type": "@"
851
899
  }
852
900
  },
853
901
  "retval": {
854
- "type": "@?"
902
+ "type": "v"
855
903
  }
856
904
  },
857
905
  "typestr": "@?",
@@ -881,10 +929,16 @@
881
929
  "arguments": {
882
930
  "0": {
883
931
  "type": "^v"
932
+ },
933
+ "1": {
934
+ "type": "@"
935
+ },
936
+ "2": {
937
+ "type": "@"
884
938
  }
885
939
  },
886
940
  "retval": {
887
- "type": "@?"
941
+ "type": "v"
888
942
  }
889
943
  },
890
944
  "typestr": "@?",
@@ -2127,5 +2181,5 @@
2127
2181
  "MTKView.h"
2128
2182
  ],
2129
2183
  "release": "10.16",
2130
- "sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk"
2184
+ "sdk": "/Users/ronald/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk"
2131
2185
  }
@@ -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 Extension, setup # noqa: E402
16
17
 
17
- VERSION = "10.1"
18
+ VERSION = "10.3"
18
19
 
19
20
  setup(
20
21
  name="pyobjc-framework-MetalKit",
@@ -1,3 +0,0 @@
1
- pyobjc-core>=10.1
2
- pyobjc-framework-Cocoa>=10.1
3
- pyobjc-framework-Metal>=10.1