Compare commits
93 commits
upstream
...
debian/mas
Author | SHA1 | Date | |
---|---|---|---|
1f809b8dbb | |||
110f3d85ec | |||
a909201310 | |||
8bf36e87d2 | |||
d29b628982 | |||
346b9c685b | |||
3013f06d2f | |||
c9fbf63242 | |||
fe05c079dd | |||
35eb20bcc9 | |||
bf4738a2f9 | |||
c3dc59e9fb | |||
ef3f42f438 | |||
9c1c3b0913 | |||
5c351ccd14 | |||
f444c3a0df | |||
725f3fdbbf | |||
aebb087511 | |||
d09d76bd84 | |||
ef4053bd25 | |||
b3aad18372 | |||
5f787fc098 | |||
fa39b92013 | |||
7c368bfa0f | |||
801b0eba19 | |||
20a7c50a71 | |||
ebe8e48994 | |||
fdc21bac02 | |||
36778bae00 | |||
5239523515 | |||
8414d1ef82 | |||
be22fc83f7 | |||
9104ed379f | |||
848b6478f9 | |||
6fe83d2d10 | |||
444b01b2d9 | |||
c214cc4eec | |||
65122c5b20 | |||
24d3bac2a0 | |||
46f3a5934d | |||
7808935c46 | |||
a74fd7dcf8 | |||
539420a507 | |||
5e4fbc503c | |||
a11f953836 | |||
c7ac8b02ed | |||
7594dc0e1d | |||
e9acca50f0 | |||
91f5c030fc | |||
ca594322ad | |||
b7f06634d8 | |||
353d637075 | |||
50e1b5be61 | |||
ff64fde0f5 | |||
08db4e2e85 | |||
8599e07ab9 | |||
06f331a314 | |||
f9dfe5cdc8 | |||
e385a7be1d | |||
d488c4fb72 | |||
b34e88870b | |||
5d84bf658c | |||
20b3b96a52 | |||
59564585f3 | |||
1616a56b37 | |||
8b7a4723bb | |||
78f59932eb | |||
c5980a02e9 | |||
686556f564 | |||
8c7b3bc169 | |||
4dc2cbfc69 | |||
d3020ab33c | |||
e3f36dfe61 | |||
74cd537012 | |||
0368b55a95 | |||
df8e9ab7e1 | |||
2c0783517e | |||
6e13094e30 | |||
144bb26936 | |||
65495c960e | |||
a8b604583b | |||
f13872e1a5 | |||
f3e6ab3d77 | |||
69d1442307 | |||
d4d30a813d | |||
df6f9d5287 | |||
84d12328f8 | |||
29696437db | |||
a25518b62d | |||
dd8b2bc0cc | |||
156c11cc5c | |||
6ba36f0012 | |||
de724f6783 |
196
debian/changelog
vendored
Normal file
196
debian/changelog
vendored
Normal file
|
@ -0,0 +1,196 @@
|
|||
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
Normal file
1
debian/clean
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
src/*.egg-info/
|
59
debian/control
vendored
Normal file
59
debian/control
vendored
Normal file
|
@ -0,0 +1,59 @@
|
|||
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
Normal file
36
debian/copyright
vendored
Normal file
|
@ -0,0 +1,36 @@
|
|||
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
Normal file
2
debian/gbp.conf
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[DEFAULT]
|
||||
debian-branch=debian/master
|
10
debian/python-pytest-mock-doc.doc-base
vendored
Normal file
10
debian/python-pytest-mock-doc.doc-base
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
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
|
1
debian/python-pytest-mock-doc.docs
vendored
Normal file
1
debian/python-pytest-mock-doc.docs
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
docs/_build/html
|
9
debian/python3-pytest-mock.README.Debian
vendored
Normal file
9
debian/python3-pytest-mock.README.Debian
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
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
|
1
debian/python3-pytest-mock.docs
vendored
Normal file
1
debian/python3-pytest-mock.docs
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
README.rst
|
34
debian/rules
vendored
Executable file
34
debian/rules
vendored
Executable file
|
@ -0,0 +1,34 @@
|
|||
#! /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
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
12
debian/tests/control
vendored
Normal file
12
debian/tests/control
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
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
|
5
debian/upstream/metadata
vendored
Normal file
5
debian/upstream/metadata
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
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
Normal file
4
debian/watch
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
# 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)))
|
Loading…
Reference in a new issue