frescobaldi: switch to python 3.10

This commit is contained in:
Jerome Duval
2023-12-01 11:36:40 +01:00
parent 5fd33da710
commit 9494adca7a

View File

@@ -4,12 +4,12 @@ Features include an integrated PDF preview and a powerful Score Wizard."
HOMEPAGE="https://www.frescobaldi.org/" HOMEPAGE="https://www.frescobaldi.org/"
COPYRIGHT="2008-2020 by Wilbert Berendsen" COPYRIGHT="2008-2020 by Wilbert Berendsen"
LICENSE="GNU GPL v3" LICENSE="GNU GPL v3"
REVISION="1" REVISION="2"
SOURCE_URI="https://github.com/frescobaldi/frescobaldi/releases/download/v$portVersion/frescobaldi-$portVersion.tar.gz" SOURCE_URI="https://github.com/frescobaldi/frescobaldi/releases/download/v$portVersion/frescobaldi-$portVersion.tar.gz"
CHECKSUM_SHA256="9fb90934fbc08f6c7df0a4d999e89a9a82fe9b4a0f21c0d40a1474e3ac7bc0d8" CHECKSUM_SHA256="9fb90934fbc08f6c7df0a4d999e89a9a82fe9b4a0f21c0d40a1474e3ac7bc0d8"
PATCHES="frescobaldi-$portVersion.patchset" PATCHES="frescobaldi-$portVersion.patchset"
ADDITIONAL_FILES="frescobaldi.rdef.in" ADDITIONAL_FILES="frescobaldi.rdef.in"
PYTHON3_VERSION="3.9" PYTHON3_VERSION="3.10"
ARCHITECTURES="any" ARCHITECTURES="any"
@@ -20,20 +20,20 @@ PROVIDES="
REQUIRES=" REQUIRES="
haiku haiku
myspell myspell
pyqt5_python39 pyqt5_python310
python_ly_python39 python_ly_python310
python_poppler_qt5_python39 python_poppler_qt5_python310
qpageview_python39 qpageview_python310
cmd:python$PYTHON3_VERSION cmd:python$PYTHON3_VERSION
" "
BUILD_REQUIRES=" BUILD_REQUIRES="
haiku_devel haiku_devel
pyqt5_python39 pyqt5_python310
python_ly_python39 python_ly_python310
python_poppler_qt5_python39 python_poppler_qt5_python310
qpageview_python39 qpageview_python310
setuptools_python39 setuptools_python310
" "
BUILD_PREREQUIRES=" BUILD_PREREQUIRES="
cmd:python$PYTHON3_VERSION cmd:python$PYTHON3_VERSION
@@ -48,7 +48,7 @@ INSTALL()
# GENERIC: all python_setuptools-based installs need this # GENERIC: all python_setuptools-based installs need this
python=$packageLinksDir/$packageName/cmd~python$PYTHON3_VERSION/bin/python$PYTHON3_VERSION python=$packageLinksDir/$packageName/cmd~python$PYTHON3_VERSION/bin/python$PYTHON3_VERSION
pythonVersion=$($python --version 2>&1 | sed 's/Python //' | head -c3) pythonVersion=$($python --version 2>&1 | sed 's/Python //' | head -c4)
installLocation=lib/python$pythonVersion/vendor-packages/ installLocation=lib/python$pythonVersion/vendor-packages/
export PYTHONPATH=$installLocation:$OLDPYTHONPATH export PYTHONPATH=$installLocation:$OLDPYTHONPATH