From 94b76dc85ca3098bf4ceb0f5b884b5708b9e8134 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 17 Nov 2021 17:50:04 +0200 Subject: gnu: vigra: Build without numpy support. * gnu/packages/image.scm (vigra)[inputs]: Remove python-numpy. [arguments]: Add configure-flag to build without vigranumpy. --- gnu/packages/image.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index ed846d7141..6b07b67e9d 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -1211,7 +1211,7 @@ graphics image formats like PNG, BMP, JPEG, TIFF and others.") ("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 @@ graphics image formats like PNG, BMP, JPEG, TIFF and others.") "/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 -- cgit v1.2.3