git: bbc2585de3c9 - main - devel/py-ice37: limit supported python versions

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Mon, 01 Nov 2021 13:59:50 UTC
The branch main has been updated by amdmi3:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bbc2585de3c98a3014ea97f9ea6bc8a3cf74b4dc

commit bbc2585de3c98a3014ea97f9ea6bc8a3cf74b4dc
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2021-10-28 12:34:49 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2021-11-01 13:59:05 +0000

    devel/py-ice37: limit supported python versions
    
    modules/IcePy/Util.cpp:228:20: error: cannot initialize a variable of type 'PyFrameObject *' (aka '_frame *') with an lvalue of type 'struct _interpreter_frame *'
        PyFrameObject *f = PyThreadState_GET()->frame;
    
    Approved by:    portmgr blanket
---
 devel/py-ice37/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/py-ice37/Makefile b/devel/py-ice37/Makefile
index 92529fa54f04..24b4f6f8f82f 100644
--- a/devel/py-ice37/Makefile
+++ b/devel/py-ice37/Makefile
@@ -10,7 +10,7 @@ BUILD_DEPENDS=	mcpp:devel/mcpp
 LIB_DEPENDS=	libIce.so.${LIB_VRS}:devel/ice37 \
 		libmcpp.so:devel/mcpp
 
-USES=		gettext-runtime python shebangfix
+USES=		gettext-runtime python:-3.9 shebangfix
 USE_PYTHON=	py3kplist
 SLAVE_PORT=	yes
 MASTERDIR=	${.CURDIR}/../ice37