Compare commits

...

93 commits

Author SHA1 Message Date
Timo Röhling 1f809b8dbb Update changelog for 3.12.0-1 release 2023-11-13 00:47:03 +01:00
Timo Röhling 110f3d85ec Explicitly clean egg info 2023-11-13 00:46:50 +01:00
Timo Röhling a909201310 Drop Sphinx theme patch; furo is available 2023-11-13 00:39:33 +01:00
Timo Röhling 8bf36e87d2 Update upstream source from tag 'upstream/3.12.0'
Update to upstream version '3.12.0'
with Debian dir 8aef7914f6
2023-11-13 00:36:07 +01:00
Timo Röhling d29b628982 Update changelog for 3.11.1-2 release 2023-10-13 19:40:05 +02:00
Timo Röhling 346b9c685b Regenerate egg-info because it is needed for the unit tests
Closes: #1052904
2023-10-13 19:39:50 +02:00
Timo Röhling 3013f06d2f Update changelog for 3.11.1-1 release 2023-07-05 14:33:55 +02:00
Timo Röhling c9fbf63242 Bump Standards-Version to 4.6.2 2023-07-05 14:33:43 +02:00
Timo Röhling fe05c079dd Update upstream source from tag 'upstream/3.11.1'
Update to upstream version '3.11.1'
with Debian dir f3051d097c
2023-07-05 14:29:15 +02:00
Jelmer Vernooij 35eb20bcc9
releasing package pytest-mock version 3.8.2-3 2022-11-09 20:40:50 +00:00
Jelmer Vernooij bf4738a2f9
update changelog
Gbp-Dch: Ignore
2022-11-09 20:40:48 +00:00
Debian Janitor c3dc59e9fb Remove constraints unnecessary since buster (oldstable)
* python3-pytest-mock: Drop versioned constraint on python3-pytest in Depends.

