Commit ef5806ed authored by Ondřej Nový's avatar Ondřej Nový

Drop Python 2 support.

parent 316b502f
patiencediff (0.1.0-2) UNRELEASED; urgency=medium
* Bump Standards-Version to 4.4.0.
* Drop Python 2 support.
-- Ondřej Nový <onovy@debian.org> Fri, 19 Jul 2019 23:34:46 +0200
......
......@@ -5,9 +5,6 @@ Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.
Uploaders: Jelmer Vernooij <jelmer@debian.org>
Build-Depends: debhelper-compat (= 12),
dh-python,
python (>= 2.6.6-3),
python-all-dev (>= 2.6.6-3),
python-setuptools,
python3 (>= 2.6.6-3),
python3-all-dev (>= 2.6.6-3),
python3-setuptools
......@@ -16,24 +13,6 @@ Vcs-Browser: https://salsa.debian.org/python-team/modules/patiencediff
Vcs-Git: https://salsa.debian.org/python-team/modules/patiencediff.git
Homepage: https://github.com/breezy-team/patiencediff
Package: python-patiencediff
Architecture: any
Depends: ${misc:Depends},
${python:Depends},
${shlibs:Depends}
Description: diff implementation with balanced performance, output and implementation
This package contains the implementation of the ``patiencediff`` algorithm, as
first described by Bram Cohen.
.
Like Python's ``difflib``, this module provides both a convience
``unified_diff`` function for the generation of unified diffs of text files as
well as a SequenceMatcher that can be used on arbitrary lists.
.
Patiencediff provides a good balance of performance, nice output for humans,
and implementation simplicity.
.
This package contains the Python 2 version of the library.
Package: python3-patiencediff
Architecture: any
Depends: ${misc:Depends},
......
debian/tmp/usr/lib/python2*/*-packages
python-patiencediff binary: new-package-should-not-package-python2-module
......@@ -6,4 +6,4 @@ include /usr/share/dpkg/buildflags.mk
include /usr/share/dpkg/pkg-info.mk
%:
dh $* --with python2,python3 --buildsystem=pybuild
dh $* --with python3 --buildsystem=pybuild
Tests: testsuite2
Depends: @, python-setuptools
Restrictions: allow-stderr
Tests: testsuite3
Depends: @, python3-setuptools
Restrictions: allow-stderr
#!/bin/bash
python -m unittest patiencediff.test_patiencediff
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment