mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
openshot: switch to python 3.10
This commit is contained in:
@@ -6,7 +6,7 @@ you create the film you always dreamed of. Easily add sub-titles, transitions,\
|
||||
HOMEPAGE="https://www.openshot.org"
|
||||
COPYRIGHT="2008-2023 OpenShot Studios, LLC"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/OpenShot/openshot-qt/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="0522bd6c7d2b254e598d0ed53e7b6b8d7af566e6242f1d2af22c281807fc3f9a"
|
||||
SOURCE_FILENAME="openshot-$portVersion.tar.gz"
|
||||
@@ -16,7 +16,7 @@ ADDITIONAL_FILES="openshot.rdef.in"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PYTHON_VERSION="3.9"
|
||||
PYTHON_VERSION="3.10"
|
||||
|
||||
PROVIDES="
|
||||
openshot$secondaryArchSuffix = $portVersion
|
||||
@@ -24,20 +24,20 @@ PROVIDES="
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
httplib2_python39
|
||||
libopenshot_python39
|
||||
pyqt5_python39
|
||||
pyzmq_python39
|
||||
requests_python39
|
||||
setuptools_python39
|
||||
httplib2_python310
|
||||
libopenshot_python310
|
||||
pyqt5_python310
|
||||
pyzmq_python310
|
||||
requests_python310
|
||||
setuptools_python310
|
||||
cmd:python$PYTHON_VERSION
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
libopenshot_python39
|
||||
pyqt5_python39
|
||||
setuptools_python39
|
||||
libopenshot_python310
|
||||
pyqt5_python310
|
||||
setuptools_python310
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:python$PYTHON_VERSION
|
||||
@@ -66,7 +66,7 @@ INSTALL()
|
||||
> openshot.rdef
|
||||
# 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