[sagemath] 01/01: Make searching for Python less fragile (#871794)

Julien Puydt julien.puydt at laposte.net
Sat Aug 12 08:48:17 UTC 2017


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

jpuydt-guest pushed a commit to branch master
in repository sagemath.

commit d516e1bda2b991675ae2b20f14b1618a51819f3e
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Sat Aug 12 10:48:12 2017 +0200

    Make searching for Python less fragile (#871794)
---
 debian/changelog           | 3 +++
 debian/pruner/configure.ac | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 48b0b65..ceaea34 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -45,6 +45,9 @@ sagemath (8.0-0~sage1) UNRELEASED; urgency=medium
   * New patches:
     - u1-version-giac-1.2.3.57.patch
 
+  [ Julien Puydt ]
+  * Make searching for python check only the major version (Closes: #871794).
+
  -- Tobias Hansen <thansen at debian.org>  Mon, 24 Jul 2017 21:11:28 +0100
 
 sagemath (7.6-3) unstable; urgency=medium
diff --git a/debian/pruner/configure.ac b/debian/pruner/configure.ac
index 20b88b9..6abcd2e 100644
--- a/debian/pruner/configure.ac
+++ b/debian/pruner/configure.ac
@@ -292,10 +292,10 @@ AC_CHECK_HEADER(pynac/version.h, HAS_PYNAC="True", HAS_PYNAC="False")
 AC_LANG_POP([C++])
 AC_SUBST(HAS_PYNAC)
 
-PKG_CHECK_MODULES(python, python-2.7, [HAS_PYTHON='True'], [HAS_PYTHON='False'])
+PKG_CHECK_MODULES(python, python2, [HAS_PYTHON='True'], [HAS_PYTHON='False'])
 AC_SUBST(HAS_PYTHON)
 
-PKG_CHECK_MODULES(python3, python-3.5, [HAS_PYTHON3='True'], [HAS_PYTHON3='False'])
+PKG_CHECK_MODULES(python3, python3, [HAS_PYTHON3='True'], [HAS_PYTHON3='False'])
 AC_SUBST(HAS_PYTHON3)
 
 AC_CHECK_PROG(HAS_R, R, "True", "False")

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



More information about the debian-science-commits mailing list