From dba092b965763abc1f2551d8dd174bbc750b76cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Nov=C3=BD?= <onovy@debian.org> Date: Thu, 25 Jul 2019 01:44:41 +0200 Subject: [PATCH] Drop Python 2 support. --- debian/changelog | 1 + debian/control | 16 ---------------- debian/rules | 2 +- 3 files changed, 2 insertions(+), 17 deletions(-) diff --git a/debian/changelog b/debian/changelog index d92b608..65380ce 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,7 @@ python-pygerrit2 (2.0.4-2) UNRELEASED; urgency=medium * d/control: Set Vcs-* to salsa.debian.org * Convert git repository from git-dpm to gbp layout * Use debhelper-compat instead of debian/compat. + * Drop Python 2 support. -- Ondřej Nový <onovy@debian.org> Tue, 13 Feb 2018 10:04:15 +0100 diff --git a/debian/control b/debian/control index 4c9b060..396f788 100644 --- a/debian/control +++ b/debian/control @@ -7,14 +7,10 @@ Uploaders: Build-Depends: debhelper-compat (= 11), dh-python, - python-all, - python-pbr (>= 0.8.2), - python-setuptools, python3-all, python3-pbr (>= 0.8.2), python3-setuptools, Build-Depends-Indep: - python-requests (>= 2.10.0), python3-requests (>= 2.10.0), Standards-Version: 4.1.3 Testsuite: autopkgtest-pkg-python @@ -22,18 +18,6 @@ Homepage: https://github.com/dpursehouse/pygerrit2 Vcs-Browser: https://salsa.debian.org/python-team/modules/python-pygerrit2 Vcs-Git: https://salsa.debian.org/python-team/modules/python-pygerrit2.git -Package: python-pygerrit2 -Architecture: all -Multi-Arch: foreign -Depends: - ${misc:Depends}, - ${python:Depends}, -Description: library to interact with Gerrit via the REST API - Python 2.7 - pygerrit2 is simple Python library to provide interface to interact with - Gerrit Code Review via it's REST API. - . - This package contains the Python 2.7 module. - Package: python3-pygerrit2 Architecture: all Multi-Arch: foreign diff --git a/debian/rules b/debian/rules index bcc4f75..d201e7a 100755 --- a/debian/rules +++ b/debian/rules @@ -6,7 +6,7 @@ export PBR_VERSION=$(DEB_VERSION_UPSTREAM) export PYBUILD_NAME=pygerrit2 %: - dh $@ --with python2,python3 --buildsystem=pybuild + dh $@ --with python3 --buildsystem=pybuild override_dh_auto_test: PYBUILD_SYSTEM=custom \ -- GitLab