sci-libs/vtk: patch to use dev-python/twisted
authorBernd Waibel <waebbl@gmail.com>
Thu, 16 Nov 2017 07:04:07 +0000 (08:04 +0100)
committerDavid Seifert <soap@gentoo.org>
Fri, 17 Nov 2017 18:39:23 +0000 (19:39 +0100)
Depending on dev-python/twisted-core and dev-python/autobahn produces
a block, because autobahn depends on dev-python/twisted.

Closes: https://bugs.gentoo.org/637646
Closes: https://bugs.gentoo.org/612702
Package-Manager: Portage-2.3.14, Repoman-2.3.5
Closes: https://github.com/gentoo/gentoo/pull/6200

sci-libs/vtk/vtk-7.1.0.ebuild

index 8c9bff9d54a54f6c2b1051f47e2cec0d1fae4fd8..8ec4d6c05b152d75143998b40e042156cea4153a 100644 (file)
@@ -98,8 +98,9 @@ RDEPEND="
        video_cards_nvidia? ( || ( x11-drivers/nvidia-drivers[tools,static-libs] media-video/nvidia-settings ) )
        web? (
                ${WEBAPP_DEPEND}
+               dev-python/six[${PYTHON_USEDEP}]
                dev-python/autobahn[${PYTHON_USEDEP}]
-               dev-python/twisted-core[${PYTHON_USEDEP}]
+               dev-python/twisted[${PYTHON_USEDEP}]
                dev-python/zope-interface[${PYTHON_USEDEP}]
        )
        xdmf2? ( sci-libs/xdmf2 )
@@ -247,6 +248,7 @@ src_configure() {
                        -DVTK_PYTHON_INCLUDE_DIR="$(python_get_includedir)"
                        -DVTK_PYTHON_LIBRARY="$(python_get_library_path)"
                        -DVTK_PYTHON_SETUP_ARGS:STRING="--prefix=${EPREFIX} --root=${D}"
+                       -DVTK_USE_SYSTEM_SIX=ON
                )
        fi