git: 390e51676294 - main - databases/py-carbon: Remove outdated PYTHON_REL check after lang/python38 removal (ca15850a2b13f4fede0294d724e1d4a8edec8407)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 09 Apr 2025 17:50:03 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=390e5167629400dff32859992e16a60b2b87053a
commit 390e5167629400dff32859992e16a60b2b87053a
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-04-09 17:45:04 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-04-09 17:45:04 +0000
databases/py-carbon: Remove outdated PYTHON_REL check after lang/python38 removal (ca15850a2b13f4fede0294d724e1d4a8edec8407)
Approved by: portmgr (blanket)
With hat: python
---
databases/py-carbon/Makefile | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/databases/py-carbon/Makefile b/databases/py-carbon/Makefile
index 02f21633f39b..464a23575db9 100644
--- a/databases/py-carbon/Makefile
+++ b/databases/py-carbon/Makefile
@@ -11,6 +11,7 @@ WWW= https://github.com/graphite-project/carbon
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
+BROKEN= Python-3.9 or later is not supported
DEPRECATED= In bandaid mode as the concentration is on go-carbon
EXPIRATION_DATE= 2025-04-27
@@ -32,12 +33,6 @@ MAKE_ENV= GRAPHITE_NO_PREFIX=yes
NO_ARCH= yes
SUB_LIST= PYTHON_CMD=${PYTHON_CMD}
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} > 30900
-BROKEN= Python-3.9 or later is not supported
-.endif
-
post-patch:
@${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/setup.py
@@ -45,4 +40,4 @@ post-install:
${RM} -r ${STAGEDIR}${PREFIX}/examples/init.d
${RMDIR} ${STAGEDIR}${PREFIX}/examples
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>