mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-15 00:00:07 +02:00
pyqt5: bump version
switch to python 3.10
This commit is contained in:
@@ -3,13 +3,13 @@ DESCRIPTION="PyQt combines all the advantages of Qt and Python. A programmer \
|
||||
has all the power of Qt, but is able to exploit it with the \
|
||||
simplicity of Python."
|
||||
HOMEPAGE="http://www.riverbankcomputing.com/software/pyqt/"
|
||||
COPYRIGHT="2015-2019 Riverbank Computing Limited"
|
||||
COPYRIGHT="2015-2023 Riverbank Computing Limited"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://pypi.python.org/packages/source/P/PyQt5/PyQt5-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="dc41e8401a90dc3e2b692b411bd5492ab559ae27a27424eed4bd3915564ec4c0"
|
||||
CHECKSUM_SHA256="d46b7804b1b10a4ff91753f8113e5b5580d2b4462f3226288e2d84497334898a"
|
||||
SOURCE_DIR="PyQt5-$portVersion"
|
||||
PYTHON3_VERSION="3.9"
|
||||
PYTHON3_VERSION="3.10"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
@@ -22,7 +22,7 @@ if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
fi
|
||||
|
||||
portVersionCompat="$portVersion compat >= ${portVersion%%.*}"
|
||||
qtVersion="${portVersion%.*}"
|
||||
qtVersion="5.5.11" #"${portVersion%.*}"
|
||||
|
||||
PROVIDES="
|
||||
pyqt5$secondaryArchSuffix = $portVersionCompat
|
||||
@@ -63,35 +63,35 @@ REQUIRES="
|
||||
REPLACES="
|
||||
pyqt$secondaryArchSuffix
|
||||
"
|
||||
PROVIDES_python39="
|
||||
pyqt5${secondaryArchSuffix}_python39 = $portVersionCompat
|
||||
PROVIDES_python310="
|
||||
pyqt5${secondaryArchSuffix}_python310 = $portVersionCompat
|
||||
cmd:pylupdate5$commandSuffix
|
||||
cmd:pyrcc5$commandSuffix
|
||||
cmd:pyuic5$commandSuffix
|
||||
"
|
||||
REQUIRES_python39="
|
||||
REQUIRES_python310="
|
||||
haiku$secondaryArchSuffix
|
||||
pyqt5$secondaryArchSuffix == $portVersion base
|
||||
pyqt5_sip_python39
|
||||
pyqt5_sip_python310
|
||||
cmd:python$PYTHON3_VERSION
|
||||
$REQUIRES
|
||||
"
|
||||
REPLACES_python39="
|
||||
pyqt${secondaryArchSuffix}_python38
|
||||
REPLACES_python310="
|
||||
pyqt${secondaryArchSuffix}_python39
|
||||
"
|
||||
|
||||
if [ "$targetArchitecture" = "x86_gcc2" ]; then
|
||||
PROVIDES_python39+="
|
||||
pyqt5_python39 = $portVersionCompat
|
||||
PROVIDES_python310+="
|
||||
pyqt5_python310 = $portVersionCompat
|
||||
"
|
||||
fi
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
pyqt_builder_python39
|
||||
setuptools_python39
|
||||
sip_python39 >= 6
|
||||
tomli_python39
|
||||
pyqt_builder_python310
|
||||
setuptools_python310
|
||||
sip_python310 >= 6
|
||||
tomli_python310
|
||||
devel:libQt5Bluetooth$secondaryArchSuffix >= $qtVersion
|
||||
devel:libQt5Core$secondaryArchSuffix >= $qtVersion
|
||||
devel:libQt5Designer$secondaryArchSuffix >= $qtVersion
|
||||
@@ -144,7 +144,7 @@ BUILD()
|
||||
OLDPYTHONPATH=$PYTHONPATH
|
||||
|
||||
local packageLinksDir=$(dirname $portPackageLinksDir)
|
||||
local python3PackageName="${portName}_python39-$portFullVersion"
|
||||
local python3PackageName="${portName}_python310-$portFullVersion"
|
||||
|
||||
# GENERIC: all python_setuptools-based installs need this
|
||||
python=$packageLinksDir/$python3PackageName/cmd~python$PYTHON3_VERSION/bin/python$PYTHON3_VERSION
|
||||
@@ -169,7 +169,7 @@ INSTALL()
|
||||
OLDPYTHONPATH=$PYTHONPATH
|
||||
|
||||
local packageLinksDir=$(dirname $portPackageLinksDir)
|
||||
local python3PackageName="${portName}_python39-$portFullVersion"
|
||||
local python3PackageName="${portName}_python310-$portFullVersion"
|
||||
|
||||
# GENERIC: all python_setuptools-based installs need this
|
||||
python=$packageLinksDir/$python3PackageName/cmd~python$PYTHON3_VERSION/bin/python$PYTHON3_VERSION
|
||||
@@ -184,7 +184,7 @@ INSTALL()
|
||||
$python -m compileall -d / $prefix/lib/python$pythonVersion
|
||||
$python -O -m compileall -d / $prefix/lib/python$pythonVersion
|
||||
|
||||
packageEntries python39 \
|
||||
packageEntries python310 \
|
||||
$installLocation \
|
||||
$commandBinDir
|
||||
|
||||
Reference in New Issue
Block a user