diff --git a/debian/changelog b/debian/changelog index d92b60813abf8c14f6c2b9ce40dac5495b5dcfa7..65380ce1f93c42cd23ca1d4d4cc2f3fac8df5693 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 4c9b060b89f824b97f6e6754d97557fe430f4f75..396f7880113546b00d501ae0690ef864df71e755 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 bcc4f75bee1021b8a0f373ce624e4247e1679569..d201e7a4096af8e998846d53621abd82d06e0f3b 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 \