Rebuild with python 3.14

This commit is contained in:
2026-05-06 20:26:20 +03:00
parent eb964a8d99
commit 2275f1d248
4 changed files with 79 additions and 1 deletions
+9
View File
@@ -2,6 +2,15 @@
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
# The prepare function is executed in the root of the temp directory
# This function is used for putting downloaded files to the correct location or applying patches
prepare() {
cd "$BPM_SOURCE"
# Fix building with Python 3.14
patch -Np1 -i "$BPM_WORKDIR"/handle-missing-pkg_resources-import.patch
patch -Np1 -i "$BPM_WORKDIR"/fix-version-parsing.patch
}
# The build function is executed in the source directory
# This function is used to compile the source code
build() {