[vim] 01/05: Switch Python language bindings from 2 to 3

James McCoy jamessan at debian.org
Wed Aug 31 04:00:39 UTC 2016


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

jamessan pushed a commit to branch debian/sid
in repository vim.

commit 6e543c265292524b545358c0def3f9f45d6744ae
Author: James McCoy <jamessan at debian.org>
Date:   Mon Aug 8 01:09:33 2016 -0400

    Switch Python language bindings from 2 to 3
    
    Closes: #729924
    Signed-off-by: James McCoy <jamessan at debian.org>
---
 debian/changelog | 2 ++
 debian/control   | 2 +-
 debian/rules     | 6 +++---
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c96ef50..f3fbe49 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ vim (2:7.4.2181-1) UNRELEASED; urgency=medium
           (Closes: #827634)
       - runtime/syntax/rst.vim:
         + Use underline for emphasized text.  (Closes: #547537)
+  * Switch from Python2 to Python3 language bindings.  All packaged
+    addons which use Python support both 2 & 3.  (Closes: #729924)
 
  -- James McCoy <jamessan at debian.org>  Sun, 07 Aug 2016 23:46:52 -0400
 
diff --git a/debian/control b/debian/control
index 96a8b68..8e9dd81 100644
--- a/debian/control
+++ b/debian/control
@@ -14,7 +14,7 @@ Build-Depends: libacl1-dev, libgpmg1-dev [linux-any], autoconf,
  libgtk2.0-dev, libgtk-3-dev, libxaw7-dev, libxt-dev, libxpm-dev, libgnomeui-dev,
 # B-D for language interpreters
 # Update d/rules when ruby version changes
- libperl-dev, tcl-dev, python-dev, ruby, ruby-dev, lua5.2, liblua5.2-dev
+ libperl-dev, tcl-dev, python3-dev, ruby, ruby-dev, lua5.2, liblua5.2-dev
 # ruby1.8{,-dev} Provides: ruby{,-dev} which can cause breakage on buildds if
 # ruby/ruby1.8-dev or ruby1.8/ruby-dev pairs get installed due to a mismatch in
 # the ruby binary version and the library version
diff --git a/debian/rules b/debian/rules
index 4050ac1..a291a06 100755
--- a/debian/rules
+++ b/debian/rules
@@ -106,7 +106,7 @@ NOINTERPFLAGS:=--disable-luainterp
 NOINTERPFLAGS+=--disable-mzschemeinterp
 NOINTERPFLAGS+=--disable-perlinterp
 ifeq ($(DEB_VENDOR),Ubuntu)
-	NOINTERPFLAGS+=--enable-pythoninterp --with-python-config-dir=$(shell python-config --configdir)
+	NOINTERPFLAGS+=--enable-python3interp --with-python3-config-dir=$(shell python3-config --configdir)
 else
 	NOINTERPFLAGS+=--disable-pythoninterp
 endif
@@ -117,8 +117,8 @@ NOINTERPFLAGS+=--disable-tclinterp
 ALLINTERPFLAGS:=--enable-luainterp
 ALLINTERPFLAGS+=--disable-mzschemeinterp
 ALLINTERPFLAGS+=--enable-perlinterp
-ALLINTERPFLAGS+=--enable-pythoninterp --with-python-config-dir=$(shell python-config --configdir)
-ALLINTERPFLAGS+=--disable-python3interp
+ALLINTERPFLAGS+=--enable-python3interp --with-python3-config-dir=$(shell python3-config --configdir)
+ALLINTERPFLAGS+=--disable-pythoninterp
 ALLINTERPFLAGS+=--enable-rubyinterp
 ALLINTERPFLAGS+=--enable-tclinterp
 ALLINTERPFLAGS+=--with-tclsh=/usr/bin/tclsh

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vim/vim.git



More information about the pkg-vim-maintainers mailing list