gnu: vigra: Build without numpy support.
* gnu/packages/image.scm (vigra)[inputs]: Remove python-numpy. [arguments]: Add configure-flag to build without vigranumpy.master
parent
105b3689d2
commit
94b76dc85c
|
@ -1211,7 +1211,7 @@ graphics image formats like PNG, BMP, JPEG, TIFF and others.")
|
||||||
("libtiff" ,libtiff)
|
("libtiff" ,libtiff)
|
||||||
("openexr" ,openexr-2)
|
("openexr" ,openexr-2)
|
||||||
("python" ,python-wrapper)
|
("python" ,python-wrapper)
|
||||||
("python-numpy" ,python-numpy)
|
;("python-numpy" ,python-numpy)
|
||||||
("zlib" ,zlib)))
|
("zlib" ,zlib)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("doxygen" ,doxygen)
|
`(("doxygen" ,doxygen)
|
||||||
|
@ -1238,6 +1238,8 @@ graphics image formats like PNG, BMP, JPEG, TIFF and others.")
|
||||||
"/lib/python"
|
"/lib/python"
|
||||||
,(version-major+minor (package-version python))
|
,(version-major+minor (package-version python))
|
||||||
"/site-packages")
|
"/site-packages")
|
||||||
|
;; Vigranumpy isn't compatible with numpy >= 1.20.
|
||||||
|
"-DWITH_VIGRANUMPY=0"
|
||||||
;; OpenEXR is not enabled by default.
|
;; OpenEXR is not enabled by default.
|
||||||
"-DWITH_OPENEXR=1"
|
"-DWITH_OPENEXR=1"
|
||||||
;; Fix rounding error on 32-bit machines
|
;; Fix rounding error on 32-bit machines
|
||||||
|
|
Reference in New Issue