Codebase list httmock / c15f9ab
Initial release (closes: #866777). Colin Watson 6 years ago
7 changed file(s) with 80 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
55 httmock_1.2.6.orig.tar.gz
66 3d18cf546d8d31c03d4fd0d9b8c90e5a4dda4d2c
77 5910
8 debianTag="debian/%e%v"
9 patchedTag="patched/%e%v"
10 upstreamTag="upstream/%e%u"
0 httmock (1.2.6-1) UNRELEASED; urgency=medium
1
2 * Initial release (closes: #866777).
3
4 -- Colin Watson <cjwatson@debian.org> Sat, 01 Jul 2017 20:48:58 +0100
0 Source: httmock
1 Section: python
2 Priority: optional
3 Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
4 Uploaders: Colin Watson <cjwatson@debian.org>
5 Build-Depends: debhelper (>= 9),
6 dh-python,
7 python (>= 2.6.6-3~),
8 python-requests (>= 1.0.0),
9 python-setuptools,
10 python3 (>= 3.1.2-8~),
11 python3-requests (>= 1.0.0),
12 python3-setuptools
13 Standards-Version: 4.0.0
14 X-Python-Version: >= 2.6
15 X-Python3-Version: >= 3.2
16 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/httmock.git
17 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/httmock.git
18 Homepage: https://github.com/patrys/httmock
19
20 Package: python-httmock
21 Architecture: all
22 Multi-Arch: foreign
23 Depends: ${misc:Depends}, ${python:Depends}
24 Description: Mocking library for python-requests
25 This library allows unit tests to provide mocked responses to HTTP requests
26 made using the 'requests' library, either conditionally using the
27 'urlmatch' decorator or for all requests using the 'all_requests'
28 decorator.
29
30 Package: python3-httmock
31 Architecture: all
32 Multi-Arch: foreign
33 Depends: ${misc:Depends}, ${python3:Depends}
34 Description: Mocking library for python3-requests
35 This library allows unit tests to provide mocked responses to HTTP requests
36 made using the 'requests' library, either conditionally using the
37 'urlmatch' decorator or for all requests using the 'all_requests'
38 decorator.
0 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: httmock
2 Upstream-Contact: Patryk Zawadzki <patrys@room-303.com>
3 Source: https://github.com/patrys/httmock
4
5 Files: *
6 Copyright: 2013 Patryk Zawadzki
7 License: Apache-2.0
8 Licensed under the Apache License, Version 2.0 (the "License");
9 you may not use this file except in compliance with the License.
10 You may obtain a copy of the License at
11 .
12 http://www.apache.org/licenses/LICENSE-2.0
13 .
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19 .
20 On Debian and Debian-based systems, a copy of the Apache License version
21 2.0 is available in /usr/share/common-licenses/Apache-2.0.
0 #! /usr/bin/make -f
1
2 export PYBUILD_NAME := httmock
3
4 %:
5 dh $@ --with python2,python3 --buildsystem=pybuild
0 version=4
1 opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%httmock-$1.tar.gz%" \
2 https://github.com/patrys/httmock/releases \
3 (?:.*?/)?v?(\d[\d.]*)\.tar\.gz