mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-16 08:40:06 +02:00
adjust recipes to use python 3.6, bump revisions.
This commit is contained in:
@@ -5,10 +5,11 @@ simplicity of Python."
|
||||
HOMEPAGE="http://www.riverbankcomputing.com/software/pyqt/"
|
||||
COPYRIGHT="2015-2017 Riverbank Computing Limited"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://downloads.sourceforge.net/project/pyqt/PyQt5/PyQt-$portVersion/PyQt5_gpl-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="9edf2816105a4111a447452df2bef7ce47d7efb307c75c3e74c27b8d31d7f66e"
|
||||
SOURCE_DIR="PyQt5_gpl-$portVersion"
|
||||
PYTHON3_VERSION="3.6"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
@@ -78,7 +79,7 @@ REQUIRES_python3="
|
||||
haiku${secondaryArchSuffix}
|
||||
pyqt$secondaryArchSuffix == $portVersion base
|
||||
sip_python3 >= 4.19
|
||||
cmd:python3
|
||||
cmd:python$PYTHON3_VERSION
|
||||
$REQUIRES
|
||||
"
|
||||
REPLACES_python3="
|
||||
@@ -124,7 +125,7 @@ BUILD_REQUIRES="
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:python2
|
||||
cmd:python3
|
||||
cmd:python$PYTHON3_VERSION
|
||||
cmd:gcc${secondaryArchSuffix}
|
||||
cmd:make
|
||||
cmd:ld${secondaryArchSuffix}
|
||||
@@ -158,12 +159,12 @@ BUILD()
|
||||
mkdir -p ../build3; cd ../build3
|
||||
|
||||
# GENERIC: all python_setuptools-based installs need this
|
||||
python=$portPackageLinksDir/cmd~python3/bin/python3
|
||||
python=$portPackageLinksDir/cmd~python$PYTHON3_VERSION/bin/python3
|
||||
pythonVersion=$($python --version 2>&1 | sed 's/Python //' | head -c3)
|
||||
installLocation=$prefix/lib/python$pythonVersion/vendor-packages/
|
||||
export PYTHONPATH=$installLocation:$OLDPYTHONPATH
|
||||
|
||||
$portPackageLinksDir/cmd~python3/bin/python3 ../configure.py \
|
||||
$python ../configure.py \
|
||||
--confirm-license \
|
||||
--no-designer-plugin \
|
||||
--no-qml-plugin \
|
||||
@@ -202,7 +203,7 @@ INSTALL()
|
||||
|
||||
cd ../build3
|
||||
# GENERIC: all python_setuptools-based installs need this
|
||||
python=$portPackageLinksDir/cmd~python3/bin/python3
|
||||
python=$portPackageLinksDir/cmd~python$PYTHON3_VERSION/bin/python3
|
||||
pythonVersion=$($python --version 2>&1 | sed 's/Python //' | head -c3)
|
||||
installLocation=$prefix/lib/python$pythonVersion/vendor-packages/
|
||||
export PYTHONPATH=$installLocation:$OLDPYTHONPATH
|
||||
|
||||
Reference in New Issue
Block a user