[Pkg-virtualbox-commits] [virtualbox] 01/05: Revert "Revert "Revert "Commit Python3 switch"""

Gianfranco Costamagna locutusofborg at moszumanska.debian.org
Fri Oct 21 16:51:29 UTC 2016


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

locutusofborg pushed a commit to branch master
in repository virtualbox.

commit e2f37639fe24beb86d9366c8bc215dd6da87040f
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date:   Fri Oct 21 17:27:42 2016 +0200

    Revert "Revert "Revert "Commit Python3 switch"""
    
    This reverts commit 812ae530c2c50373864ea6b2243f922a9a2c78c8.
---
 debian/changelog | 1 -
 debian/control   | 4 ++--
 debian/rules     | 4 ++--
 3 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index ecb8369..64e0e2b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,7 +24,6 @@ virtualbox (5.1.8-dfsg-1) unstable; urgency=medium
   * New upstream release.
     - builds with new openssl 1.1 (Closes: #828593)
     - fix double snapshot deletion crash (Closes: #838766)
-  * Switch to Python3 (LP: #1528016, Closes: #830878)
 
  -- Gianfranco Costamagna <locutusofborg at debian.org>  Wed, 19 Oct 2016 00:12:38 +0200
 
diff --git a/debian/control b/debian/control
index 786b87c..217c605 100644
--- a/debian/control
+++ b/debian/control
@@ -56,7 +56,7 @@ Build-Depends: bzip2,
                lynx-cur,
                makeself,
                module-assistant,
-               python3-dev,
+               python-dev (>= 2.6.6-3~),
                texlive-fonts-extra,
                texlive-fonts-recommended,
                texlive-latex-extra,
@@ -92,7 +92,7 @@ Depends: adduser,
          procps,
          virtualbox-dkms (>= ${source:Version}) | virtualbox-source (>= ${source:Version}) | virtualbox-modules,
          ${misc:Depends},
-         ${python3:Depends},
+         ${python:Depends},
          ${shlibs:Depends}
 Recommends: virtualbox-qt (= ${binary:Version}), ${shlibs:Recommends}
 Suggests: vde2, virtualbox-guest-additions-iso
diff --git a/debian/rules b/debian/rules
index 4689b64..935c881 100755
--- a/debian/rules
+++ b/debian/rules
@@ -33,7 +33,7 @@ export DEB_BUILD_HARDENING_BINDNOW=0
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie,-format,-bindnow
 
 %:
-	dh $@ --with python3,dkms,systemd
+	dh $@ --with python2,dkms,systemd
 
 override_dh_auto_configure:
 	@echo Building for $(DIST_RELEASE)
@@ -82,7 +82,7 @@ override_dh_auto_install:
 
 	export VBOX_INSTALL_PATH=$(INSTALL_PATH) && \
 	    cd out/bin/sdk/installer && \
-	    python3 ./vboxapisetup.py install --root $(CURDIR)/debian/$(sname)
+	    python ./vboxapisetup.py install --root $(CURDIR)/debian/$(sname)
 
 	sed -e 's/CVERSION/$(upstreamversion)/g' < debian/$(gdkms).links.in > debian/$(gdkms).links
 	sed -e 's/CVERSION/$(upstreamversion)/g' < debian/$(pdkms).links.in > debian/$(pdkms).links

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



More information about the Pkg-virtualbox-commits mailing list