science/py-tensorflow: Mark BROKEN

Fails to build with:
variable has incomplete type 'StateSaver'
This commit is contained in:
Muhammad Moinur Rahman 2024-02-17 06:54:23 +01:00
parent 65c297ff41
commit 463eb96108
No known key found for this signature in database
GPG key ID: BDB9B5A617C0BC91

View file

@ -14,6 +14,7 @@ WWW= https://www.tensorflow.org
LICENSE= APACHE20 LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN= variable has incomplete type 'StateSaver'
ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS= amd64
BUILD_DEPENDS= ${RUN_DEPENDS} \ BUILD_DEPENDS= ${RUN_DEPENDS} \
@ -112,7 +113,7 @@ post-patch:
${WRKSRC}/third_party/ ${WRKSRC}/third_party/
@${LN} -s ${PYTHON_CMD} ${WRKDIR}/.bin/python3 @${LN} -s ${PYTHON_CMD} ${WRKDIR}/.bin/python3
@cd ${WRKSRC} && \ @cd ${WRKSRC} && \
${REINPLACE_CMD} "s#--batch#${BAZEL_BOOT}\', \'--batch#" \ ${REINPLACE_CMD} "s#--batch#${BAZEL_BOOT}\', \'--batch#" \
configure.py configure.py
@ -214,7 +215,7 @@ do-install:
${STAGEDIR}/${LOCALBASE}/libdata/pkgconfig/tensorflow_cc.pc ${STAGEDIR}/${LOCALBASE}/libdata/pkgconfig/tensorflow_cc.pc
@${REINPLACE_CMD} "s#%%VERSION%%#${PORTVERSION}#" \ @${REINPLACE_CMD} "s#%%VERSION%%#${PORTVERSION}#" \
${STAGEDIR}/${LOCALBASE}/libdata/pkgconfig/tensorflow.pc ${STAGEDIR}/${LOCALBASE}/libdata/pkgconfig/tensorflow.pc
#cleanup #cleanup
${RM} ${STAGEDIR}/${LOCALBASE}/libdata/pkgconfig/*.bak ${RM} ${STAGEDIR}/${LOCALBASE}/libdata/pkgconfig/*.bak