[Python-modules-commits] [pytest-tornado] 02/02: Imported Debian patch 0.4.4-1
Daniel Stender
danstender-guest at moszumanska.debian.org
Mon Jul 20 07:25:37 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-tornado.
commit da79b747387f011817c26f17ca9528c9d2ae257d
Author: Daniel Stender <debian at danielstender.com>
Date: Mon Jul 20 09:21:41 2015 +0200
Imported Debian patch 0.4.4-1
---
debian/changelog | 5 ++++
debian/compat | 1 +
debian/control | 49 +++++++++++++++++++++++++++++++++++++
debian/copyright | 28 +++++++++++++++++++++
debian/gbp.conf | 8 ++++++
debian/rules | 22 +++++++++++++++++
debian/source/format | 1 +
debian/tests/control | 5 ++++
debian/tests/python-pytest-tornado | 2 ++
debian/tests/python3-pytest-tornado | 2 ++
debian/watch | 3 +++
11 files changed, 126 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..13e4b6d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+pytest-tornado (0.4.4-1) UNRELEASED; urgency=medium
+
+ * Initial release (Closes: #792919)
+
+ -- Daniel Stender <debian at danielstender.com> Mon, 20 Jul 2015 09:21:41 +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..7651fd9
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,49 @@
+Source: pytest-tornado
+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-setuptools,
+ python-pytest,
+ python-tornado,
+ python3-all,
+ python3-setuptools,
+ python3-pytest,
+ python3-tornado,
+ pandoc
+Standards-Version: 3.9.6
+Homepage: https://github.com/eugeniy/pytest-tornado
+Vcs-Git: git://anonscm.debian.org/python-modules/packages/pytest-tornado.git
+Vcs-Browser: http://anonscm.debian.org/cgit/python-modules/packages/pytest-tornado.git
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.3
+Testsuite: autopkgtest
+
+Package: python-pytest-tornado
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python:Depends}
+Description: py.test plugin to test Tornado applications
+ pytest-tornado is a plugin for the Pytest testing framework which
+ provides fixtures and markers to simplify testing of Tornado applications
+ (Python web framework and ansynchronous networking library).
+ .
+ This package contains the plugin for Python 2 code.
+
+Package: python3-pytest-tornado
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python3:Depends}
+Description: py.test plugin to test Tornado applications (Python 3)
+ pytest-tornado is a plugin for the Pytest testing framework which
+ provides fixtures and markers to simplify testing of Tornado applications
+ (Python web framework and ansynchronous networking library).
+ .
+ This package contains the plugin for Python 3 code.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..d0a0d79
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,28 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pytest-tornado
+Upstream-Contact: Eugeniy Kalinin <burump at gmail.com>
+Source: https://github.com/eugeniy/pytest-tornado
+
+Files: *
+Copyright: 2015-2014 Eugeniy Kalinin
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2015 Daniel Stender <debian at danielstender.com>
+License: Apache-2.0
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian systems, the complete text of the Apache version 2.0 license
+ can be found in "/usr/share/common-licenses/Apache-2.0".
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..e146337
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,8 @@
+[DEFAULT]
+upstream-tag = upstream/%(version)s
+debian-tag = debian/%(version)s
+pristine-tar = True
+
+[git-import-orig]
+upstream-branch = upstream
+debian-branch = master
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..7ccc20e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+#export DEB_BUILD_OPTIONS=nocheck
+export PYBUILD_NAME=pytest-tornado
+
+# block the net precautionary
+export http_proxy=http://127.0.0.1:9/
+export https_proxy=http://127.0.0.1:9/
+
+%:
+ 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:
+ pandoc -f rst -t plain -o .pybuild/README README.rst
+ dh_installdocs -A .pybuild/README
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/tests/control b/debian/tests/control
new file mode 100644
index 0000000..24bd6ae
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,5 @@
+Tests: python-pytest-tornado
+Depends: @, python-all, python-pytest, python-tornado
+
+Tests: python3-pytest-tornado
+Depends: @, python3-all, python3-pytest, python3-tornado
\ No newline at end of file
diff --git a/debian/tests/python-pytest-tornado b/debian/tests/python-pytest-tornado
new file mode 100755
index 0000000..d1e0b0e
--- /dev/null
+++ b/debian/tests/python-pytest-tornado
@@ -0,0 +1,2 @@
+#!/bin/sh -e
+pyversions -i | tr ' ' '\n' | xargs -I {} env {} -Wd -m pytest -v -x 2>&1
\ No newline at end of file
diff --git a/debian/tests/python3-pytest-tornado b/debian/tests/python3-pytest-tornado
new file mode 100755
index 0000000..c99936d
--- /dev/null
+++ b/debian/tests/python3-pytest-tornado
@@ -0,0 +1,2 @@
+#!/bin/sh -e
+py3versions -i | tr ' ' '\n' | xargs -I {} env {} -Wd -m pytest -v -x 2>&1
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..80f8c24
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts="filenamemangle=s/(?:.*\/)?v(\d[\d\.]+)\.tar\.gz/pytest-tornado-$1.tar.gz/" \
+https://github.com/eugeniy/pytest-tornado/releases (?:.*/)?v(\d[\d\.]+)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pytest-tornado.git
More information about the Python-modules-commits
mailing list