[Pkg-virtualbox-commits] [virtualbox] 03/05: Try Python3 to experimental

Gianfranco Costamagna locutusofborg at moszumanska.debian.org
Fri Oct 21 16:51:30 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 f4cd95fded4754ffccecb9eea27b8020150e48bc
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date:   Fri Oct 21 17:54:42 2016 +0200

    Try Python3 to experimental
---
 debian/control        | 4 ++--
 debian/patches/series | 2 +-
 debian/rules          | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/debian/control b/debian/control
index 217c605..786b87c 100644
--- a/debian/control
+++ b/debian/control
@@ -56,7 +56,7 @@ Build-Depends: bzip2,
                lynx-cur,
                makeself,
                module-assistant,
-               python-dev (>= 2.6.6-3~),
+               python3-dev,
                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},
-         ${python:Depends},
+         ${python3:Depends},
          ${shlibs:Depends}
 Recommends: virtualbox-qt (= ${binary:Version}), ${shlibs:Recommends}
 Suggests: vde2, virtualbox-guest-additions-iso
diff --git a/debian/patches/series b/debian/patches/series
index 421d3ff..237597e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -15,4 +15,4 @@
 35-libvdeplug-soname.patch
 36-fix-vnc-version-string.patch
 fix-build.patch
-#python3.patch
+python3.patch
diff --git a/debian/rules b/debian/rules
index 935c881..4689b64 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 python2,dkms,systemd
+	dh $@ --with python3,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 && \
-	    python ./vboxapisetup.py install --root $(CURDIR)/debian/$(sname)
+	    python3 ./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