git: 909874a677e0 - main - devel/py-frozendict: limit supported python versions

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

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

commit 909874a677e0427bfda97b630bb03751978cf186
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2021-11-01 13:52:31 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2021-11-01 13:59:10 +0000

    devel/py-frozendict: limit supported python versions
    
    Python 3.10:
    /wrkdirs/usr/ports/devel/py-frozendict/work-py310/frozendict-2.0.6/frozendict/src/3_10/cpython_src/Include/Python.h:72:10: fatal error: 'pytime.h' file not found
    #include "pytime.h"
    
    Python 3.11:
    cc: error: no such file or directory: '/wrkdirs/usr/ports/devel/py-frozendict/work-py311/frozendict-2.0.6/frozendict/src/3_11/cpython_src/Objects/dictobject.c'
    
    Approved by:    portmgr blanket
---
 devel/py-frozendict/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/py-frozendict/Makefile b/devel/py-frozendict/Makefile
index 4dd8a1e8d5d5..783867983a34 100644
--- a/devel/py-frozendict/Makefile
+++ b/devel/py-frozendict/Makefile
@@ -12,7 +12,7 @@ COMMENT=	Immutable dictionary implementation for Python
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-USES=		python:3.6+
+USES=		python:3.6-3.9
 USE_PYTHON=	autoplist concurrent distutils
 
 post-install: