[Python-modules-commits] [pytest-catchlog] 02/02: Imported Debian patch 1.1-1

Daniel Stender danstender-guest at moszumanska.debian.org
Sun Jul 26 20:57:15 UTC 2015


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

danstender-guest pushed a commit to branch master
in repository pytest-catchlog.

commit 5228cb84daa2a5e4c44bebe8500d6f4e545d7b19
Author: Daniel Stender <debian at danielstender.com>
Date:   Sun Jul 26 22:49:30 2015 +0200

    Imported Debian patch 1.1-1
---
 debian/changelog                     |  5 ++++
 debian/compat                        |  1 +
 debian/control                       | 56 ++++++++++++++++++++++++++++++++++++
 debian/copyright                     | 33 +++++++++++++++++++++
 debian/gbp.conf                      |  8 ++++++
 debian/rules                         | 17 +++++++++++
 debian/source/format                 |  1 +
 debian/source/options                |  1 +
 debian/tests/control                 |  7 +++++
 debian/tests/python-pytest-catchlog  |  2 ++
 debian/tests/python3-pytest-catchlog |  2 ++
 debian/watch                         |  3 ++
 12 files changed, 136 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..086186a
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+pytest-catchlog (1.1-1) UNRELEASED; urgency=medium
+
+  * Initial release (Closes: #793191)
+
+ -- Daniel Stender <debian at danielstender.com>  Sun, 26 Jul 2015 22:49:30 +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..5cf220c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,56 @@
+Source: pytest-catchlog
+Section: python
+Priority: optional
+Maintainer: Daniel Stender <debian at danielstender.com>
+Uploaders:
+ Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends:
+ debhelper (>= 9),
+ dh-python,
+ python-all,
+ python-py,
+ python-setuptools,
+ python-pytest,
+ python3-all,
+ python3-py,
+ python3-setuptools,
+ python3-pytest
+Standards-Version: 3.9.6
+Homepage: https://github.com/eisensheng/pytest-catchlog
+Vcs-Git: git://anonscm.debian.org/python-modules/packages/pytest-catchlog.git
+Vcs-Browser: http://anonscm.debian.org/cgit/python-modules/packages/pytest-catchlog.git
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
+Testsuite: autopkgtest
+
+Package: python-pytest-catchlog
+Architecture: all
+Depends:
+ python-pytest,
+ ${misc:Depends},
+ ${python:Depends}
+Description: py.test plugin to capture test log messages
+ By default each captured log message shows the module, line number, log level
+ and message. Showing the exact module and line number is useful for testing
+ and debugging. If desired the log format and date format can be specified to
+ anything that the logging module supports.
+ .
+ This is a fork of pytest-capturelog by Meme Dough.
+ .
+ The package contains the plugin for Python 2 code.
+
+Package: python3-pytest-catchlog
+Architecture: all
+Depends:
+ python3-pytest,
+ ${misc:Depends},
+ ${python3:Depends}
+Description: py.test plugin to capture test log messages (Python3)
+ By default each captured log message shows the module, line number, log level
+ and message. Showing the exact module and line number is useful for testing
+ and debugging. If desired the log format and date format can be specified to
+ anything that the logging module supports.
+ .
+ This is a fork of pytest-capturelog by Meme Dough.
+ .
+ The package contains the plugin for Python 3 code.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..481a554
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pytest-catchlog
+Upstream-Contact: Arthur Skowronek <eisensheng at mailbox.org>
+Source: https://github.com/eisensheng/pytest-catchlog
+
+Files: *
+Copyright: 2010      Meme Dough <memedough at gmail.com>
+           2014-2015 Arthur Skowronek
+License: Expat
+
+Files: debian/*
+Copyright: 2015 Daniel Stender <debian at danielstender.com>
+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/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..78ab127
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,8 @@
+[DEFAULT]
+upstream-tag = upstream/%(version)s
+debian-tag = debian/%(version)s
+pristine-tar = True
+
+[import-orig]
+upstream-branch = upstream
+debian-branch = master
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ba010d6
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+#export DEB_BUILD_OPTIONS=nocheck
+export PYBUILD_NAME=pytest-catchlog
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_test:
+
+override_dh_auto_install:
+	dh_auto_install
+	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x" dh_auto_test
+	# run tests after install bcs the plugin needs to get registered by setup.py/entry_points
+
+override_dh_installdocs:
+	dh_installdocs -A README.rst
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..6e88e49
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore="^[^/]+\.egg-info/"
\ No newline at end of file
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..3939442
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,7 @@
+Tests: python-pytest-catchlog
+Depends: @, python-all, python-pytest, python-py
+Restrictions: allow-stderr
+
+Tests: python3-pytest-catchlog
+Depends: @, python3-all, python3-pytest, python3-py
+Restrictions: allow-stderr
diff --git a/debian/tests/python-pytest-catchlog b/debian/tests/python-pytest-catchlog
new file mode 100755
index 0000000..6cd9308
--- /dev/null
+++ b/debian/tests/python-pytest-catchlog
@@ -0,0 +1,2 @@
+#!/bin/sh -e
+pyversions -i | tr ' ' '\n' | xargs -I {} env {} -Wd -m pytest -v -x
diff --git a/debian/tests/python3-pytest-catchlog b/debian/tests/python3-pytest-catchlog
new file mode 100755
index 0000000..b4271db
--- /dev/null
+++ b/debian/tests/python3-pytest-catchlog
@@ -0,0 +1,2 @@
+#!/bin/sh -e
+py3versions -i | tr ' ' '\n' | xargs -I {} env {} -Wd -m pytest -v -x
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..1642471
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts="filenamemangle=s/(?:.*\/)?v?(\d[\d\.]+)\.tar\.gz/pytest-catchlog-$1.tar.gz/" \
+https://github.com/eisensheng/pytest-catchlog/releases (?:.*/)?v?(\d[\d\.]+)\.tar\.gz

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



More information about the Python-modules-commits mailing list