git: 6f494d8dbfed - main - dns/py-ldns: update supported python versions

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

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

commit 6f494d8dbfedb8182dde379e623a001820fdab91
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2021-11-01 15:24:13 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2021-11-01 15:28:25 +0000

    dns/py-ldns: update supported python versions
    
    configure: error: cannot import Python module "distutils".
    Please check your Python installation. The error was:
    <string>:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
    
    Approved by:    portmgr blanket
---
 dns/ldns/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dns/ldns/Makefile b/dns/ldns/Makefile
index 36ac23935870..375bb1f8167c 100644
--- a/dns/ldns/Makefile
+++ b/dns/ldns/Makefile
@@ -61,7 +61,7 @@ DRILL_INSTALL_TARGET=			install-drill
 EXAMPLES_INSTALL_TARGET=		install-examples
 
 .if defined(BUILD_PYLDNS)
-USES+=		python:3.6+
+USES+=		python:3.6-3.9
 USE_PYTHON=	flavors
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 ALL_TARGET=	pyldns