From: Yaroslav Halchenko <debian@onerussian.com>
Subject: Remove python3-* package spec/rules for backport on wheezy

  To be picked up by backport-dsc (neurodebian-dev pkg) while
  backporting for NeuroDebian archive.  Backport is needed for
  datalad pkg

Origin: NeuroDebian
Last-Update: 2016-04-28

diff --git a/debian/control b/debian/control
index 2b313dc..ec8124f 100644
--- a/debian/control
+++ b/debian/control
@@ -11,16 +11,10 @@ Build-Depends: debhelper (>= 9),
                python-all,
                python-setuptools,
                python-sphinx,
-               python3-all,
-               python3-setuptools,
 Build-Depends-Indep: python-gitdb (>= 0.6.4),
                      python-mock,
                      python-nose,
                      python-smmap (>= 0.8.3~),
-                     python3-gitdb (>= 0.6.4),
-                     python3-mock,
-                     python3-nose,
-                     python3-smmap (>= 0.8.3~),
 Standards-Version: 3.9.8
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-git.git
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-git.git
@@ -42,21 +36,6 @@ Description: Python library to interact with Git repositories - Python 2.7
  .
  This package provides the Python 2.7 module.
 
-Package: python3-git
-Architecture: all
-Depends: git (>= 1:1.7) | git-core (>= 1:1.5.3.7),
-         python3-gitdb (>= 0.6.4),
-         ${misc:Depends},
-         ${python3:Depends},
-Suggests: python-git-doc,
-XB-Python-Version: ${python3:Versions}
-Description: Python library to interact with Git repositories - Python 3.x
- python-git provides object model access to a Git repository, so Python can be
- used to manipulate it. Repository objects can be opened or created, which can
- then be traversed to find parent commit(s), trees, blobs, etc.
- .
- This package provides the Python 3.x module.
-
 Package: python-git-doc
 Section: doc
 Architecture: all
diff --git a/debian/rules b/debian/rules
index f94ceb1..a129a83 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,12 +2,12 @@
 # -*- makefile -*-
 
 PYTHONS:=$(shell pyversions -vr)
-PYTHON3S:=$(shell py3versions -vr)
+PYTHON3S:=
 
 export HOME=$(CURDIR)/build/test
 
 %:
-	dh $@ --with python2,python3,sphinxdoc
+	dh $@ --with python2,sphinxdoc
 
 override_dh_sphinxdoc:
 ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
