[Python-modules-commits] [pytest-expect] 03/03: Initial packaging. (Closes #844387)

Diane Trout diane at moszumanska.debian.org
Tue Nov 15 19:25:09 UTC 2016


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

diane pushed a commit to branch master
in repository pytest-expect.

commit 72559f18de835cbd7c07bb4f66297fce619a46ab
Author: Diane Trout <diane at ghic.org>
Date:   Tue Nov 15 11:21:53 2016 -0800

    Initial packaging. (Closes #844387)
---
 debian/changelog |  5 +++++
 debian/compat    |  1 +
 debian/control   | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/copyright | 30 ++++++++++++++++++++++++++++++
 debian/rules     | 11 +++++++++++
 debian/watch     |  4 ++++
 6 files changed, 106 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5d0d9f0
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+pytest-expect (1.1.0-1) unstable; urgency=medium
+
+  * Initial packaging. (Closes #844387)
+
+ -- Diane Trout <diane at ghic.org>  Mon, 14 Nov 2016 22:49:06 -0800
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..e22463a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,55 @@
+Source: pytest-expect
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Diane Trout <diane at ghic.org>
+Build-Depends: debhelper (>= 9),
+	       dh-python,
+	       python-all (>= 2.6.6-3~),
+	       python-setuptools,
+	       python-six,
+	       python3-all,
+	       python3-setuptools,
+	       python3-six,
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/pytest-expect.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/pytest-expect.git
+Homepage: https://github.com/html5lib/html5lib-python
+Standards-Version: 3.9.8
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
+
+Package: python-pytest-expect
+Architecture: all
+Depends: python-six,
+	 python-pytest,
+	 python-u-msgpack,
+	 ${misc:Depends},
+	 ${python:Depends},
+Description: py.test plugin to store test expectations
+ A py.test plugin that stores test expectations by saving the set of failing
+ tests, allowing them to be marked as xfail when running them in future. The
+ tests expectations are stored such that they can be distributed alongside the
+ tests. However, note that test expectations can only be reliably shared between
+ Python 2 and Python 3 if they only use ASCII characters in their node ids: this
+ likely isn’t a limitation if tests are using the normal Python format, as
+ Python 2 only allows ASCII characters in identifiers.
+ .
+ This package contains the Python 2 version of pytest-expect
+
+Package: python3-pytest-expect
+Architecture: all
+Depends: python3-six,
+	 python3-pytest,
+	 python3-u-msgpack,
+	 ${misc:Depends},
+	 ${python3:Depends},
+Description: py.test-3 plugin to store test expectations
+ A py.test plugin that stores test expectations by saving the set of failing
+ tests, allowing them to be marked as xfail when running them in future. The
+ tests expectations are stored such that they can be distributed alongside the
+ tests. However, note that test expectations can only be reliably shared between
+ Python 2 and Python 3 if they only use ASCII characters in their node ids: this
+ likely isn’t a limitation if tests are using the normal Python format, as
+ Python 2 only allows ASCII characters in identifiers.
+ .
+ This package contains the Python 3 version of pytest-expect.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..14e4868
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pytest-expect
+Source: https://github.com/gsnedders/pytest-expect
+
+Files: *
+Copyright: Copyright (c) 2015 Geoffrey Sneddon
+License: Expat
+
+Files: debian/*
+Copyright: 2016, Diane Trout <diane at ghic.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/rules b/debian/rules
new file mode 100755
index 0000000..0b4250a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=pytest-expect
+#export PYBUILD_VERBOSE=1
+#export DH_VERBOSE=1
+
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
+
+.PHONY: override_dh_auto_test
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..cc2c404
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%pytest-expect-$1.tar.gz%" \
+    https://github.com/gsnedders/pytest-expect/tags \
+    (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate

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



More information about the Python-modules-commits mailing list