[Python-modules-commits] [git-review] 10/11: Switch to Python 3

Ondrej Novy onovy at debian.org
Sun Jan 21 13:05:00 UTC 2018


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

onovy pushed a commit to branch master
in repository git-review.

commit e208c1270ccb1544125e8c2dbc15ba0b481c0d9c
Author: Ondřej Nový <onovy at debian.org>
Date:   Sun Jan 21 14:03:06 2018 +0100

    Switch to Python 3
---
 debian/changelog | 1 +
 debian/control   | 8 ++++----
 debian/rules     | 3 ++-
 3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7ab2789..5e4ff3a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ git-review (1.26.0-1) UNRELEASED; urgency=medium
   * Change priority from extra to optional
   * Standards-Version is 4.1.3 now
   * Add simple autopkgtests
+  * Switch to Python 3
 
  -- Ondřej Nový <onovy at debian.org>  Sun, 21 Jan 2018 13:35:57 +0100
 
diff --git a/debian/control b/debian/control
index 36b169b..268e8fe 100644
--- a/debian/control
+++ b/debian/control
@@ -8,9 +8,9 @@ Uploaders: Ghe Rivero <ghe at debian.org>,
            Allison Randal <allison at lohutok.net>
 Build-Depends-Indep: debhelper (>= 11),
                      dh-python,
-                     python-all,
-                     python-pbr,
-                     python-setuptools
+                     python3-all,
+                     python3-pbr,
+                     python3-setuptools
 Standards-Version: 4.1.3
 Homepage: http://docs.openstack.org/infra/git-review/
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/git-review.git
@@ -20,7 +20,7 @@ Package: git-review
 Architecture: all
 Depends: git,
          ${misc:Depends},
-         ${python:Depends},
+         ${python3:Depends},
 Description: git command for submitting branches to Gerrit
  git-review is a tool that helps submitting git branches to gerrit for review.
  It is used extensively for the development and maintenance of OpenStack, but
diff --git a/debian/rules b/debian/rules
index 3af9427..76bade4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,9 @@
 #!/usr/bin/make -f
 
 export PYBUILD_NAME=git-review
+
 %:
-	dh $@ --with python2 --buildsystem=pybuild
+	dh $@ --with python3 --buildsystem=pybuild
 
 # skip tests since they require a local gerrit
 override_dh_auto_test:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/git-review.git



More information about the Python-modules-commits mailing list