debian/0000755000000000000000000000000012302631465007170 5ustar debian/copyright0000644000000000000000000000302211547426636011134 0ustar This package was debianized by Fabio Tranchitella on Wed, 02 Feb 2006. It was downloaded from http://formencode.org. Upstream Author: Ian Bicking Copyright: Copyright (C) 2001-2008 Ian Bicking License: This package is licensed under the MIT License, as confirmed by the upstream author, but actually the tarball lacks of a clear license statement which will be included with the next release. MIT License: 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. debian/changelog0000644000000000000000000001735412302631465011054 0ustar python-formencode (1.2.6-1ubuntu1) trusty; urgency=medium * Remove tests that fail without network connection. See #738722. -- Matthias Klose Mon, 24 Feb 2014 12:54:57 +0100 python-formencode (1.2.6-1) unstable; urgency=low [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. [ Piotr Ożarowski ] * New upstream release (closes: #727229) - works fine with Python 2.7, tested also with tests from github repo (closes: #606521) * Rewrite debian/rules to use pybuild, dh-python added to Build-Depends * debhelper's compat level changed to 9 * python-nose, python-dns and python-pycountry added to Build-Depends (used in tests which are run at build time now, closes: #606518) * debian/watch file updated (closes: #727230) * Standards-version bumped to 3.9.5 (dh sequencer covers build-* targets) * Remove debian/pycompat and preinst files, no longer needed -- Piotr Ożarowski Mon, 02 Dec 2013 20:54:01 +0100 python-formencode (1.2.4-2) unstable; urgency=low * Add `set -e` to build loop (closes: #606620) -- Piotr Ożarowski Sat, 07 May 2011 21:12:33 +0200 python-formencode (1.2.4-1) unstable; urgency=low * New upstream release * Remove i18n directory from site-packages * python2.{3,4}-formencode Conflicts/Replaces dropped * Convert from dh_pysupport to dh_python2 * Change source format to 3.0 (quilt) * Standards-version bumped to 3.9.2 (no changes needed) -- Piotr Ożarowski Thu, 07 Apr 2011 23:33:35 +0200 python-formencode (1.2.2-1) unstable; urgency=low * New upstream release * Convert to python-support * Add debian/preinst to clean after python-central (Closes: #518490) * Remove Section from binary staza * Remove dh_python call from debian/rules -- Piotr Ożarowski Mon, 09 Mar 2009 22:56:44 +0100 python-formencode (1.2.1-2) unstable; urgency=low * Upload to unstable -- Piotr Ożarowski Mon, 23 Feb 2009 21:04:26 +0100 python-formencode (1.2.1-1) experimental; urgency=low * New upstream release (upload to experimental due to Lenny freeze, to ease testing rev. dependencies) * Add "${misc:Depends}" to Depends -- Piotr Ożarowski Sun, 21 Dec 2008 21:06:26 +0100 python-formencode (1.2-1) experimental; urgency=low * New upstream release (upload to experimental due to Lenny freeze, to ease testing rev. dependencies) * Install .mo files in /usr/share/locale directory * Add myself to Uploaders -- Piotr Ożarowski Tue, 25 Nov 2008 19:24:20 +0100 python-formencode (1.1-1) experimental; urgency=low [ Carlos Galisteo ] * debian/control: - Added Homepage field. [ Sandro Tosi ] * debian/control - switch Vcs-Browser field to viewsvn [ Piotr Ożarowski ] * New upstream release (upload to experimental due to Lenny freeze, to ease testing rev. dependencies) * DH_PYCENTRAL=nomove removed from debian/rules * Add python-pkg-resources to Depends * Add python-egenix-mxdatetime to Suggests * Replace python-elementtree dependency with: python (>= 2.5) | python-elementtree * Remove .py[co] files in clean rule * Standards-version bumped to 3.8.0 (new Homepage field, see above) -- Debian Python Modules Team Thu, 06 Nov 2008 19:29:50 +0100 python-formencode (1.0.1-1) unstable; urgency=low * New upstream release. -- Fabio Tranchitella Fri, 28 Mar 2008 06:25:38 +0100 python-formencode (1.0-1) unstable; urgency=low [ Fabio Tranchitella ] * New upstream release. [ Sandro Tosi ] * debian/control - uniforming Vcs-Browser field -- Fabio Tranchitella Tue, 18 Dec 2007 11:10:26 +0100 python-formencode (0.9-1) unstable; urgency=low [ Piotr Ożarowski ] * Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now) [ Fabio Tranchitella ] * New upstream release. -- Fabio Tranchitella Tue, 18 Dec 2007 11:03:13 +0100 python-formencode (0.7.1-2) unstable; urgency=low * debian/control: depends on python-elementtree. (Closes: #424659) * debian/rules: install missing i18n files. (Closes: #422927) -- Fabio Tranchitella Sun, 24 Jun 2007 12:17:51 +0200 python-formencode (0.7.1-1) unstable; urgency=low * New upstream release. -- Fabio Tranchitella Sun, 1 Apr 2007 19:59:25 +0200 python-formencode (0.7-1) unstable; urgency=low * New upstream release. -- Fabio Tranchitella Wed, 21 Feb 2007 09:45:00 +0100 python-formencode (0.6-1) unstable; urgency=low * New upstream release. * debian/patches/email_validator.dpatch: removed, applied upstream. -- Fabio Tranchitella Tue, 5 Dec 2006 14:36:32 +0100 python-formencode (0.5.1-4) unstable; urgency=low * debian/patches/email_validator.dpatch: exception not catched, applied patch from Arnaud Fontaine , applied upstream in r1828. (Closes: #378459) -- Fabio Tranchitella Wed, 19 Jul 2006 20:53:08 +0200 python-formencode (0.5.1-3) unstable; urgency=low * debian/control: depends on python-dns. (Closes: #377025) * debian/control: removed "[dummy package]" from short description. (Closes: #377031) -- Fabio Tranchitella Fri, 14 Jul 2006 11:55:44 +0200 python-formencode (0.5.1-2) unstable; urgency=low * debian/control: conflicts/replaces for both python2.[34]-formencode. (Closes: #373917) -- Fabio Tranchitella Fri, 16 Jun 2006 12:49:08 +0200 python-formencode (0.5.1-1) unstable; urgency=low * New upstream release. (Closes: #372616) * Python policy transition. (Closes: #373534) -- Fabio Tranchitella Thu, 15 Jun 2006 18:44:05 +0200 python-formencode (0.4-6) unstable; urgency=low * debian/rules, setup.py: modified to use python-support to install the egg support, thanks to Gustavo Noronha Silva. (Closes: #365957) -- Fabio Tranchitella Tue, 30 May 2006 21:46:38 +0200 python-formencode (0.4-5) unstable; urgency=low * Removed sqlformgen.py and formgen.py from the python2.3 package, that code is 2.4-only and experimental. (Closes: #360550) -- Fabio Tranchitella Fri, 7 Apr 2006 08:11:33 +0000 python-formencode (0.4-4) unstable; urgency=low * First official release for debian. (Closes: #338382, #354916) -- Fabio Tranchitella Tue, 17 Jan 2006 17:06:31 +0000 python-formencode (0.4-3) unstable; urgency=low * The future of python is .egg deployment, so putting back the .egg, you can follow all the details in the mailing lists. -- Robert J. Tanner Mon, 21 Nov 2005 18:51:35 -0600 python-formencode (0.4-2) unstable; urgency=low * Fixed grave python-policy violations. Thanks Matthias -- Robert J. Tanner Mon, 21 Nov 2005 13:55:23 -0600 python-formencode (0.4-1) unstable; urgency=low * New upstream release * http://formencode.org/news.html * Patch for Bug #1362549 listed on SourceForge * Patch for Bug #1362566 listed on SourceForge -- Robert J. Tanner Sun, 20 Nov 2005 23:36:25 -0600 python-formencode (0.3-0.1) unstable; urgency=low * New upstream release * Patch for improper path for testsuite -- Robert J. Tanner Sat, 12 Nov 2005 11:48:11 -0600 python-formencode (0.2.3dev-0) unstable; urgency=low * New upstream release -- Robert J. Tanner Sat, 12 Nov 2005 11:48:11 -0600 python-formencode (0.2.2-0) unstable; urgency=low * Initial Release * ITP: python-formencode (Closes: #338382) -- Robert J. Tanner Wed, 9 Nov 2005 17:26:09 -0600 debian/compat0000644000000000000000000000000212247164046010372 0ustar 9 debian/patches/0000755000000000000000000000000012302631406010612 5ustar debian/patches/series0000644000000000000000000000002612302631203012020 0ustar remove-dns-tests-diff debian/patches/remove-dns-tests-diff0000644000000000000000000000402112302631406014657 0ustar 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:: debian/control0000644000000000000000000000222512247165073010601 0ustar Source: python-formencode Section: python Priority: optional Build-Depends: debhelper (>= 9), dh-python, python-all (>= 2.6.6-3), python-setuptools (>= 0.6a9), # used in tests: python-nose, python-pycountry, python-dns Maintainer: Fabio Tranchitella Uploaders: Debian Python Modules Team , Piotr Ożarowski Standards-Version: 3.9.5 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/ Homepage: http://formencode.org Package: python-formencode Architecture: all Depends: ${python:Depends}, ${misc:Depends}, python-dns, python-pkg-resources, python (>= 2.5) | python-elementtree Suggests: python-egenix-mxdatetime Description: validation and form generation Python package FormEncode is a validation and form generation package. The validation can be used separately from the form generation. The validation works on compound data structures, with all parts being nestable. It is separate from HTTP or any other input mechanism. debian/rules0000755000000000000000000000054012247167357010263 0ustar #! /usr/bin/make -f export PYBUILD_NAME=formencode export PYBUILD_TEST_NOSE=1 %: dh $@ --with python2 --buildsystem=pybuild override_dh_auto_install: dh_auto_install --buildsystem=pybuild find debian/python-formencode/ -type d -name i18n -print0 | xargs --null --no-run-if-empty rm -rf dh_install -X.po -X.py formencode/i18n/* /usr/share/locale/ debian/source/0000755000000000000000000000000011547426702010476 5ustar debian/source/format0000644000000000000000000000001411547427555011713 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000021312247163041010213 0ustar version=3 opts=uversionmangle=s/(rc|dev|a|b|c)/~$1/ \ http://pypi.python.org/packages/source/F/FormEncode/FormEncode-(.*)\.(?:tar\.gz|zip)