Drop python2 support; Closes: #937563
This commit is contained in:
parent
a11f953836
commit
5e4fbc503c
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -1,8 +1,12 @@
|
|||
pytest-mock (1.10.4-3) UNRELEASED; urgency=medium
|
||||
|
||||
[ Ondřej Nový ]
|
||||
* Bump Standards-Version to 4.4.1.
|
||||
|
||||
-- Ondřej Nový <onovy@debian.org> Fri, 18 Oct 2019 15:58:43 +0200
|
||||
[ Sandro Tosi ]
|
||||
* Drop python2 support; Closes: #937563
|
||||
|
||||
-- Sandro Tosi <morph@debian.org> Wed, 25 Dec 2019 12:38:30 -0500
|
||||
|
||||
pytest-mock (1.10.4-2) unstable; urgency=medium
|
||||
|
||||
|
|
22
debian/control
vendored
22
debian/control
vendored
|
@ -5,11 +5,6 @@ Section: python
|
|||
Priority: optional
|
||||
Build-Depends: debhelper-compat (= 12),
|
||||
dh-python,
|
||||
python-all,
|
||||
python-pytest,
|
||||
python-setuptools,
|
||||
python-setuptools-scm,
|
||||
python-mock (>= 3),
|
||||
python3-all,
|
||||
python3-pytest,
|
||||
python3-setuptools,
|
||||
|
@ -20,23 +15,6 @@ Vcs-Browser: https://salsa.debian.org/python-team/modules/pytest-mock
|
|||
Vcs-Git: https://salsa.debian.org/python-team/modules/pytest-mock.git
|
||||
Homepage: https://github.com/pytest-dev/pytest-mock/
|
||||
|
||||
Package: python-pytest-mock
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends},
|
||||
${python:Depends},
|
||||
python-mock (>= 3),
|
||||
python-pytest (>= 3.0.3) | python-pytest (<< 3)
|
||||
Recommends: ${python:Recommends}
|
||||
Suggests: ${python:Suggests}
|
||||
Description: thin-wrapper around mock for easier use with py.test (Python 2 module)
|
||||
This plugin installs a "mocker" fixture which is a thin-wrapper
|
||||
around the patching API provided by the excellent "mock" package, but
|
||||
with the benefit of not having to worry about undoing patches at the
|
||||
end of a test.
|
||||
.
|
||||
This package provides the Python 2 module.
|
||||
XB-Python-Egg-Name: pytest-mock
|
||||
|
||||
Package: python3-pytest-mock
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends},
|
||||
|
|
2
debian/rules
vendored
2
debian/rules
vendored
|
@ -7,4 +7,4 @@ export PYBUILD_TEST_ARGS={dir}/test_pytest_mock.py
|
|||
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/*.egg-info
|
||||
|
||||
%:
|
||||
dh $@ --with python3,python2 --buildsystem=pybuild
|
||||
dh $@ --with python3 --buildsystem=pybuild
|
||||
|
|
11
debian/tests/control
vendored
11
debian/tests/control
vendored
|
@ -1,14 +1,3 @@
|
|||
Test-Command: set -e
|
||||
; cp test*.py "$AUTOPKGTEST_TMP"
|
||||
; for py in $(pyversions -r 2>/dev/null)
|
||||
; do cd "$AUTOPKGTEST_TMP"
|
||||
; echo "Testing with $py:"
|
||||
; $py -m pytest -v --assert=plain
|
||||
; done
|
||||
Depends: python-all,
|
||||
python-pytest,
|
||||
python-pytest-mock
|
||||
|
||||
Test-Command: set -e
|
||||
; cp test*.py "$AUTOPKGTEST_TMP"
|
||||
; for py in $(py3versions -r 2>/dev/null)
|
||||
|
|
Loading…
Reference in a new issue