[Pkg-libvirt-commits] [libguestfs] 03/05: Don't build bindings for Python 2.5, Python 3

Hilko Bengen bengen at moszumanska.debian.org
Sun Dec 22 18:14:08 UTC 2013


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

bengen pushed a commit to annotated tag debian/1%1.18.1-1+deb7u2_bpo60+1
in repository libguestfs.

commit 6874e95ed626238c1ca0c06af2a4b18f33313217
Author: Hilko Bengen <bengen at debian.org>
Date:   Wed May 8 01:03:22 2013 +0200

    Don't build bindings for Python 2.5, Python 3
---
 debian/control | 2 +-
 debian/rules   | 7 +++++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index c69d5ef..5fd2183 100644
--- a/debian/control
+++ b/debian/control
@@ -15,7 +15,7 @@ Build-Depends: debhelper (>= 7.0.50~), autotools-dev, aptitude,
   genisoimage, pkg-config,
   erlang-dev,
   dh-ocaml, ocaml, ocaml-findlib, libpcre-ocaml-dev, libgettext-ocaml-dev,
-  python (>= 2.6.6-3~), python-all-dev (>= 2.6.6-3~), python3-all-dev,
+  python (>= 2.6.6-3~), python-all-dev (>= 2.6.6-3~),
   default-jdk,
   gem2deb, rake,
   libtest-pod-coverage-perl, libextutils-command-perl, libintl-perl, libtest-pod-perl,
diff --git a/debian/rules b/debian/rules
index 646b925..2ca8224 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,7 @@
 
 # export DH_VERBOSE=1
 
-PYTHONS        := $(filter-out python2.5, $(shell pyversions --installed; py3versions --installed))
+PYTHONS        := $(filter-out python2.5, $(shell pyversions --installed))
 PYTHON_DEFAULT := $(shell pyversions --default)
 RUBIES         := $(shell find /usr/bin/ -name ruby1\* | xargs -n1 readlink -f | xargs -n1 basename)
 RUBY_DEFAULT   := $(shell which ruby | xargs readlink -f | xargs basename)
@@ -131,7 +131,10 @@ override_dh_install:
 override_dh_makeshlibs:
 	dh_makeshlibs -X/usr/lib/jni
 
+override_dh_python2:
+	dh_python2 -V 2.6-
+
 %:
 	dh $@ \
 	   --without=python-support \
-	   --with=autotools-dev,ocaml,python2,python3,bash-completion,ruby
+	   --with=autotools-dev,ocaml,python2,bash-completion,ruby

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



More information about the Pkg-libvirt-commits mailing list