diff options
author | Sandro Tosi <morph@debian.org> | 2020-04-14 09:52:57 -0400 |
---|---|---|
committer | Sandro Tosi <morph@debian.org> | 2020-04-14 09:52:57 -0400 |
commit | 4188b7da0b480bc9fa04bcf113bad4662a3481dc (patch) | |
tree | 9671fa9d08e40c716bb37c2e8da4cccfe2ee349a | |
parent | 59337ff786ee224e07ea50d1cee64ebbac49729a (diff) |
Drop python2 support; Closes: #937275
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/control | 15 | ||||
-rwxr-xr-x | debian/rules | 11 |
3 files changed, 7 insertions, 25 deletions
diff --git a/debian/changelog b/debian/changelog index e495ec4..89dcb66 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +pexpect (4.6.0-3) UNRELEASED; urgency=medium + + * Drop python2 support; Closes: #937275 + + -- Sandro Tosi <morph@debian.org> Tue, 14 Apr 2020 09:50:18 -0400 + pexpect (4.6.0-2) unstable; urgency=medium [ Ondřej Nový ] diff --git a/debian/control b/debian/control index 62d2c8c..8717640 100644 --- a/debian/control +++ b/debian/control @@ -3,8 +3,6 @@ Section: python Priority: optional Build-Depends: debhelper-compat (= 12), dh-python, - python-all, - python-ptyprocess, python3-sphinx, python3-all, python3-ptyprocess, @@ -17,19 +15,6 @@ Vcs-Browser: https://salsa.debian.org/python-team/modules/pexpect Homepage: http://www.noah.org/wiki/Pexpect Testsuite: autopkgtest-pkg-python -Package: python-pexpect -Architecture: all -Depends: python-ptyprocess, - ${misc:Depends}, - ${python:Depends}, -Suggests: python-pexpect-doc, -Description: Python module for automating interactive applications - Pexpect is a pure Python module for spawning child applications; - controlling them; and responding to expected patterns in their - output. Pexpect works like Don Libes' Expect. Pexpect allows your - script to spawn a child application and control it as if a human were - typing commands. - Package: python3-pexpect Architecture: all Depends: python3-ptyprocess, diff --git a/debian/rules b/debian/rules index ace335b..f583e34 100755 --- a/debian/rules +++ b/debian/rules @@ -1,12 +1,9 @@ #!/usr/bin/make -f -PYTHON2_VERSIONS=$(shell pyversions -vr) PYTHON3_VERSIONS=$(shell py3versions -vr) export PYBUILD_NAME = pexpect -export PYBUILD_DISABLE_python2=test - %: - dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild + dh $@ --with python3,sphinxdoc --buildsystem=pybuild override_dh_auto_clean: dh_auto_clean @@ -28,9 +25,3 @@ override_dh_auto_build: override_dh_installdocs: dh_installdocs -ppython-pexpect-doc build/html dh_installdocs -A - -override_dh_install: - dh_install - # async.py is python3 only and can't be compiled for python2 - # https://github.com/pexpect/pexpect/issues/290 - rm $(CURDIR)/debian/python-pexpect/usr/lib/python2.7/dist-packages/pexpect/_async.py |