diff --git a/debian/changelog b/debian/changelog index 473e75e2de6b8ae782a798e538f58741159aa422..ac4d37687a46de20bec74243f81db2298fda3f40 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,7 @@ python-flexmock (0.10.4-3) UNRELEASED; urgency=medium + * Drop python 2 binary package, no longer used in Debian. + (Closes: #937762) * Bump Standards-Version to 4.5.0, no changes needed. -- Stefano Rivera <stefanor@debian.org> Thu, 07 May 2020 15:12:53 -0700 diff --git a/debian/control b/debian/control index 99d8a81e7d09c141efc30764d4c4e42e4d0adeb9..75bf066718abe76f4c5c6a28ac6dc82755200985 100644 --- a/debian/control +++ b/debian/control @@ -6,8 +6,6 @@ Uploaders: Stefano Rivera <stefanor@debian.org> Build-Depends: debhelper-compat (= 12), dh-python (>= 1.20130807), - python-all (>= 2.7), - python-nose, python3-all (>= 3.4), python3-nose, python3-pytest @@ -17,28 +15,6 @@ Vcs-Git: https://salsa.debian.org/python-team/modules/python-flexmock.git Vcs-Browser: https://salsa.debian.org/python-team/modules/python-flexmock Rules-Requires-Root: no -Package: python-flexmock -Architecture: all -Depends: ${misc:Depends}, ${python:Depends} -Description: Mock/Stub/Spy library for Python - flexmock is a testing library for Python that makes it easy to create mocks, - stubs and fakes. - . - The API is inspired by a Ruby library of the same name, but Python flexmock is - not a clone of the Ruby version. It omits a number of redundancies in the Ruby - flexmock API, alters some defaults, and introduces a number of Python-only - features. - . - flexmock's design focuses on simplicity and intuitiveness. This means that the - API is as lean as possible, though a few convenient short-hand methods are - provided to aid brevity and readability. - . - flexmock declarations are structured to read more like English sentences than - API calls, and it is possible to chain them together in any order to achieve - high degree of expressiveness in a single line of code. - . - This package contains the Python 2.x version of flexmock. - Package: python3-flexmock Architecture: all Depends: ${misc:Depends}, ${python3:Depends} diff --git a/debian/rules b/debian/rules index 8c0cf2b3b44001bb976e61119f64f00c9a5b527a..0cc7e90183e2d741a6372eb5396131ecc08f4f75 100755 --- a/debian/rules +++ b/debian/rules @@ -1,10 +1,9 @@ #!/usr/bin/make -f export PYBUILD_NAME=flexmock -export PYBUILD_DISABLE_python2=test %: - dh $@ --with python2,python3 --buildsystem pybuild + dh $@ --with python3 --buildsystem pybuild override_dh_auto_test: dh_auto_test -- --system=custom \