[MacPorts] #62212: spice-gtk: Meson build fails with "Python module six not found" with Python 3.9
MacPorts
noreply at macports.org
Fri Jun 11 19:23:12 UTC 2021
#62212: spice-gtk: Meson build fails with "Python module six not found" with Python
3.9
------------------------------+----------------------
Reporter: rseichter | Owner: danchr
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords:
Port: spice-gtk meson |
------------------------------+----------------------
Comment (by raimue):
You probably need to patch `src/meson.build` to use the expected python
version. According to the [https://mesonbuild.com/Python-module.html
#python_installation-object meson documentation], the following patch
might do what is required. But note I never tested this.
{{{
--- src/meson.build
+++ src/meson.build
@@ -300,7 +300,7 @@ if spice_gtk_has_gtk
endif
# keymaps
- python = import('python').find_installation()
+ python = import('python').find_installation('python3.8')
keymaps = ['xorgevdev',
'xorgkbd',
'xorgxquartz',
}}}
--
Ticket URL: <https://trac.macports.org/ticket/62212#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list