diff -Nru python-formencode-1.2.6/debian/changelog python-formencode-1.2.6/debian/changelog --- python-formencode-1.2.6/debian/changelog 2014-02-24 11:55:33.000000000 +0000 +++ python-formencode-1.2.6/debian/changelog 2014-09-28 23:04:53.000000000 +0000 @@ -1,8 +1,14 @@ -python-formencode (1.2.6-1ubuntu1) trusty; urgency=medium +python-formencode (1.2.6-2) unstable; urgency=medium - * Remove tests that fail without network connection. See #738722. + * Team upload - -- Matthias Klose Mon, 24 Feb 2014 12:54:57 +0100 + [ Scott Kitterman ] + * Add debian/patches/dns_test_disable.diff to disable tests that require DNS + access to run (Closes: #738722) + - Thanks to Andrey Rahmatullin for the patch + * Bump standards version to 3.9.6 without further change + + -- Scott Kitterman Sun, 28 Sep 2014 19:01:14 -0400 python-formencode (1.2.6-1) unstable; urgency=low diff -Nru python-formencode-1.2.6/debian/control python-formencode-1.2.6/debian/control --- python-formencode-1.2.6/debian/control 2013-12-02 20:14:51.000000000 +0000 +++ python-formencode-1.2.6/debian/control 2014-09-28 23:04:32.000000000 +0000 @@ -7,7 +7,7 @@ Maintainer: Fabio Tranchitella Uploaders: Debian Python Modules Team , Piotr Ożarowski -Standards-Version: 3.9.5 +Standards-Version: 3.9.6 X-Python-Version: >= 2.4 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-formencode/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-formencode/trunk/ diff -Nru python-formencode-1.2.6/debian/patches/remove-dns-tests-diff python-formencode-1.2.6/debian/patches/remove-dns-tests-diff --- python-formencode-1.2.6/debian/patches/remove-dns-tests-diff 2014-02-24 11:54:46.000000000 +0000 +++ python-formencode-1.2.6/debian/patches/remove-dns-tests-diff 1970-01-01 00:00:00.000000000 +0000 @@ -1,48 +0,0 @@ -Index: b/formencode/validators.py -=================================================================== ---- a/formencode/validators.py -+++ b/formencode/validators.py -@@ -1263,20 +1263,6 @@ - 'nobody@xn--m7r7ml7t24h.com' - >>> e.to_python('o*reilly@test.com') - 'o*reilly@test.com' -- >>> e = Email(resolve_domain=True) -- >>> e.resolve_domain -- True -- >>> e.to_python('doesnotexist@colorstudy.com') -- 'doesnotexist@colorstudy.com' -- >>> e.to_python('test@nyu.edu') -- 'test@nyu.edu' -- >>> # NOTE: If you do not have PyDNS installed this example won't work: -- >>> e.to_python('test@thisdomaindoesnotexistithinkforsure.com') -- Traceback (most recent call last): -- ... -- Invalid: The domain of the email address does not exist (the portion after the @: thisdomaindoesnotexistithinkforsure.com) -- >>> e.to_python(u'test@google.com') -- u'test@google.com' - >>> e = Email(not_empty=False) - >>> e.to_python('') - -@@ -1393,22 +1379,6 @@ - Traceback (most recent call last): - ... - Invalid: That is not a valid URL -- >>> u = URL(add_http=False, check_exists=True) -- >>> u.to_python('http://google.com') -- 'http://google.com' -- >>> u.to_python('google.com') -- Traceback (most recent call last): -- ... -- Invalid: You must start your URL with http://, https://, etc -- >>> u.to_python('http://www.formencode.org/does/not/exist/page.html') -- Traceback (most recent call last): -- ... -- Invalid: The server responded that the page could not be found -- >>> u.to_python('http://this.domain.does.not.exist.example.org/test.html') -- ... # doctest: +ELLIPSIS -- Traceback (most recent call last): -- ... -- Invalid: An error occured when trying to connect to the server: ... - - If you want to allow addresses without a TLD (e.g., ``localhost``) you can do:: - diff -Nru python-formencode-1.2.6/debian/patches/remove-dns-tests.diff python-formencode-1.2.6/debian/patches/remove-dns-tests.diff --- python-formencode-1.2.6/debian/patches/remove-dns-tests.diff 1970-01-01 00:00:00.000000000 +0000 +++ python-formencode-1.2.6/debian/patches/remove-dns-tests.diff 2014-09-29 04:08:04.000000000 +0000 @@ -0,0 +1,49 @@ +Tests that require network (DNS) access +Index: python-formencode-1.2.6/formencode/validators.py +=================================================================== +--- python-formencode-1.2.6.orig/formencode/validators.py 2014-09-29 00:05:49.005577826 -0400 ++++ python-formencode-1.2.6/formencode/validators.py 2014-09-29 00:06:12.357577136 -0400 +@@ -1263,20 +1263,6 @@ + 'nobody@xn--m7r7ml7t24h.com' + >>> e.to_python('o*reilly@test.com') + 'o*reilly@test.com' +- >>> e = Email(resolve_domain=True) +- >>> e.resolve_domain +- True +- >>> e.to_python('doesnotexist@colorstudy.com') +- 'doesnotexist@colorstudy.com' +- >>> e.to_python('test@nyu.edu') +- 'test@nyu.edu' +- >>> # NOTE: If you do not have PyDNS installed this example won't work: +- >>> e.to_python('test@thisdomaindoesnotexistithinkforsure.com') +- Traceback (most recent call last): +- ... +- Invalid: The domain of the email address does not exist (the portion after the @: thisdomaindoesnotexistithinkforsure.com) +- >>> e.to_python(u'test@google.com') +- u'test@google.com' + >>> e = Email(not_empty=False) + >>> e.to_python('') + +@@ -1393,22 +1379,6 @@ + Traceback (most recent call last): + ... + Invalid: That is not a valid URL +- >>> u = URL(add_http=False, check_exists=True) +- >>> u.to_python('http://google.com') +- 'http://google.com' +- >>> u.to_python('google.com') +- Traceback (most recent call last): +- ... +- Invalid: You must start your URL with http://, https://, etc +- >>> u.to_python('http://www.formencode.org/does/not/exist/page.html') +- Traceback (most recent call last): +- ... +- Invalid: The server responded that the page could not be found +- >>> u.to_python('http://this.domain.does.not.exist.example.org/test.html') +- ... # doctest: +ELLIPSIS +- Traceback (most recent call last): +- ... +- Invalid: An error occured when trying to connect to the server: ... + + If you want to allow addresses without a TLD (e.g., ``localhost``) you can do:: + diff -Nru python-formencode-1.2.6/debian/patches/series python-formencode-1.2.6/debian/patches/series --- python-formencode-1.2.6/debian/patches/series 2014-02-24 11:52:35.000000000 +0000 +++ python-formencode-1.2.6/debian/patches/series 2014-09-28 23:08:21.000000000 +0000 @@ -1 +1,2 @@ -remove-dns-tests-diff +remove-dns-tests.diff +