summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/avogadro/files/avogadro-1.2.0-numpy.patch')
-rw-r--r--sci-chemistry/avogadro/files/avogadro-1.2.0-numpy.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sci-chemistry/avogadro/files/avogadro-1.2.0-numpy.patch b/sci-chemistry/avogadro/files/avogadro-1.2.0-numpy.patch
new file mode 100644
index 000000000000..4869fa4ea79d
--- /dev/null
+++ b/sci-chemistry/avogadro/files/avogadro-1.2.0-numpy.patch
@@ -0,0 +1,13 @@
+diff --git a/cmake/modules/FindNumpy.cmake b/cmake/modules/FindNumpy.cmake
+index b348418..49ba206 100644
+--- a/cmake/modules/FindNumpy.cmake
++++ b/cmake/modules/FindNumpy.cmake
+@@ -10,7 +10,7 @@
+ #endif (NUMPY_INCLUDE_DIR)
+
+ EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c
+- "import numpy; print numpy.get_include()"
++ "import numpy; print (numpy.get_include())"
+ OUTPUT_VARIABLE NUMPY_INCLUDE_DIR
+ OUTPUT_STRIP_TRAILING_WHITESPACE)
+