From f01e12c438e80a62e1f3ce8735435ad9d3b41e13 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Mon, 17 Jul 2023 06:11:19 +0000 Subject: Adding metadata --- .../files/meson-python-0.13.2_Mach-O_bundle.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 dev-python/meson-python/files/meson-python-0.13.2_Mach-O_bundle.patch (limited to 'dev-python/meson-python/files') diff --git a/dev-python/meson-python/files/meson-python-0.13.2_Mach-O_bundle.patch b/dev-python/meson-python/files/meson-python-0.13.2_Mach-O_bundle.patch new file mode 100644 index 000000000000..2531c93f41e2 --- /dev/null +++ b/dev-python/meson-python/files/meson-python-0.13.2_Mach-O_bundle.patch @@ -0,0 +1,21 @@ +Support .bundle python modules at Prefix/macOS. + +Not forwarding to upstream because we are reflecting on the naming +scheme of plugin modules on Prefix/macOS. + +Bug: https://bugs.gentoo.org/910401 +Signed-off-by: Benda Xu + +Index: meson-python-0.13.2/mesonpy/__init__.py +=================================================================== +--- meson-python-0.13.2.orig/mesonpy/__init__.py ++++ meson-python-0.13.2/mesonpy/__init__.py +@@ -129,7 +129,7 @@ _STYLES = _init_colors() # holds the co + + _SUFFIXES = importlib.machinery.all_suffixes() + _EXTENSION_SUFFIXES = importlib.machinery.EXTENSION_SUFFIXES +-_EXTENSION_SUFFIX_REGEX = re.compile(r'^\.(?:(?P[^.]+)\.)?(?:so|pyd|dll)$') ++_EXTENSION_SUFFIX_REGEX = re.compile(r'^\.(?:(?P[^.]+)\.)?(?:so|pyd|dll|bundle)$') + assert all(re.match(_EXTENSION_SUFFIX_REGEX, x) for x in _EXTENSION_SUFFIXES) + + -- cgit v1.3.1