gnu: vtk: Wrap python modules.

* gnu/packages/image-processing.scm (vtk)[inputs]: Add python.
[arguments]: Add VTK_WRAP_PYTHON and VTK_PYTHON_VERSION flags.
This commit is contained in:
Paul Garlick 2021-06-01 10:12:08 +01:00
parent fd0650eebe
commit d769fcd683
No known key found for this signature in database
GPG key ID: AAC7E891896B568A

View file

@ -16,6 +16,7 @@
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2021 Andy Tai <atai@atai.org>
;;; Copyright © 2021 Ekaitz Zarraga <ekaitz@elenq.tech>
;;; Copyright © 2021 Paul Garlick <pgarlick@tourbillion-technology.com>
;;;
;;; This file is part of GNU Guix.
;;;
@ -298,6 +299,8 @@ (define-public vtk
"-DVTK_MODULE_USE_EXTERNAL_VTK_theora=ON"
"-DVTK_MODULE_USE_EXTERNAL_VTK_tiff=ON"
"-DVTK_MODULE_USE_EXTERNAL_VTK_zlib=ON"
"-DVTK_WRAP_PYTHON=ON"
"-DVTK_PYTHON_VERSION:STRING=3"
)
#:phases
(modify-phases %standard-phases
@ -328,6 +331,7 @@ (define-public vtk
("netcdf" ,netcdf)
("png" ,libpng)
("proj" ,proj.4)
("python", python)
;("pugixml" ,pugixml)
("sqlite" ,sqlite)
("tiff" ,libtiff)
@ -871,6 +875,7 @@ (define-public insight-toolkit
;; variable in the installed CMake files. This is necessary as other
;; packages using insight-toolkit could not be configured otherwise.
"-DGTEST_ROOT=gtest")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'do-not-tune