[Python-modules-commits] [httmock] 03/03: Initial release (closes: #866777).

Colin Watson cjwatson at moszumanska.debian.org
Sat Jul 1 19:49:58 UTC 2017


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

cjwatson pushed a commit to branch master
in repository httmock.

commit c15f9abdb7ba1afe1f3494014158c63a4c1f9382
Author: Colin Watson <cjwatson at debian.org>
Date:   Sat Jul 1 20:49:10 2017 +0100

    Initial release (closes: #866777).
---
 debian/.git-dpm  |  3 +++
 debian/changelog |  5 +++++
 debian/compat    |  1 +
 debian/control   | 39 +++++++++++++++++++++++++++++++++++++++
 debian/copyright | 22 ++++++++++++++++++++++
 debian/rules     |  6 ++++++
 debian/watch     |  4 ++++
 7 files changed, 80 insertions(+)

diff --git a/debian/.git-dpm b/debian/.git-dpm
index 121d6d9..f498cf6 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -6,3 +6,6 @@
 httmock_1.2.6.orig.tar.gz
 3d18cf546d8d31c03d4fd0d9b8c90e5a4dda4d2c
 5910
+debianTag="debian/%e%v"
+patchedTag="patched/%e%v"
+upstreamTag="upstream/%e%u"
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..2c168df
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+httmock (1.2.6-1) UNRELEASED; urgency=medium
+
+  * Initial release (closes: #866777).
+
+ -- Colin Watson <cjwatson at debian.org>  Sat, 01 Jul 2017 20:48:58 +0100
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..8223839
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,39 @@
+Source: httmock
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Colin Watson <cjwatson at debian.org>
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               python (>= 2.6.6-3~),
+               python-requests (>= 1.0.0),
+               python-setuptools,
+               python3 (>= 3.1.2-8~),
+               python3-requests (>= 1.0.0),
+               python3-setuptools
+Standards-Version: 4.0.0
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/httmock.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/httmock.git
+Homepage: https://github.com/patrys/httmock
+
+Package: python-httmock
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends}, ${python:Depends}
+Description: Mocking library for python-requests
+ This library allows unit tests to provide mocked responses to HTTP requests
+ made using the 'requests' library, either conditionally using the
+ 'urlmatch' decorator or for all requests using the 'all_requests'
+ decorator.
+
+Package: python3-httmock
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Mocking library for python3-requests
+ This library allows unit tests to provide mocked responses to HTTP requests
+ made using the 'requests' library, either conditionally using the
+ 'urlmatch' decorator or for all requests using the 'all_requests'
+ decorator.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..0f03daf
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,22 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: httmock
+Upstream-Contact: Patryk Zawadzki <patrys at room-303.com>
+Source: https://github.com/patrys/httmock
+
+Files: *
+Copyright: 2013 Patryk Zawadzki
+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 and Debian-based systems, a copy of the Apache License version
+ 2.0 is available in /usr/share/common-licenses/Apache-2.0.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..04dedf4
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,6 @@
+#! /usr/bin/make -f
+
+export PYBUILD_NAME := httmock
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..08d854f
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%httmock-$1.tar.gz%" \
+    https://github.com/patrys/httmock/releases \
+    (?:.*?/)?v?(\d[\d.]*)\.tar\.gz

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



More information about the Python-modules-commits mailing list