From c284291168c5f607eea253037d30ec7828a4d3c0 Mon Sep 17 00:00:00 2001
From: Scott Kitterman <scott@kitterman.com>
Date: Sat, 22 Oct 2016 12:56:05 -0400
Subject: [PATCH] Fix FTCBFS: Annotate python build dependencies with :any
 (Closes: #841682)

---
 debian/changelog  | 7 +++++++
 debian/control.in | 4 ++--
 debian/rules      | 2 +-
 3 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 0ef4727..76b3fa2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+python-defaults (2.7.11-2.1) UNRELEASED; urgency=medium
+
+  [ Helmut Grohne ]
+  * Fix FTCBFS: Annotate python build dependencies with :any (Closes: #841682)
+
+ -- Scott Kitterman <scott@kitterman.com>  Sat, 22 Oct 2016 12:54:48 -0400
+
 python-defaults (2.7.11-2) unstable; urgency=medium
 
   [ Scott Kitterman ]
diff --git a/debian/control.in b/debian/control.in
index 019bc6b..e41eed5 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -5,8 +5,8 @@ Maintainer: Matthias Klose <doko@debian.org>
 Uploaders: Scott Kitterman <scott@kitterman.com>, Piotr Ożarowski <piotr@debian.org>, Barry Warsaw <barry@debian.org>
 Build-Depends: debhelper (>= 9~), @bd_i586@,
   lsb-release,
-  python-all,
-  @PVER@ (>= @PREVVER@),
+  python-all:any,
+  @PVER@:any (>= @PREVVER@),
   debiandoc-sgml,
 Standards-Version: 3.9.8
 Homepage: http://www.python.org/
diff --git a/debian/rules b/debian/rules
index 487d10d..5f6ca97 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,7 +30,7 @@ PREVVER := 2.7.11-11~
 ma_allowed	= yes
 
 ifeq (,$(filter $(distrelease),lenny etch squeeze wheezy lucid maverick natty oneiric precise quantal raring saucy trusty))
-  bd_i586 = dpkg-dev (>= 1.17.11), python2.7 (>= 2.7.11-11)
+  bd_i586 = dpkg-dev (>= 1.17.11), python2.7:any (>= 2.7.11-11)
 endif
 
 
-- 
GitLab