git: 92ba87a661c4 - main - math/py-cdecimal: deprecate and mark BROKEN with Python 3.9
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 12 Feb 2022 16:36:04 UTC
The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=92ba87a661c409b4167d37efc38a1588c81efa41 commit 92ba87a661c409b4167d37efc38a1588c81efa41 Author: Thierry Thomas <thierry@FreeBSD.org> AuthorDate: 2022-02-12 16:24:59 +0000 Commit: Thierry Thomas <thierry@FreeBSD.org> CommitDate: 2022-02-12 16:35:56 +0000 math/py-cdecimal: deprecate and mark BROKEN with Python 3.9 Note: upstream does not support it after Python-3.2, and a fast C implementation of the decimal module (_decimal) is bundled with Python. PR: 261870 --- math/py-cdecimal/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/math/py-cdecimal/Makefile b/math/py-cdecimal/Makefile index 7ce6f0093577..d2481f7e89bd 100644 --- a/math/py-cdecimal/Makefile +++ b/math/py-cdecimal/Makefile @@ -13,10 +13,19 @@ COMMENT= Fast drop-in replacement for the Decimal module LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt +DEPRECATED= upstream does not support it after Python-3.2 + USES= python:3.6-3.8 USE_PYTHON= distutils autoplist +.include <bsd.port.pre.mk> + +.if ${PYTHON_VER} == 3.9 +# Note: a fast C implementation of the decimal module (_decimal) is bundled with Python +BROKEN= no member named 'tp_print' in 'struct _typeobject' +.endif + post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/cdecimal*.so -.include <bsd.port.mk> +.include <bsd.port.post.mk>