[freecad] 03/04: Use only Python 2.7.

Anton Gladky gladk at moszumanska.debian.org
Mon Nov 3 21:36:38 UTC 2014


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

gladk pushed a commit to branch wheezy-backports
in repository freecad.

commit ca224af6228e23d41df50b332dcda382a53b2466
Author: Anton Gladky <gladk at debian.org>
Date:   Mon Nov 3 21:21:14 2014 +0100

    Use only Python 2.7.
---
 debian/patches/series                            |  3 ++-
 debian/patches/use_only_2.7_python_version.patch | 16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/debian/patches/series b/debian/patches/series
index e067e40..8d71b43 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,5 +5,6 @@ do_not_install_binary_examples.patch
 exclude_ply.patch
 disable_memory_check.patch
 unittest_to_stdout.patch
-fix_clang_compilation.patch
 0001-Disable-automatic-DXF-library-download.patch
+fix_clang_compilation.patch
+use_only_2.7_python_version.patch
diff --git a/debian/patches/use_only_2.7_python_version.patch b/debian/patches/use_only_2.7_python_version.patch
new file mode 100644
index 0000000..f607b8b
--- /dev/null
+++ b/debian/patches/use_only_2.7_python_version.patch
@@ -0,0 +1,16 @@
+Description: Use only Python 2.7
+Author: Anton Gladky <gladk at debian.org>
+Forwarded: not-needed
+Last-Update: 2014-11-03
+
+--- freecad-0.14.3702+dfsg.orig/CMakeLists.txt
++++ freecad-0.14.3702+dfsg/CMakeLists.txt
+@@ -371,7 +371,7 @@ else(FREECAD_LIBPACK_USE)
+ 
+ 
+     #http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677598
+-    set(Python_ADDITIONAL_VERSIONS "2.3" "2.4" "2.5" "2.6" "2.7" "2.8" "2.9")
++    set(Python_ADDITIONAL_VERSIONS "2.7")
+     find_package(PythonInterp REQUIRED)
+     IF (NOT DEFINED PYTHON_VERSION_STRING)
+         find_package(PythonLibs REQUIRED)

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



More information about the debian-science-commits mailing list