git: aa1ad651dae6 - main - devel/py-validictory: limit supported python versions

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Tue, 02 Nov 2021 13:51:26 UTC
The branch main has been updated by amdmi3:

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

commit aa1ad651dae6942a98a8525f01a280a5a5355dc9
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2021-11-01 15:36:10 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2021-11-02 13:51:03 +0000

    devel/py-validictory: limit supported python versions
    
      File "/wrkdirs/usr/ports/devel/py-validictory/work-py310/validictory-1.1.2/validictory/validator.py", line 7, in <module>
        from collections import Mapping, Container
    ImportError: cannot import name 'Mapping' from 'collections' (/usr/local/lib/python3.10/collections/__init__.py)
    
    Approved by:    portmgr blanket
---
 devel/py-validictory/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/py-validictory/Makefile b/devel/py-validictory/Makefile
index ab6269b591d2..c8c5410e04c1 100644
--- a/devel/py-validictory/Makefile
+++ b/devel/py-validictory/Makefile
@@ -13,7 +13,7 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 NO_ARCH=	yes
-USES=		python:3.6+
+USES=		python:3.6-3.9
 USE_PYTHON=	autoplist concurrent distutils
 
 .include <bsd.port.mk>