git: e7722d38757e - main - www/py-graphite-web: Mark BROKEN for python39

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

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

commit e7722d38757e4561a7a27d64001df978a03fca7b
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-06-25 21:10:28 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-06-25 21:17:53 +0000

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

diff --git a/www/py-graphite-web/Makefile b/www/py-graphite-web/Makefile
index 28b27522f966..50c3253d2879 100644
--- a/www/py-graphite-web/Makefile
+++ b/www/py-graphite-web/Makefile
@@ -29,7 +29,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cairo>=1.8.10:graphics/py-cairo@${PY_FLAVOR}
 		bash:shells/bash \
 		xorg-fonts-truetype>=0:x11-fonts/xorg-fonts-truetype
 
-USES=		cpe python:3.4-3.8 shebangfix
+USES=		cpe python shebangfix
 CPE_VENDOR=	graphite_project
 CPE_PRODUCT=	graphite
 USE_GITHUB=	yes
@@ -49,6 +49,12 @@ SUB_LIST=	DATADIR=${DATADIR} \
 PLIST_SUB=	WWWGRP=${WWWGRP} \
 		WWWOWN=${WWWOWN}
 
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} > 30900
+BROKEN=		Python-3.9 is not supported
+.endif
+
 post-patch:
 	@${RM} ${WRKSRC}/bin/build-index.sh.orig
 	@${RM} ${WRKSRC}/bin/run-graphite-devel-server.py