diff options
-rw-r--r-- | math/py-cdecimal/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
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> |