git: 82b534dccca2 - main - deskutils/py-taskw: Mark BROKEN for python39

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 25 Jun 2022 21:18:11 UTC
The branch main has been updated by bofh:

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

commit 82b534dccca2749a00192038fbaed1c53e761b2a
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-06-25 21:12:34 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-06-25 21:17:53 +0000

    deskutils/py-taskw: Mark BROKEN for python39
    
    - Remove version-spec
    
    PR:             261703
    Reported by:    exp-run
---
 deskutils/py-taskw/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/deskutils/py-taskw/Makefile b/deskutils/py-taskw/Makefile
index 4427e53d573d..ca739f49d185 100644
--- a/deskutils/py-taskw/Makefile
+++ b/deskutils/py-taskw/Makefile
@@ -18,11 +18,17 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR} \
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>=1.3.4,<2:devel/py-nose@${PY_FLAVOR} \
 		task:deskutils/taskwarrior
 
-USES=		python:3.5-3.8
+USES=		python
 USE_PYTHON=	autoplist distutils
 
 NO_ARCH=	yes
 
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} > 30900
+BROKEN=		python-3.9 is not supported
+.endif
+
 do-test:
 	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test