[Python-modules-commits] [python-testfixtures] 07/07: Initial release (Closes: #852783).

Michael Fladischer fladi at moszumanska.debian.org
Sat Jan 28 15:40:03 UTC 2017


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

fladi pushed a commit to branch master
in repository python-testfixtures.

commit a80d6ee59ac782c24ccdcdf2c097ce461b383e46
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Sat Jan 28 16:39:50 2017 +0100

    Initial release (Closes: #852783).
---
 debian/changelog                                 |   5 ++
 debian/clean                                     |   6 ++
 debian/compat                                    |   1 +
 debian/control                                   | 100 +++++++++++++++++++++++
 debian/copyright                                 |  36 ++++++++
 debian/python-testfixtures-doc.doc-base          |   8 ++
 debian/python-testfixtures-doc.docs              |   1 +
 debian/python-testfixtures-doc.lintian-overrides |   2 +
 debian/python-testfixtures.docs                  |   1 +
 debian/python-testfixtures.lintian-overrides     |   2 +
 debian/python3-testfixtures.docs                 |   1 +
 debian/rules                                     |  22 +++++
 debian/watch                                     |   4 +
 13 files changed, 189 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..7e760f1
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-testfixtures (4.13.3-1) unstable; urgency=low
+
+  * Initial release (Closes: #852783).
+
+ -- Michael Fladischer <fladi at debian.org>  Thu, 26 Jan 2017 17:34:20 +0100
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..270500e
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,6 @@
+testfixtures.egg-info/PKG-INFO
+testfixtures.egg-info/SOURCES.txt
+testfixtures.egg-info/dependency_links.txt
+testfixtures.egg-info/not-zip-safe
+testfixtures.egg-info/requires.txt
+testfixtures.egg-info/top_level.txt
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..da53e23
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,100 @@
+Source: python-testfixtures
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Michael Fladischer <fladi at debian.org>
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               python-all,
+               python-doc,
+               python-manuel,
+               python-mock,
+               python-nose,
+               python-setuptools,
+               python-zope.component,
+               python-zope.testrunner,
+               python3-all,
+               python3-doc,
+               python3-manuel,
+               python3-mock,
+               python3-nose,
+               python3-pkginfo,
+               python3-setuptools,
+               python3-sphinx,
+               python3-zope.component,
+               python3-zope.testrunner
+Standards-Version: 3.9.8
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
+Homepage: https://github.com/Simplistix/testfixtures
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-testfixtures.git
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-testfixtures.git
+
+
+Package: python-testfixtures
+Architecture: all
+Depends: ${misc:Depends},
+         ${python:Depends}
+Suggests: python-testfixtures-doc (= ${binary:Version})
+Description: Collection of helpers and mock objects (Python2 version)
+ TestFixtures is a collection of helpers and mock objects that are useful when
+ writing unit tests or doc tests. It includes tools for a wide range of tasks:
+ .
+  * Comparing objects and sequences
+  * Mocking out objects and methods
+  * Mocking dates and times
+  * Testing logging
+  * Testing output to streams
+  * Testing with files and directories
+  * Testing exceptions
+  * Testing warnings
+  * Testing use of the subprocess package
+  * Testing with zope.component
+ .
+ This package contains the Python 2 version of the library.
+
+
+Package: python3-testfixtures
+Architecture: all
+Depends: ${misc:Depends},
+         ${python3:Depends}
+Suggests: python-testfixtures-doc (= ${binary:Version})
+Description: Collection of helpers and mock objects (Python3 version)
+ TestFixtures is a collection of helpers and mock objects that are useful when
+ writing unit tests or doc tests. It includes tools for a wide range of tasks:
+ .
+  * Comparing objects and sequences
+  * Mocking out objects and methods
+  * Mocking dates and times
+  * Testing logging
+  * Testing output to streams
+  * Testing with files and directories
+  * Testing exceptions
+  * Testing warnings
+  * Testing use of the subprocess package
+  * Testing with zope.component
+ .
+ This package contains the Python 3 version of the library.
+
+
+Package: python-testfixtures-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends},
+         ${sphinxdoc:Depends}
+Description: Collection of helpers and mock objects (Documentation)
+ TestFixtures is a collection of helpers and mock objects that are useful when
+ writing unit tests or doc tests. It includes tools for a wide range of tasks:
+ .
+  * Comparing objects and sequences
+  * Mocking out objects and methods
+  * Mocking dates and times
+  * Testing logging
+  * Testing output to streams
+  * Testing with files and directories
+  * Testing exceptions
+  * Testing warnings
+  * Testing use of the subprocess package
+  * Testing with zope.component
+ .
+ This package contains the documentation.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..96a9d33
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,36 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: python-testfixtures
+Upstream-Contact: Chris Withers <chris at simplistix.co.uk>
+Source: https://github.com/Simplistix/testfixtures
+
+Files: *
+Copyright:
+  2008-2015, Simplistix Ltd
+  2015-2016, Chris Withers <chris at simplistix.co.uk>
+License: Expat
+
+Files: debian/*
+Copyright:
+  2017, Michael Fladischer <fladi at debian.org>
+License: Expat
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person
+ obtaining a copy of this software and associated documentation
+ files (the "Software"), to deal in the Software without restriction,
+ including without limitation the rights to use, copy, modify, merge,
+ publish, distribute, sublicense, and/or sell copies of the Software,
+ and to permit persons to whom the Software is furnished to do so,
+ subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
diff --git a/debian/python-testfixtures-doc.doc-base b/debian/python-testfixtures-doc.doc-base
new file mode 100644
index 0000000..00e196e
--- /dev/null
+++ b/debian/python-testfixtures-doc.doc-base
@@ -0,0 +1,8 @@
+Document: python-testfixtures-doc
+Title: testfixtures Documentation
+Author: Chris Withers <chris at simplistix.co.uk>
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-testfixtures-doc/html/index.html
+Files: /usr/share/doc/python-testfixtures-doc/html/*.html
diff --git a/debian/python-testfixtures-doc.docs b/debian/python-testfixtures-doc.docs
new file mode 100644
index 0000000..2981a3c
--- /dev/null
+++ b/debian/python-testfixtures-doc.docs
@@ -0,0 +1 @@
+docs/.build/html
diff --git a/debian/python-testfixtures-doc.lintian-overrides b/debian/python-testfixtures-doc.lintian-overrides
new file mode 100644
index 0000000..9fda72f
--- /dev/null
+++ b/debian/python-testfixtures-doc.lintian-overrides
@@ -0,0 +1,2 @@
+# This packages primary intent is to support the tests for python-scrapy which is already packaged for Python2.
+python-testfixtures-doc: new-package-should-not-package-python2-module python-testfixtures-doc
diff --git a/debian/python-testfixtures.docs b/debian/python-testfixtures.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python-testfixtures.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/python-testfixtures.lintian-overrides b/debian/python-testfixtures.lintian-overrides
new file mode 100644
index 0000000..9a53230
--- /dev/null
+++ b/debian/python-testfixtures.lintian-overrides
@@ -0,0 +1,2 @@
+# This packages primary intent is to support the tests for python-scrapy which is already packaged for Python2.
+python-testfixtures: new-package-should-not-package-python2-module python-testfixtures
diff --git a/debian/python3-testfixtures.docs b/debian/python3-testfixtures.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python3-testfixtures.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..8624983
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export PYBUILD_NAME=testfixtures
+export PYBUILD_BEFORE_TEST=cp -r docs {build_dir}
+export PYBUILD_AFTER_TEST=rm -rf {build_dir}/docs
+
+%:
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_build:
+	dh_auto_build
+	PYTHONPATH=. sphinx-build -b html -d docs/.build/.doctrees -N docs docs/.build/html
+
+override_dh_auto_test:
+	dh_auto_test -- --system=custom --test-args="{interpreter} /usr/bin/zope-testrunner --path={build_dir} testfixtures"
+
+override_dh_clean:
+	rm -rf docs/.build
+	dh_clean
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..bb188ce
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts=filenamemangle=s/.*\/([\d\.]+.*)$/python-testfixtures-$1/ \
+https://github.com/Simplistix/testfixtures/releases \
+/Simplistix/testfixtures/archive/([\d\.]+)\.tar\.gz

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



More information about the Python-modules-commits mailing list