mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
grpc: switch tests to Python 3.10. (Untested) (#11608)
This commit is contained in:
@@ -24,6 +24,10 @@ libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
libCppVersion=$portVersion
|
||||
libCppVersionCompat="$libCppVersion compat >= ${libCppVersion%.*}"
|
||||
|
||||
# Used for TESTS() only:
|
||||
pythonVersion=3.10
|
||||
pythonPackage=python${pythonVersion//.}
|
||||
|
||||
PROVIDES="
|
||||
grpc$secondaryArchSuffix = $portVersion
|
||||
cmd:grpc_cpp_plugin
|
||||
@@ -109,9 +113,10 @@ BUILD_PREREQUIRES="
|
||||
cmd:ninja
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
TEST_REQUIRES="
|
||||
cmd:python3
|
||||
six_python39
|
||||
cmd:python$pythonVersion
|
||||
six_$pythonPackage
|
||||
"
|
||||
|
||||
BUILD()
|
||||
@@ -181,5 +186,5 @@ INSTALL()
|
||||
|
||||
TEST()
|
||||
{
|
||||
python3 tools/run_tests/run_tests.py -l c++
|
||||
python$pythonVersion tools/run_tests/run_tests.py -l c++
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user