mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
qutebrowser: switch to python 3.10
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user