sigil: switch to Python 3.9. (#8096)

Seems to work fine, but crashes on close.
This commit is contained in:
OscarL
2023-03-24 04:58:44 -03:00
committed by GitHub
parent e3e9783dd6
commit 3e8b593c3f

View File

@@ -11,7 +11,7 @@ SOURCE_DIR="Sigil_WebKit-$portVersion"
ADDITIONAL_FILES="sigil.rdef.in"
PYTHON_VERSION="3.7"
PYTHON_VERSION="3.9"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
@@ -22,11 +22,11 @@ PROVIDES="
"
REQUIRES="
haiku$secondaryArchSuffix
chardet_python3
cssselect_python3
html5lib_python3
lxml_python3
six_python3
chardet_python39
cssselect_python39
html5lib_python39
lxml_python39
six_python39
cmd:python$PYTHON_VERSION
lib:libhunspell_1.7$secondaryArchSuffix
lib:libminizip$secondaryArchSuffix
@@ -39,11 +39,11 @@ REQUIRES="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
chardet_python3
cssselect_python3
html5lib_python3
lxml_python3
six_python3
chardet_python39
cssselect_python39
html5lib_python39
lxml_python39
six_python39
devel:libgl$secondaryArchSuffix
devel:libhunspell_1.7$secondaryArchSuffix
devel:libminizip$secondaryArchSuffix
@@ -67,8 +67,8 @@ BUILD()
cd build
pythonBin=/bin/python${PYTHON_VERSION}
pythonLib=/system/$relativeDevelopLibDir/libpython${PYTHON_VERSION}m.so
pythonInclude=/system/develop/headers/python${PYTHON_VERSION}m
pythonLib=/system/$relativeDevelopLibDir/libpython${PYTHON_VERSION}.so
pythonInclude=/system/develop/headers/python${PYTHON_VERSION}
cmake .. \
-DCMAKE_BUILD_TYPE=Release \