Initial release.

This commit is contained in:
Vincent Bernat 2015-10-09 23:30:56 +02:00
parent de724f6783
commit 6ba36f0012
7 changed files with 95 additions and 0 deletions

6
debian/changelog vendored Normal file
View file

@ -0,0 +1,6 @@
pytest-mock (0.8.1-1) UNRELEASED; urgency=low
* Initial release. Closes: #801418.
-- Vincent Bernat <bernat@debian.org> Fri, 09 Oct 2015 23:27:28 +0200

1
debian/compat vendored Normal file
View file

@ -0,0 +1 @@
9

43
debian/control vendored Normal file
View file

@ -0,0 +1,43 @@
Source: pytest-mock
Section: python
Priority: optional
Maintainer: Vincent Bernat <bernat@debian.org>
Build-Depends: debhelper (>= 9), dh-python,
python-all,
python-pytest,
python-setuptools,
python-mock,
python3-all,
python3-pytest,
python3-setuptools,
python3-mock
Standards-Version: 3.9.6
Homepage: https://github.com/pytest-dev/pytest-mock/
Package: python-pytest-mock
Architecture: all
Depends: ${misc:Depends}, ${python:Depends},
Recommends: ${python:Recommends}
Suggests: ${python:Suggests}
XB-Python-Egg-Name: pytest-mock
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.
Package: python3-pytest-mock
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends},
Recommends: ${python3:Recommends}
Suggests: ${python3:Suggests}
XB-Python-Egg-Name: pytest-mock
Description: thin-wrapper around mock for easier use with py.test (Python 3 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 3 module.

30
debian/copyright vendored Normal file
View file

@ -0,0 +1,30 @@
Format: http://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: Bruno Oliveira <nicoddemus@gmail.com>
License: LGPL-3
Files: debian/*
Copyright: 2015 © Vincent Bernat <bernat@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'.

1
debian/docs vendored Normal file
View file

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

10
debian/rules vendored Executable file
View file

@ -0,0 +1,10 @@
#! /usr/bin/make -f
export PYBUILD_NAME=pytest-mock
%:
dh $@ --with python3,python2 --buildsystem=pybuild
override_dh_auto_test:
dh_auto_install
PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x" dh_auto_test

4
debian/watch vendored Normal file
View file

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