[magics] 04/63: WIP: update python3 patch
Alastair McKinstry
mckinstry at moszumanska.debian.org
Fri Mar 24 10:41:41 UTC 2017
This is an automated email from the git hooks/post-receive script.
mckinstry pushed a commit to branch debian/master
in repository magics.
commit ee1935555a78ca67e47c3fdbe6f05b597e6f91e7
Author: Alastair McKinstry <mckinstry at debian.org>
Date: Tue May 19 19:52:01 2015 +0100
WIP: update python3 patch
---
debian/patches/python3.patch | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/debian/patches/python3.patch b/debian/patches/python3.patch
index e8935d1..b20a78f 100644
--- a/debian/patches/python3.patch
+++ b/debian/patches/python3.patch
@@ -1006,7 +1006,7 @@ Index: magics++-2.24.4/cmake/FindNumPy3.cmake
===================================================================
--- /dev/null
+++ magics++-2.24.4/cmake/FindNumPy3.cmake
-@@ -0,0 +1,101 @@
+@@ -0,0 +1,103 @@
+# - Find the NumPy3 libraries
+# This module finds if NumPy3 is installed, and sets the following variables
+# indicating where it is.
@@ -1049,9 +1049,11 @@ Index: magics++-2.24.4/cmake/FindNumPy3.cmake
+
+# Finding NumPy3 involves calling the Python3 interpreter
+if(NumPy3_FIND_REQUIRED)
-+ find_package(Python3Interp REQUIRED)
++ set(Python_ADDITIONAL_VERSIONS 3.4)
++ find_package(PythonInterp REQUIRED)
+else()
-+ find_package(Python3Interp)
++ set(Python_ADDITIONAL_VERSIONS 3.4)
++ find_package(PythonInterp)
+endif()
+
+if(NOT PYTHON3INTERP_FOUND)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/magics.git
More information about the debian-science-commits
mailing list