# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/libgit2-glib/hotfix-no-compileall.patch # Copyright (C) 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 # --- T2-COPYRIGHT-END --- The install script ran compileall -f over the whole libdir, rewriting the bytecode of every installed Python package. The libgit2-glib override is byte-compiled by meson itself. --- libgit2-glib-1.2.1.orig/meson.build +++ libgit2-glib-1.2.1/meson.build @@ -177,7 +177,6 @@ if enable_python dependency('pygobject-3.0', version: '>= 3.0.0') assert(python.language_version().version_compare('>= ' + python_req), 'python support was requested, but version >= ' + python_req + ' not found.') - meson.add_install_script('meson_python_compile.py', libgit2_glib_libdir, python.path()) endif subdir('libgit2-glib')