gnu: vigra: Build without numpy support.

* gnu/packages/image.scm (vigra)[inputs]: Remove python-numpy.
[arguments]: Add configure-flag to build without vigranumpy.
This commit is contained in:
Efraim Flashner 2021-11-17 17:50:04 +02:00
parent 105b3689d2
commit 94b76dc85c
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1211,7 +1211,7 @@ (define-public vigra
("libtiff" ,libtiff)
("openexr" ,openexr-2)
("python" ,python-wrapper)
("python-numpy" ,python-numpy)
;("python-numpy" ,python-numpy)
("zlib" ,zlib)))
(native-inputs
`(("doxygen" ,doxygen)
@ -1238,6 +1238,8 @@ (define-public vigra
"/lib/python"
,(version-major+minor (package-version python))
"/site-packages")
;; Vigranumpy isn't compatible with numpy >= 1.20.
"-DWITH_VIGRANUMPY=0"
;; OpenEXR is not enabled by default.
"-DWITH_OPENEXR=1"
;; Fix rounding error on 32-bit machines