From 6a1ff2502e2554b86ff271ac6361bf26e4e2cc66 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Tue, 2 Jul 2019 08:56:20 +0100 Subject: [PATCH] py-tensorflow: Add build conflict on self Closes: https://trac.macports.org/ticket/58667 --- python/py-tensorflow/Portfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python/py-tensorflow/Portfile b/python/py-tensorflow/Portfile index 21adb377e119c..f2d661d2bcbb7 100644 --- a/python/py-tensorflow/Portfile +++ b/python/py-tensorflow/Portfile @@ -8,6 +8,7 @@ PortGroup github 1.0 PortGroup compilers 1.0 PortGroup xcodeversion 1.0 PortGroup compiler_blacklist_versions 1.0 +PortGroup conflicts_build 1.0 name py-tensorflow version 1.14.0 @@ -57,6 +58,9 @@ python.default_version 37 if {${name} ne ${subport}} { + # Tensorflow cannot be built/desrooted whilst it is still installed + conflicts_build ${subport} + depends_build-append \ port:py${python.version}-pip \ port:bazel25 \