[Python-modules-commits] [pytest-mock] 03/05: Initial release.

Vincent Bernat bernat at moszumanska.debian.org
Fri Oct 9 22:08:00 UTC 2015


This is an automated email from the git hooks/post-receive script.

bernat pushed a commit to branch master
in repository pytest-mock.

commit 6ba36f001286a2ec2d2ce9970d34bca2cbc42606
Author: Vincent Bernat <vincent at bernat.im>
Date:   Fri Oct 9 23:30:56 2015 +0200

    Initial release.
---
 debian/changelog |  6 ++++++
 debian/compat    |  1 +
 debian/control   | 43 +++++++++++++++++++++++++++++++++++++++++++
 debian/copyright | 30 ++++++++++++++++++++++++++++++
 debian/docs      |  1 +
 debian/rules     | 10 ++++++++++
 debian/watch     |  4 ++++
 7 files changed, 95 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..61f979b
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+pytest-mock (0.8.1-1) UNRELEASED; urgency=low
+
+  * Initial release. Closes: #801418.
+
+ -- Vincent Bernat <bernat at debian.org>  Fri, 09 Oct 2015 23:27:28 +0200
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..ea733b9
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,43 @@
+Source: pytest-mock
+Section: python
+Priority: optional
+Maintainer: Vincent Bernat <bernat at 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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..66faf6a
--- /dev/null
+++ b/debian/copyright
@@ -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 at gmail.com>
+Source: https://github.com/pytest-dev/pytest-mock/
+
+Files: *
+Copyright: Bruno Oliveira <nicoddemus at gmail.com>
+License: LGPL-3
+
+Files: debian/*
+Copyright: 2015 © Vincent Bernat <bernat at 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'.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..5debbd4
--- /dev/null
+++ b/debian/rules
@@ -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
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..5b56f8a
--- /dev/null
+++ b/debian/watch
@@ -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)))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pytest-mock.git



More information about the Python-modules-commits mailing list