--- python-formencode-1.2.2.orig/debian/preinst +++ python-formencode-1.2.2/debian/preinst @@ -0,0 +1,16 @@ +#!/bin/sh +# TODO: remove this file after releasing Squeeze +set -e +if [ "$1" = upgrade ] +then + if dpkg --compare-versions "$2" lt 1.1-1; then + pycentral pkgremove python-formencode + elif dpkg --compare-versions "$2" lt 1.2.2-1; then + pycentral pkgremove python-formencode + # pycentral will not remove files that were moved in 1.1-1 + rm -rf /usr/lib/python2.4/site-packages/formencode/ + rm -rf /usr/lib/python2.5/site-packages/formencode/ + fi +fi + +#DEBHELPER# --- python-formencode-1.2.2.orig/debian/copyright +++ python-formencode-1.2.2/debian/copyright @@ -0,0 +1,37 @@ +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. --- python-formencode-1.2.2.orig/debian/pycompat +++ python-formencode-1.2.2/debian/pycompat @@ -0,0 +1 @@ +2 --- python-formencode-1.2.2.orig/debian/changelog +++ python-formencode-1.2.2/debian/changelog @@ -0,0 +1,229 @@ +python-formencode (1.2.2-1ubuntu3) lucid; urgency=low + + * Remove previous commit. + * debian/control: Remove python-dns. + + -- Chuck Short Tue, 23 Mar 2010 14:33:32 -0400 + +python-formencode (1.2.2-1ubuntu2) lucid; urgency=low + + * debian/rules: Enable testsuite. + + -- Chuck Short Tue, 23 Mar 2010 13:47:16 -0400 + +python-formencode (1.2.2-1ubuntu1) karmic; urgency=low + + * Merge from debian unstable, remaining changes: + - Python 2.6 transition + + -- Michael Bienia Tue, 28 Apr 2009 11:28:56 +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-1ubuntu1) jaunty; urgency=low + + * Python 2.6 transition. + * Remove dh_python call from debian/rules. + + -- Michael Bienia Sun, 01 Mar 2009 16:34:43 +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 --- python-formencode-1.2.2.orig/debian/compat +++ python-formencode-1.2.2/debian/compat @@ -0,0 +1 @@ +5 --- python-formencode-1.2.2.orig/debian/control +++ python-formencode-1.2.2/debian/control @@ -0,0 +1,27 @@ +Source: python-formencode +Section: python +Priority: optional +Build-Depends: debhelper (>= 5.0.37.2), python-all-dev, python (>= 2.3.5-7), python-support (>= 0.6), python-setuptools (>= 0.6a9) +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Fabio Tranchitella +Uploaders: Debian Python Modules Team , + Piotr Ożarowski +Standards-Version: 3.8.0 +XS-Python-Version: all +Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-formencode/trunk/ +Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-formencode/trunk/ +Homepage: http://formencode.org + +Package: python-formencode +Architecture: all +Depends: ${python:Depends}, ${misc:Depends}, python-pkg-resources, + python (>= 2.5) | python-elementtree +Suggests: python-egenix-mxdatetime +Replaces: python2.3-formencode (<< 0.5.1), python2.4-formencode (<< 0.5.1) +Conflicts: python2.3-formencode (<< 0.5.1), python2.4-formencode (<< 0.5.1) +XB-Python-Version: ${python:Versions} +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. --- python-formencode-1.2.2.orig/debian/rules +++ python-formencode-1.2.2/debian/rules @@ -0,0 +1,60 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +include /usr/share/python/python.mk + +PYVERS=$(shell pyversions -r debian/control) + +build: build-stamp +build-stamp: + dh_testdir + for python in $(PYVERS); \ + do $$python setup.py build; \ + done + for python in $(PYVERS); \ + do $$python setup.py test; \ + done + touch build-stamp + +clean: + dh_testdir + for python in $(PYVERS); \ + do $$python setup.py clean; \ + done + rm -rf build-stamp build + rm -rf FormEncode.egg-info + find . -name '*\.py[co]' -delete + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + for python in $(PYVERS); \ + do $$python setup.py install --root=$(CURDIR)/debian/python-formencode --no-compile --single-version-externally-managed $(py_setup_install_args); \ + dh_install -i formencode/i18n $(py_libdir_sh)/formencode ; \ + done + dh_install -X.po -X.py formencode/i18n/* /usr/share/locale/ + +# Build architecture-dependent files here. +binary-arch: + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs -ppython-formencode + dh_installdocs -i docs/*.txt + dh_installchangelogs -i + dh_compress -i + dh_fixperms -i + dh_pysupport -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary: binary-arch binary-indep +.PHONY: build clean binary-indep binary --- python-formencode-1.2.2.orig/debian/watch +++ python-formencode-1.2.2/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://cheeseshop.python.org/packages/source/F/FormEncode/FormEncode-(.*)\.tar\.gz debian uupdate