diff -Nru python-future-0.18.2/debian/changelog python-future-0.18.2/debian/changelog --- python-future-0.18.2/debian/changelog 2020-02-02 03:10:56.000000000 +0000 +++ python-future-0.18.2/debian/changelog 2020-03-28 02:39:09.000000000 +0000 @@ -1,3 +1,9 @@ +python-future (0.18.2-2) unstable; urgency=medium + + * Drop python2 support; Closes: #937773 + + -- Sandro Tosi Fri, 27 Mar 2020 22:39:09 -0400 + python-future (0.18.2-1) unstable; urgency=medium [ Ondřej Nový ] diff -Nru python-future-0.18.2/debian/control python-future-0.18.2/debian/control --- python-future-0.18.2/debian/control 2020-02-02 03:10:56.000000000 +0000 +++ python-future-0.18.2/debian/control 2020-03-28 02:39:09.000000000 +0000 @@ -5,33 +5,16 @@ Uploaders: Barry Warsaw , Vincent Bernat Build-Depends: debhelper-compat (= 11), dh-python (>= 2.20160609~), - python-all, - python-setuptools, python3-all, python3-setuptools, python3-sphinx, -Build-Depends-Indep: openssl, python-pytest, python-unittest2, python3-pytest, ca-certificates, python-urllib3 +Build-Depends-Indep: openssl, python3-pytest, ca-certificates Standards-Version: 4.4.1 Vcs-Git: https://salsa.debian.org/python-team/modules/python-future.git Vcs-Browser: https://salsa.debian.org/python-team/modules/python-future Homepage: https://python-future.org Testsuite: autopkgtest-pkg-python -Package: python-future -Architecture: all -Depends: ${misc:Depends}, ${python:Depends}, python-configparser -Suggests: python-future-doc -Description: single-source support for Python 3 and 2 - Python 2.x - Future is the missing compatibility layer between Python 2 and Python 3. It - allows one to use a single, clean Python 3.x-compatible codebase to support - both Python 2 and Python 3 with minimal overhead. - . - The imports have no effect on Python 3. On Python 2, they shadow the - corresponding builtins, which normally have different semantics on Python 3 - versus 2, to provide their Python 3 semantics. - . - This package contains the Python 2.x module. - Package: python3-future Architecture: all Depends: ${misc:Depends}, ${python3:Depends}, python3-lib2to3 diff -Nru python-future-0.18.2/debian/python-future.postinst python-future-0.18.2/debian/python-future.postinst --- python-future-0.18.2/debian/python-future.postinst 2020-02-02 03:10:56.000000000 +0000 +++ python-future-0.18.2/debian/python-future.postinst 1970-01-01 00:00:00.000000000 +0000 @@ -1,12 +0,0 @@ -#!/bin/sh - -set -e - -if [ "$1" = "configure" ] ; then - update-alternatives --install /usr/bin/futurize futurize /usr/bin/python2-futurize 200 - update-alternatives --install /usr/bin/pasteurize pasteurize /usr/bin/python2-pasteurize 200 -fi - -#DEBHELPER# - -exit 0 diff -Nru python-future-0.18.2/debian/python-future.prerm python-future-0.18.2/debian/python-future.prerm --- python-future-0.18.2/debian/python-future.prerm 2020-02-02 03:10:56.000000000 +0000 +++ python-future-0.18.2/debian/python-future.prerm 1970-01-01 00:00:00.000000000 +0000 @@ -1,12 +0,0 @@ -#!/bin/sh - -set -e - -if [ "$1" = "remove" ] ; then - update-alternatives --remove futurize /usr/bin/python2-futurize - update-alternatives --remove pasteurize /usr/bin/python2-pasteurize -fi - -#DEBHELPER# - -exit 0 diff -Nru python-future-0.18.2/debian/rules python-future-0.18.2/debian/rules --- python-future-0.18.2/debian/rules 2020-02-02 03:10:56.000000000 +0000 +++ python-future-0.18.2/debian/rules 2020-03-28 02:39:09.000000000 +0000 @@ -9,11 +9,9 @@ PYTHONPATH={build_dir} {interpreter} -m sphinx -b html docs $(CURDIR)/docs/build/html %: - dh $@ --buildsystem=pybuild --with python2,python3,sphinxdoc + dh $@ --buildsystem=pybuild --with python3,sphinxdoc override_dh_install: dh_install - mv debian/python-future/usr/bin/futurize debian/python-future/usr/bin/python2-futurize mv debian/python3-future/usr/bin/futurize debian/python3-future/usr/bin/python3-futurize - mv debian/python-future/usr/bin/pasteurize debian/python-future/usr/bin/python2-pasteurize mv debian/python3-future/usr/bin/pasteurize debian/python3-future/usr/bin/python3-pasteurize