Changes-By: deb-scrub-obsolete
2022-11-09 13:24:12 +00:00
Julian Gilbey ef3f42f438 Source-only upload 2022-07-17 07:40:39 +01:00
Julian Gilbey 9c1c3b0913 New upstream version: split out docs into separate package 2022-07-15 18:46:45 +01:00
Julian Gilbey 5c351ccd14 Update upstream source from tag 'upstream/3.8.2'
Update to upstream version '3.8.2'
with Debian dir f6eae70548
2022-07-15 07:47:43 +01:00
Julian Gilbey f444c3a0df Update standards-version 2022-05-29 10:40:45 +01:00
Julian Gilbey 725f3fdbbf Update d/copyright 2022-05-29 10:40:16 +01:00
Julian Gilbey aebb087511 Specify version of python3-pytest-asyncio in build-depends and autopkgtest 2022-05-29 10:38:47 +01:00
Julian Gilbey d09d76bd84 Prepare new upstream release 2022-05-27 07:37:45 +01:00
Julian Gilbey ef4053bd25 Update upstream source from tag 'upstream/3.7.0'
Update to upstream version '3.7.0'
with Debian dir 4a4ad8dfa7
2022-05-26 22:59:37 +01:00
Sandro Tosi b3aad18372 releasing package pytest-mock version 3.6.1-1 2021-09-07 13:51:22 -04:00
Diego M. Rodriguez 5f787fc098
d/changelog: add missing changes 2021-09-07 09:36:50 +02:00
Diego M. Rodriguez fa39b92013
d/changelog: prepare for 3.6.1-1 2021-08-31 12:44:09 +02:00
Diego M. Rodriguez 7c368bfa0f
d/control: bump Standards-Version to 4.6.0 (no changes needed) 2021-08-31 12:36:47 +02:00
Diego M. Rodriguez 801b0eba19
d/tests: update autopkgtests 2021-08-31 12:34:27 +02:00
Diego M. Rodriguez 20a7c50a71
d/control: add pytest-asyncio dependency 2021-08-31 12:29:43 +02:00
Diego M. Rodriguez ebe8e48994
d/rules: update test arguments 2021-08-31 12:26:57 +02:00
Diego M. Rodriguez fdc21bac02
d/patches: drop existing patches
Drop existing patches, as the changes have been included upstream.
2021-08-31 12:23:29 +02:00
Diego M. Rodriguez 36778bae00
d/changelog: start 3.6.1 packaging 2021-08-31 11:44:46 +02:00
Diego M. Rodriguez 5239523515 Update upstream source from tag 'upstream/3.6.1'
Update to upstream version '3.6.1'
with Debian dir 142b14929e
2021-08-31 11:33:03 +02:00
Nilesh Patra 8414d1ef82 Update changelog 2021-01-20 22:55:59 +05:30
Nilesh Patra be22fc83f7 Switch watch version to 4 2021-01-20 22:55:31 +05:30
Nilesh Patra 9104ed379f Drop XB-Python-Egg-Name field 2021-01-20 22:51:02 +05:30
Nilesh Patra 848b6478f9 Add "Rules-Requires-Root:no" 2021-01-20 22:49:12 +05:30
Nilesh Patra 6fe83d2d10 Declare compliance with policy 4.5.1 2021-01-20 22:45:38 +05:30
Nilesh Patra 444b01b2d9 Bump debhelper-compat version to 13 2021-01-20 22:45:06 +05:30
Nilesh Patra c214cc4eec Clean _version.py pre-build (Closes: #978288) 2021-01-20 22:44:42 +05:30
Ondřej Nový 65122c5b20 d/control: Update Vcs-* fields with new Debian Python Team Salsa layout 2020-09-24 08:55:31 +02:00
Ondřej Nový 24d3bac2a0 d/control: Update Maintainer field with new Debian Python Team contact address 2020-09-24 08:55:31 +02:00
Jelmer Vernooij 46f3a5934d Merge branch 'lintian-fixes' into 'debian/master'
Fix some issues reported by lintian

See merge request python-team/modules/pytest-mock!1
2020-06-09 22:35:55 +00:00
Debian Janitor 7808935c46
Update standards version to 4.5.0, no changes needed.
Fixes: lintian: out-of-date-standards-version
See-also: https://lintian.debian.org/tags/out-of-date-standards-version.html
2020-06-08 12:11:20 +00:00
Debian Janitor a74fd7dcf8
Set upstream metadata fields: Bug-Database, Bug-Submit, Repository, Repository-Browse.
Fixes: lintian: upstream-metadata-file-is-missing
See-also: https://lintian.debian.org/tags/upstream-metadata-file-is-missing.html


Fixes: lintian: upstream-metadata-missing-bug-tracking
See-also: https://lintian.debian.org/tags/upstream-metadata-missing-bug-tracking.html


Fixes: lintian: upstream-metadata-missing-repository
See-also: https://lintian.debian.org/tags/upstream-metadata-missing-repository.html
2020-06-08 12:10:39 +00:00
Sandro Tosi 539420a507 releasing package pytest-mock version 1.10.4-3 2019-12-25 12:39:41 -05:00
Sandro Tosi 5e4fbc503c Drop python2 support; Closes: #937563 2019-12-25 12:39:35 -05:00
Ondřej Nový a11f953836 Bump Standards-Version to 4.4.1 2019-10-18 15:58:43 +02:00
Ondřej Nový c7ac8b02ed Team upload. 2019-09-19 09:41:39 +02:00
Ondřej Nový 7594dc0e1d releasing package pytest-mock version 1.10.4-2 2019-09-19 09:39:32 +02:00
Ondřej Nový e9acca50f0 Bump required version of python-mock to 3. 2019-09-19 09:39:25 +02:00
Ondřej Nový 91f5c030fc releasing package pytest-mock version 1.10.4-1 2019-08-24 18:44:25 +02:00
Ondřej Nový ca594322ad Bump debhelper compat level to 12. 2019-08-24 18:43:54 +02:00
Ondřej Nový b7f06634d8 Bump standards version to 4.4.0 (no changes). 2019-08-24 18:43:28 +02:00
Ondřej Nový 353d637075 Fix compatibility with newer Python, python-mock and pytest (Closes: #934960). 2019-08-24 18:42:13 +02:00
Ondřej Nový 50e1b5be61 New upstream release (Closes: #904304). 2019-08-24 18:35:34 +02:00
Ondřej Nový ff64fde0f5 Update upstream source from tag 'upstream/1.10.4'
Update to upstream version '1.10.4'
with Debian dir 5438ffc67f
2019-08-24 18:33:04 +02:00
Ondřej Nový 08db4e2e85 Use debhelper-compat instead of debian/compat 2019-07-20 00:16:37 +02:00
Chris Lamb 8599e07ab9 Remove trailing whitespaces. 2018-09-17 17:11:25 +01:00
Ondřej Nový 06f331a314 d/control: Remove ancient X-Python3-Version field 2018-05-14 07:59:05 +02:00
Ghislain Antony Vaillant f9dfe5cdc8 Release to unstable 2018-03-05 23:08:38 +00:00
Ghislain Antony Vaillant e385a7be1d Bump the standards version to 4.1.3 2018-03-05 23:08:38 +00:00
Ghislain Antony Vaillant d488c4fb72 Bump the debhelper version to 11 2018-03-05 23:08:38 +00:00
Ghislain Antony Vaillant b34e88870b Add missing install dependency on mock 2018-03-05 23:08:38 +00:00
Ghislain Antony Vaillant 5d84bf658c Add autopkgtests for Python 2 and 3 2018-03-05 23:08:38 +00:00
Ghislain Antony Vaillant 20b3b96a52 Setup the tests using the PYBUILD envvars 2018-03-05 22:38:59 +00:00
Ghislain Antony Vaillant 59564585f3 Set the minimum Python 3 version to 3.4 2018-03-05 22:37:26 +00:00
Ghislain Antony Vaillant 1616a56b37 Format the control file with cme 2018-03-05 22:37:09 +00:00
Ghislain Antony Vaillant 8b7a4723bb Update upstream source from tag 'upstream/1.7.1'
Update to upstream version '1.7.1'
with Debian dir 8bf17c6039
2018-03-05 22:30:36 +00:00
Ondřej Nový 78f59932eb d/copyright: Use https protocol in Format field 2018-02-15 08:52:36 +01:00
Ondřej Nový c5980a02e9 d/control: Set Vcs-* to salsa.debian.org 2018-02-13 10:10:49 +01:00
Vincent Bernat 686556f564 d/control: bump Standards-Version 2017-09-18 19:31:06 +02:00
Vincent Bernat 8c7b3bc169 Prepare for release 2017-09-18 19:30:35 +02:00
Vincent Bernat 4dc2cbfc69 d/control: Build-Depends on python-mock (>= 2) 2017-09-18 19:30:06 +02:00
Vincent Bernat d3020ab33c d/control: Build-Conflicts on python3-mock 2017-09-18 19:27:51 +02:00
Vincent Bernat e3f36dfe61 New upstream version 2017-09-18 19:18:29 +02:00
Vincent Bernat 74cd537012 Updated version 1.6.3 from 'upstream/1.6.3'
with Debian dir a2231125bd
2017-09-18 19:14:14 +02:00
Vincent Bernat 0368b55a95 Convert from git-dpm to patches unapplied format 2017-09-18 19:13:05 +02:00
Vincent Bernat df8e9ab7e1 d/control: Build-Depends on python{3,}-setuptools-scm 2016-11-01 20:08:03 +01:00
Vincent Bernat 2c0783517e New upstream version 2016-11-01 20:05:00 +01:00
Vincent Bernat 6e13094e30 merge patched into master 2016-11-01 20:04:26 +01:00
Vincent Bernat 144bb26936 record new upstream branch created by importing pytest-mock_1.3.0.orig.tar.gz 2016-11-01 20:01:57 +01:00
Vincent Bernat 65495c960e Patch for pytest3 support
And release.
2016-10-15 21:02:31 +02:00
Vincent Bernat a8b604583b merge patched into master 2016-10-15 20:56:29 +02:00
Vincent Bernat f13872e1a5 Update tests to work with pytest 3 2016-10-15 20:55:53 +02:00
Vincent Bernat f3e6ab3d77 New upstream release 2016-09-03 12:37:58 +02:00
Vincent Bernat 69d1442307 record new upstream branch created by importing pytest-mock_1.2.orig.tar.gz and merge it 2016-09-03 12:31:16 +02:00
Vincent Bernat d4d30a813d Bump Standards-Version and prepare for release 2016-07-02 16:42:51 +02:00
Vincent Bernat df6f9d5287 New upstream release 2016-07-02 16:40:38 +02:00
Vincent Bernat 84d12328f8 record new upstream branch created by importing pytest-mock_1.1.orig.tar.gz and merge it 2016-07-02 16:40:05 +02:00
Ondřej Nový 29696437db Fixed VCS URL (https) 2016-03-29 21:54:21 +02:00
Vincent Bernat a25518b62d Fix tag format in .git-dpm 2015-10-10 09:53:55 +02:00
Vincent Bernat dd8b2bc0cc Migrate the package to DPMT. 2015-10-10 00:07:34 +02:00
Vincent Bernat 156c11cc5c Prepare for release 2015-10-10 00:02:26 +02:00
Vincent Bernat 6ba36f0012 Initial release. 2015-10-09 23:54:33 +02:00
Vincent Bernat de724f6783 Initialize git-dpm 2015-10-09 23:26:25 +02:00
14 changed files with 371 additions and 0 deletions

196
debian/changelog vendored Normal file
View 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
View file

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

59
debian/control vendored Normal file
View 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
View 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
View file

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

10
debian/python-pytest-mock-doc.doc-base vendored Normal file
View 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
View file

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

View 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
View file

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

34
debian/rules vendored Executable file
View 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
View file

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

12
debian/tests/control vendored Normal file
View 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
View 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
View 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)))