[gmsh] 03/05: Relax check of python versions.

Anton Gladky gladk at moszumanska.debian.org
Wed May 27 04:25:36 UTC 2015


This is an automated email from the git hooks/post-receive script.

gladk pushed a commit to branch master
in repository gmsh.

commit a7dd03b2aa36fb112250c6aaf4e91337bfe815ea
Author: Anton Gladky <gladk at debian.org>
Date:   Tue May 26 22:01:51 2015 +0200

    Relax check of python versions.
---
 debian/patches/120_relax_python_vers.patch | 17 +++++++++++++++++
 debian/patches/series                      |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/120_relax_python_vers.patch b/debian/patches/120_relax_python_vers.patch
new file mode 100644
index 0000000..845ee82
--- /dev/null
+++ b/debian/patches/120_relax_python_vers.patch
@@ -0,0 +1,17 @@
+Description: relax check of python libraries
+Author: Anton Gladky <gladk at debian.org>
+Last-Update: 2015-05-26
+
+Index: gmsh-2.9.3-source/CMakeLists.txt
+===================================================================
+--- gmsh-2.9.3-source.orig/CMakeLists.txt
++++ gmsh-2.9.3-source/CMakeLists.txt
+@@ -1181,7 +1181,7 @@ endif(HAVE_ZLIB AND ENABLE_COMPRESSED_IO
+ if(ENABLE_WRAP_PYTHON)
+   find_package(SWIG)
+   find_package(PythonLibs)
+-  find_package(PythonInterp ${PYTHONLIBS_VERSION_STRING} EXACT)
++  find_package(PythonInterp)
+   if(SWIG_FOUND AND PYTHONLIBS_FOUND)
+     message(STATUS "Found SWIG version " ${SWIG_VERSION})
+     string(SUBSTRING ${SWIG_VERSION} 0 1 SWIG_MAJOR_VERSION)
diff --git a/debian/patches/series b/debian/patches/series
index 7aac688..fcbd1ae 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -9,3 +9,4 @@
 90_fix_java_wrapper_compilation.patch
 100_enable_tetgen.patch
 110_fix_cmake_hdf5.patch
+120_relax_python_vers.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/gmsh.git



More information about the debian-science-commits mailing list