aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2022-02-25 21:42:21 +0000
committerThierry Thomas <thierry@FreeBSD.org>2022-02-25 21:45:10 +0000
commit8bee5127a7ce83aa289f9b0e39177990a5f726a9 (patch)
tree495683fc013d77324450847f19d9d4c2f91dc4cc
parent25dae3017fb5165c96fb8226c0c2f0f7f3c405f6 (diff)
downloadports-8bee5127a7ce83aa289f9b0e39177990a5f726a9.tar.gz
ports-8bee5127a7ce83aa289f9b0e39177990a5f726a9.zip
devel/py-meliae: add BROKEN with python=3.9, Mark DEPRECATED
It is broken with Python 3.9. Reported by: antoine. Bug reported upstream: https://bugs.launchpad.net/meliae/+bug/1899379 PR: 261869 Approved by: maintainer’s time-out
-rw-r--r--devel/py-meliae/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/devel/py-meliae/Makefile b/devel/py-meliae/Makefile
index 44c8fd36a90a..5285f4391221 100644
--- a/devel/py-meliae/Makefile
+++ b/devel/py-meliae/Makefile
@@ -10,10 +10,19 @@ COMMENT= Python Memory Usage Analyzer
LICENSE= GPLv3
#LICENSE_FILE= ${WRKSRC}/COPYING.txt
+DEPRECATED= does not build against Python-3.9
+# See https://bugs.launchpad.net/meliae/+bug/1899379
+
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
USES= python:3.6-3.8
USE_PYTHON= distutils autoplist cython
TEST_TARGET= check # test fails
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_VER} == 3.9
+BROKEN= build error: PyGC_HEAD is private in Python 3.9
+.endif
+
+.include <bsd.port.post.mk>