[Pkg-freeipa-devel] python-kdcproxy: Changes to 'master'
Timo Aaltonen
tjaalton at moszumanska.debian.org
Thu Oct 27 10:25:13 UTC 2016
debian/changelog | 7 +++++++
debian/patches/workaround-mock-bug.diff | 22 ++++++++++++++++++++++
debian/rules | 2 +-
3 files changed, 30 insertions(+), 1 deletion(-)
New commits:
commit eee67da8159b0b0f8e099462306d739dffd1a8fb
Author: Timo Aaltonen <tjaalton at debian.org>
Date: Thu Oct 27 13:25:02 2016 +0300
releasing package python-kdcproxy version 0.3.2-4
diff --git a/debian/changelog b/debian/changelog
index e192700..1b1d34e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,9 @@
-python-kdcproxy (0.3.2-4) UNRELEASED; urgency=medium
+python-kdcproxy (0.3.2-4) unstable; urgency=medium
* rules: Set a local http_proxy to avoid accessing network.
(Closes: #833000)
- -- Timo Aaltonen <tjaalton at debian.org> Wed, 10 Aug 2016 22:09:03 +0300
+ -- Timo Aaltonen <tjaalton at debian.org> Thu, 27 Oct 2016 10:18:34 +0300
python-kdcproxy (0.3.2-3) unstable; urgency=medium
commit 5d1807d3d6b55eacde0ef4d963565b0ef30707fa
Author: Timo Aaltonen <tjaalton at debian.org>
Date: Thu Oct 27 10:18:32 2016 +0300
rules: Set a local http_proxy to avoid accessing network. (Closes: #833000)
diff --git a/debian/changelog b/debian/changelog
index a86c6ee..e192700 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+python-kdcproxy (0.3.2-4) UNRELEASED; urgency=medium
+
+ * rules: Set a local http_proxy to avoid accessing network.
+ (Closes: #833000)
+
+ -- Timo Aaltonen <tjaalton at debian.org> Wed, 10 Aug 2016 22:09:03 +0300
+
python-kdcproxy (0.3.2-3) unstable; urgency=medium
* control: Add libkrb5-3 to build-depends.
diff --git a/debian/patches/workaround-mock-bug.diff b/debian/patches/workaround-mock-bug.diff
new file mode 100644
index 0000000..d1d9590
--- /dev/null
+++ b/debian/patches/workaround-mock-bug.diff
@@ -0,0 +1,22 @@
+https://github.com/testing-cabal/mock/issues/323
+
+--- a/tests.py
++++ b/tests.py
+@@ -79,7 +79,7 @@ class KDCProxyWSGITests(unittest.TestCas
+ self.assertEqual(r.text, 'Method not allowed (GET).')
+
+ @mock.patch('socket.getaddrinfo', return_value=addrinfo)
+- @mock.patch('socket.socket', autospec=True)
++ @mock.patch('socket.socket')
+ def test_post_asreq(self, m_socket, m_getaddrinfo):
+ response = self.post(KDCProxyCodecTests.asreq1)
+ self.assert_response(response)
+@@ -92,7 +92,7 @@ class KDCProxyWSGITests(unittest.TestCas
+ )
+
+ @mock.patch('socket.getaddrinfo', return_value=addrinfo)
+- @mock.patch('socket.socket', autospec=True)
++ @mock.patch('socket.socket')
+ def test_post_kpasswd(self, m_socket, m_getaddrinfo):
+ response = self.post(KDCProxyCodecTests.kpasswdreq)
+ self.assert_response(response)
diff --git a/debian/rules b/debian/rules
index 941abc7..922845b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,4 +11,4 @@ override_dh_auto_install:
rm -rf debian/python*-kdcproxy/usr/lib/python*/dist-packages/kdcproxy-*.egg-info
override_dh_auto_test:
- tox --sitepackages -e py27,py35
+ http_proxy='http://127.0.0.1:9/' tox --sitepackages -e py27,py35
More information about the Pkg-freeipa-devel
mailing list