pyqt: fix install dir

This commit is contained in:
Jerome Duval
2023-11-30 23:01:34 +01:00
parent 83dd3e4312
commit 2cac9b8a62

View File

@@ -5,7 +5,7 @@ simplicity of Python."
HOMEPAGE="http://www.riverbankcomputing.com/software/pyqt/"
COPYRIGHT="2015-2023 Riverbank Computing Limited"
LICENSE="GNU GPL v3"
REVISION="1"
REVISION="2"
SOURCE_URI="https://pypi.python.org/packages/source/P/PyQt5/PyQt5-$portVersion.tar.gz"
CHECKSUM_SHA256="d46b7804b1b10a4ff91753f8113e5b5580d2b4462f3226288e2d84497334898a"
SOURCE_DIR="PyQt5-$portVersion"
@@ -148,7 +148,7 @@ BUILD()
# GENERIC: all python_setuptools-based installs need this
python=$packageLinksDir/$python3PackageName/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/
export PYTHONPATH=$installLocation:$OLDPYTHONPATH
@@ -173,7 +173,7 @@ INSTALL()
# GENERIC: all python_setuptools-based installs need this
python=$packageLinksDir/$python3PackageName/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/
export PYTHONPATH=$installLocation:$OLDPYTHONPATH