From a148666c676c6476f871d87f415de5a5ccc6b7f9 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Fri, 1 Dec 2023 10:00:42 +0100 Subject: [PATCH] qutebrowser: switch to python 3.10 --- .../qutebrowser/qutebrowser-2.5.4.recipe | 27 ++++++++++--------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/www-client/qutebrowser/qutebrowser-2.5.4.recipe b/www-client/qutebrowser/qutebrowser-2.5.4.recipe index 9ccf8af4a..9cbe2c9af 100644 --- a/www-client/qutebrowser/qutebrowser-2.5.4.recipe +++ b/www-client/qutebrowser/qutebrowser-2.5.4.recipe @@ -5,10 +5,10 @@ It was inspired by other browsers/addons like dwb and Vimperator/Pentadactyl." HOMEPAGE="https://qutebrowser.org/" COPYRIGHT="2014-2023 Florian Bruhin (The Compiler)" LICENSE="GNU GPL v3" -REVISION="1" +REVISION="2" SOURCE_URI="https://github.com/qutebrowser/qutebrowser/archive/v$portVersion.tar.gz" CHECKSUM_SHA256="e24344e25ad66ed94b9f9c280523124d8966c490b1480acb8f6af483ecb46b75" -PYTHON_VERSION="3.9" +PYTHON_VERSION="3.10" ADDITIONAL_FILES="qutebrowser.rdef.in" ARCHITECTURES="all !x86_gcc2" @@ -20,22 +20,23 @@ PROVIDES=" " REQUIRES=" haiku$secondaryArchSuffix - importlib_metadata_python39 - jinja_python39 - pyqt5_python39 - pyyaml_python39 - setuptools_python39 + importlib_metadata_python310 + jinja_python310 + pyqt5_python310 + pyqtwebengine5_python310 + pyyaml_python310 + setuptools_python310 cmd:python$PYTHON_VERSION lib:libQt5Core$secondaryArchSuffix " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel - importlib_metadata_python39 - jinja_python39 - pyqt5_python39 - pyyaml_python39 - setuptools_python39 + importlib_metadata_python310 + jinja_python310 + pyqt5_python310 + pyyaml_python310 + setuptools_python310 devel:libQt5Core$secondaryArchSuffix " BUILD_PREREQUIRES=" @@ -54,7 +55,7 @@ INSTALL() { # GENERIC: all python_setuptools-based installs need this python=$portPackageLinksDir/cmd~python$PYTHON_VERSION/bin/python$PYTHON_VERSION - pythonVersion=$($python --version 2>&1 | sed 's/Python //' | head -c3) + pythonVersion=$($python --version 2>&1 | sed 's/Python //' | head -c4) installLocation=$prefix/lib/python$pythonVersion/vendor-packages/ export PYTHONPATH=$installLocation:$PYTHONPATH mkdir -p $installLocation $appsDir