games/openage: limit supported python versions range to 3.7-3.9 (+)

This fix the build with default python set to 3.10+

Approved by:	portmgr blanket (fix build)
This commit is contained in:
Dima Panov 2022-06-03 14:09:25 +03:00
parent aecc16da12
commit 266ae5326b

View File

@ -27,7 +27,7 @@ RUN_DEPENDS= ${PYNUMPY} \
${PY_PILLOW} \
${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR}
USES= cmake compiler:c++17-lang eigen:3 gl ncurses:base python:3.4+ qt:5 sdl shebangfix
USES= cmake compiler:c++17-lang eigen:3 gl ncurses:base python:3.7-3.9 qt:5 sdl shebangfix
SHEBANG_FILES= configure run.py.in buildsystem/cythonize.py
USE_GITHUB= yes
GH_ACCOUNT= SFTtech
@ -40,6 +40,8 @@ USE_LDCONFIG= yes
CMAKE_OFF= WANT_BACKTRACE WANT_GPERFTOOLS_PROFILER WANT_INOTIFY
CMAKE_ARGS= -DGLOBAL_CONFIG_DIR:STRING=${ETCDIR}
BINARY_ALIAS= python3=${PYTHON_CMD}
pre-configure:
${REINPLACE_CMD} -e 's|python3|${PYTHON_CMD}|' ${WRKSRC}/openage/codegen/main.py