diff options
author | Colin Watson <cjwatson@debian.org> | 2019-08-03 11:00:08 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2019-08-03 11:00:08 +0100 |
commit | e3a21e4f21524bcf2301310588268f9241013aa0 (patch) | |
tree | 113930c003641794c9dd12be994e8d68e4a767f8 | |
parent | f153e2cd18054a579ca9d4ff38050c10063cd7fd (diff) |
Drop Python 2 support
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/control | 12 | ||||
-rwxr-xr-x | debian/rules | 2 |
3 files changed, 3 insertions, 12 deletions
diff --git a/debian/changelog b/debian/changelog index 3a533c2..037934d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,7 @@ python-tblib (1.4.0-2) UNRELEASED; urgency=medium [ Colin Watson ] * Build-depend on python*-twisted for the test suite (closes: #928727). + * Drop Python 2 support. -- Ondřej Nový <onovy@debian.org> Fri, 19 Jul 2019 23:46:13 +0200 diff --git a/debian/control b/debian/control index 46531ae..c4c25a8 100644 --- a/debian/control +++ b/debian/control @@ -4,21 +4,11 @@ Priority: optional Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org> Uploaders: Colin Watson <cjwatson@debian.org> Standards-Version: 3.9.8 -Build-Depends: debhelper-compat (= 9), dh-python, python (>= 2.6.6-3~), python-all, python3 (>= 3.1.2-8~), python3-all, python-setuptools, python3-setuptools, python-six, python3-six, python-pytest, python3-pytest, python-twisted, python3-twisted +Build-Depends: debhelper-compat (= 9), dh-python, python3 (>= 3.1.2-8~), python3-all, python3-setuptools, python3-six, python3-pytest, python3-twisted Homepage: https://github.com/ionelmc/python-tblib Vcs-Git: https://salsa.debian.org/python-team/modules/python-tblib.git Vcs-Browser: https://salsa.debian.org/python-team/modules/python-tblib -Package: python-tblib -Architecture: all -Multi-Arch: foreign -Depends: ${misc:Depends}, ${python:Depends}, python-six -Description: Python 2 traceback fiddling library - This library allows pickling tracebacks so that they can be passed across - process boundaries. The traceback objects that come out are stripped of - some attributes such as variables, but it is at least possible to raise - exceptions with those tracebacks or print them. - Package: python3-tblib Architecture: all Multi-Arch: foreign diff --git a/debian/rules b/debian/rules index e90fd75..dfd71ab 100755 --- a/debian/rules +++ b/debian/rules @@ -5,7 +5,7 @@ export PYBUILD_TEST_PYTEST := 1 export PYBUILD_TEST_ARGS := -vv tests {dir}/README.rst %: - dh $@ --with python2,python3 --buildsystem=pybuild + dh $@ --with python3 --buildsystem=pybuild override_dh_auto_test: PYTHONPATH=src dh_auto_test |