Compare commits

..

No commits in common. "debian/master" and "upstream" have entirely different histories.

14 changed files with 0 additions and 371 deletions

196
debian/changelog vendored
View file

@ -1,196 +0,0 @@
pytest-mock (3.12.0-1) unstable; urgency=medium
* Team upload.
* New upstream version 3.12.0
* Drop Sphinx theme patch; furo is available
* Explicitly clean egg info
-- Timo Röhling <roehling@debian.org> Mon, 13 Nov 2023 00:46:56 +0100
pytest-mock (3.11.1-2) unstable; urgency=medium
* Team upload.
* Regenerate egg-info because it is needed for the unit tests
(Closes: #1052904)
-- Timo Röhling <roehling@debian.org> Fri, 13 Oct 2023 19:40:04 +0200
pytest-mock (3.11.1-1) unstable; urgency=medium
* Team upload.
* New upstream version 3.11.1
- Stop importing deprecated py.code module
* Bump Standards-Version to 4.6.2
-- Timo Röhling <roehling@debian.org> Wed, 05 Jul 2023 14:33:45 +0200
pytest-mock (3.8.2-3) unstable; urgency=medium
[ Debian Janitor ]
* Remove constraints unnecessary since buster (oldstable):
+ python3-pytest-mock: Drop versioned constraint on python3-pytest in
Depends.
-- Jelmer Vernooij <jelmer@debian.org> Wed, 09 Nov 2022 20:40:50 +0000
pytest-mock (3.8.2-2) unstable; urgency=medium
* Team upload
* Source-only upload to allow migration to testing
-- Julian Gilbey <jdg@debian.org> Sun, 17 Jul 2022 07:38:08 +0100
pytest-mock (3.8.2-1) unstable; urgency=medium
* Team upload
* New upstream version: this introduces sphinx-based documentation, so
split that out into a new package
* Explicitly depend on pytest 7
-- Julian Gilbey <jdg@debian.org> Fri, 15 Jul 2022 18:46:34 +0100
pytest-mock (3.7.0-2) unstable; urgency=medium
* Team upload
* Specify version limit for python3-pytest-asyncio in Build-Depends and
autopkgtest; the asyncio_mode setting was only introduced in version
0.17 or 0.18. This only affects the tests, not the binary package.
-- Julian Gilbey <jdg@debian.org> Sun, 29 May 2022 10:29:20 +0100
pytest-mock (3.7.0-1) unstable; urgency=medium
* Team upload
* New upstream version (Closes: 1006736)
-- Julian Gilbey <jdg@debian.org> Fri, 27 May 2022 07:37:21 +0100
pytest-mock (3.6.1-1) unstable; urgency=medium
[ Diego M. Rodriguez ]
* New upstream version 3.6.1 (Closes: #993346)
* d/patches: drop existing patches
* d/rules: update test arguments
* d/control: add pytest-asyncio dependency
* d/tests: update autopkgtests
* d/control: bump Standards-Version to 4.6.0 (no changes needed)
-- Sandro Tosi <morph@debian.org> Tue, 07 Sep 2021 13:51:18 -0400
pytest-mock (1.10.4-4) unstable; urgency=medium
* Team Upload.
[ Debian Janitor ]
* Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
Repository-Browse.
[ Ondřej Nový ]
* d/control: Update Maintainer field with new Debian Python Team
contact address.
* d/control: Update Vcs-* fields with new Debian Python Team Salsa
layout.
[ Nilesh Patra ]
* Clean _version.py pre-build (Closes: #978288)
* Bump debhelper-compat version to 13
* Declare compliance with policy 4.5.1
* Add "Rules-Requires-Root:no"
* Drop XB-Python-Egg-Name field
* Switch watch version to 4
-- Nilesh Patra <npatra974@gmail.com> Wed, 20 Jan 2021 22:52:20 +0530
pytest-mock (1.10.4-3) unstable; urgency=medium
[ Ondřej Nový ]
* Bump Standards-Version to 4.4.1.
[ Sandro Tosi ]
* Drop python2 support; Closes: #937563
-- Sandro Tosi <morph@debian.org> Wed, 25 Dec 2019 12:39:37 -0500
pytest-mock (1.10.4-2) unstable; urgency=medium
* Team upload.
* Bump required version of python-mock to 3.
-- Ondřej Nový <onovy@debian.org> Thu, 19 Sep 2019 09:39:29 +0200
pytest-mock (1.10.4-1) unstable; urgency=medium
* Team upload.
* New upstream release (Closes: #904304).
* d/control: Remove ancient X-Python3-Version field
* Use debhelper-compat instead of debian/compat.
* Fix compatibility with newer Python, python-mock and pytest
(Closes: #934960).
* Bump standards version to 4.4.0 (no changes).
* Bump debhelper compat level to 12.
-- Ondřej Nový <onovy@debian.org> Sat, 24 Aug 2019 18:44:21 +0200
pytest-mock (1.7.1-1) unstable; urgency=medium
* Team upload
[ Ondřej Nový ]
* d/control: Set Vcs-* to salsa.debian.org
* d/copyright: Use https protocol in Format field
[ Ghislain Antony Vaillant ]
* New upstream version 1.7.1
* Format the control file with cme
* Set the minimum Python 3 version to 3.4
* Setup the tests using the PYBUILD envvars
* Add autopkgtests for Python 2 and 3
* Add missing install dependency on mock
* Bump the debhelper version to 11
* Bump the standards version to 4.1.3
-- Ghislain Antony Vaillant <ghisvail@gmail.com> Mon, 05 Mar 2018 22:45:31 +0000
pytest-mock (1.6.3-1) unstable; urgency=medium
* New upstream release. Closes: #872618.
+ Fix FTBFS due to deprecated use of mock fixture. Closes: #871127.
* d/control: Build-Conflicts on python3-mock as tests are expecting it
to be absent.
* d/control: Build-Depends on python-mock (>= 2). Closes: #861245.
* d/control: bump Standards-Version.
-- Vincent Bernat <bernat@debian.org> Mon, 18 Sep 2017 19:14:32 +0200
pytest-mock (1.3.0-1) unstable; urgency=medium
* New upstream release.
+ Drop patch for pytest3 support.
* d/control: Build-Depends on python{3,}-setuptools-scm.
-- Vincent Bernat <bernat@debian.org> Tue, 01 Nov 2016 20:04:55 +0100
pytest-mock (1.2-1) unstable; urgency=medium
* New upstream release.
* Patch to add support for pytest3. This also requires a recent version
of python{,3}-pytest. Closes: #835241.
-- Vincent Bernat <bernat@debian.org> Sat, 15 Oct 2016 20:58:02 +0200
pytest-mock (1.1-1) unstable; urgency=medium
[ Vincent Bernat ]
* New upstream release.
* Bump Standards-Version.
* Migrate the package to DPMT.
[ Ondřej Nový ]
* Fixed VCS URL (https)
-- Vincent Bernat <bernat@debian.org> Sat, 02 Jul 2016 16:40:36 +0200
pytest-mock (0.8.1-1) unstable; urgency=low
* Initial release. Closes: #801418.
-- Vincent Bernat <bernat@debian.org> Fri, 09 Oct 2015 23:27:28 +0200

1
debian/clean vendored
View file

@ -1 +0,0 @@
src/*.egg-info/

59
debian/control vendored
View file

@ -1,59 +0,0 @@
Source: pytest-mock
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Uploaders: Vincent Bernat <bernat@debian.org>
Section: python
Priority: optional
Build-Depends: debhelper-compat (= 13),
dh-python,
dh-sequence-python3,
furo <!nodoc>,
python3-all,
python3-mock,
python3-pytest (>= 7.1.2),
python3-pytest-asyncio (>= 0.18),
python3-setuptools,
python3-setuptools-scm,
python3-sphinx-copybutton <!nodoc>,
sphinx <!nodoc>
Standards-Version: 4.6.2
Vcs-Browser: https://salsa.debian.org/python-team/packages/pytest-mock
Vcs-Git: https://salsa.debian.org/python-team/packages/pytest-mock.git
Homepage: https://github.com/pytest-dev/pytest-mock/
Rules-Requires-Root: no
Package: python3-pytest-mock
Architecture: all
Depends: python3-pytest | python3-pytest (<< 3),
${misc:Depends},
${python3:Depends}
Recommends: ${python3:Recommends}
Suggests: python-pytest-mock-doc,
python3-mock,
${python3:Suggests}
Description: Thin wrapper around mock for easier use with pytest (Python 3 module)
This plugin installs a "mocker" fixture which is a thin wrapper
around the patching API provided by the excellent "mock" package or
by unittest.mock, but with the benefit of not having to worry about
undoing patches at the end of a test. It also provides other nice
utilities such as spy and stub, and uses pytest introspection when
comparing calls.
.
This package provides the Python 3 module.
Package: python-pytest-mock-doc
Architecture: all
Section: doc
Depends: ${misc:Depends},
${sphinxdoc:Depends}
Recommends: python3-pytest-mock
Multi-Arch: foreign
Description: Documentation of the Pytest Mock plugin (HTML)
The pytest-mock plugin installs a "mocker" fixture which is a thin
wrapper around the patching API provided by the excellent "mock" package
or by unittest.mock, but with the benefit of not having to worry about
undoing patches at the end of a test. It also provides other nice
utilities such as spy and stub, and uses pytest introspection when
comparing calls.
.
This package contains the HTML documentation of the pytest-mock plugin.
Build-Profiles: <!nodoc>

36
debian/copyright vendored
View file

@ -1,36 +0,0 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: pytest-mock
Upstream-Contact: Bruno Oliveira <nicoddemus@gmail.com>
Source: https://github.com/pytest-dev/pytest-mock/
Files: *
Copyright: 2016- Bruno Oliveira <nicoddemus@gmail.com>
License: LGPL-3
Files: debian/*
Copyright: 2015-2017 Vincent Bernat <bernat@debian.org>
2018 Ghislain Antony Vaillant <ghisvail@gmail.com>
2018-2021 Ondřej Nový <onovy@debian.org>
2019-2021 Sandro Tosi <morph@debian.org>
2021 Nilesh Patra <npatra974@gmail.com>
2021 Diego M. Rodriguez
2022 Julian Gilbey <jdg@debian.org>
License: LGPL-3
License: LGPL-3
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3 of the License.
.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
.
On Debian GNU/Linux systems, the complete text of the GNU Lesser General
Public License can be found in `/usr/share/common-licenses/LGPL-3'.

2
debian/gbp.conf vendored
View file

@ -1,2 +0,0 @@
[DEFAULT]
debian-branch=debian/master

View file

@ -1,10 +0,0 @@
Document: pytest-mock
Title: Pytest Mock Manual
Author: Bruno Oliveira <nicoddemus@gmail.com>
Abstract: This manual describes the pytest-mock plugin for pytest,
which provides a thin wrapper around the "mock" package.
Section: Programming/Python
Format: HTML
Index: /usr/share/doc/python3-pytest-mock/html/index.html
Files: /usr/share/doc/python3-pytest-mock/html/*.html

View file

@ -1 +0,0 @@
docs/_build/html

View file

@ -1,9 +0,0 @@
Debian pytest-mock package
==========================
The HTML documentation for pytest-mock is available in the package
python-pytest-mock-doc, and is available in
/usr/share/doc/python3-pytest-mock/html
when that package is installed.
-- Julian Gilbey <jdg@debian.org>, Fri, 15 Jul 2022 09:01:41 +0100

View file

@ -1 +0,0 @@
README.rst

34
debian/rules vendored
View file

@ -1,34 +0,0 @@
#! /usr/bin/make -f
export PYBUILD_NAME=pytest-mock
# Add the pytest-mock egg to the build dir, so pytest can find it when
# running the tests.
# The --assert=plain is needed to skip four tests; see
# https://github.com/pytest-dev/pytest-mock/issues/102
# for more information.
export PYBUILD_BEFORE_TEST={interpreter} setup.py egg_info && cp -r {dir}/src/*.egg-info {build_dir}
export PYBUILD_TEST_ARGS=--assert=plain {dir}/tests
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/*.egg-info {dir}/src/*.egg-info
ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
%:
dh $@ --with sphinxdoc --buildsystem=pybuild
execute_after_dh_auto_build:
mkdir docs/_static
sphinx-build -W --keep-going -b html docs docs/_build/html
override_dh_installdocs:
dh_installdocs -ppython-pytest-mock-doc --doc-main-package=python3-pytest-mock
dh_installdocs --remaining-packages
else
%:
dh $@ --buildsystem=pybuild
endif
override_dh_auto_clean:
dh_auto_clean
rm -rf docs/_build docs/_static
rm -f src/pytest_mock/_version.py

View file

@ -1 +0,0 @@
3.0 (quilt)

12
debian/tests/control vendored
View file

@ -1,12 +0,0 @@
Test-Command: set -e
; cp -r tests "$AUTOPKGTEST_TMP"
; for py in $(py3versions -s)
; do cd "$AUTOPKGTEST_TMP"
; echo "Testing with $py:"
; $py -m pytest -v --assert=plain -o asyncio_mode=auto
; done
Depends: python3-all,
python3-mock,
python3-pytest (>= 7.1.2),
python3-pytest-asyncio (>= 0.18),
python3-pytest-mock

View file

@ -1,5 +0,0 @@
---
Bug-Database: https://github.com/pytest-dev/pytest-mock/issues
Bug-Submit: https://github.com/pytest-dev/pytest-mock/issues/new
Repository: https://github.com/pytest-dev/pytest-mock.git
Repository-Browse: https://github.com/pytest-dev/pytest-mock

4
debian/watch vendored
View file

@ -1,4 +0,0 @@
# try also https://pypi.debian.net/pytest-mock/watch
version=4
opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
https://pypi.debian.net/pytest-mock/pytest-mock-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))