mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
adjust recipes to use python 3.6, bump revisions.
This commit is contained in:
@@ -6,11 +6,12 @@ module provides support functions to the automatically generated code."
|
||||
HOMEPAGE="https://www.riverbankcomputing.com/software/sip/"
|
||||
COPYRIGHT="2015 Riverbank Computing Limited"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://sourceforge.net/projects/pyqt/files/sip/sip-$portVersion/sip-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="501852b8325349031b769d1c03d6eab04f7b9b97f790ec79f3d3d04bf065d83e"
|
||||
SOURCE_DIR="sip-$portVersion"
|
||||
PATCHES="sip-$portVersion.patch"
|
||||
PYTHON3_VERSION="3.6"
|
||||
|
||||
ARCHITECTURES="x86 x86_gcc2 x86_64"
|
||||
|
||||
@@ -37,7 +38,7 @@ PROVIDES_python3="
|
||||
"
|
||||
REQUIRES_python3="
|
||||
haiku
|
||||
cmd:python3
|
||||
cmd:python$PYTHON3_VERSION
|
||||
"
|
||||
REPLACES_python3="
|
||||
python3_sip
|
||||
@@ -48,7 +49,7 @@ BUILD_REQUIRES="
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:python2
|
||||
cmd:python3
|
||||
cmd:python$PYTHON3_VERSION
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
"
|
||||
@@ -76,7 +77,7 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user