Bug#1059671: python3-capstone: Python 3.12 has no module named 'distutils'

2024-02-20 Thread Timo Röhling
On Fri, 2 Feb 2024 08:49:11 +0200 Graham Inggs wrote: I believe all that is required here is patching out the import of distutils.sysconfig: --- a/bindings/python/capstone/__init__.py +++ b/bindings/python/capstone/__init__.py @@ -263,7 +263,6 @@ import ctypes, ctypes.util from os.path

Bug#1059671: python3-capstone: Python 3.12 has no module named 'distutils'

2024-02-01 Thread Graham Inggs
Control: tags -1 + patch Hi Maintainer It turns out the usage of distutils.sysconfig.get_python_lib() was already patched out in a previous patch [1]. I believe all that is required here is patching out the import of distutils.sysconfig: --- a/bindings/python/capstone/__init__.py +++