--- kid-0.9.6.orig/debian/changelog +++ kid-0.9.6/debian/changelog @@ -0,0 +1,203 @@ +kid (0.9.6-3) unstable; urgency=low + + [ Jakub Wilk ] + * Use canonical URIs for Vcs-* fields. + + [ Stefano Rivera ] + * Port from python-support to dh_python2. (Closes: #786053) + * Wrap-and-sort. + + -- Stefano Rivera Wed, 19 Aug 2015 21:21:33 +0200 + +kid (0.9.6-2.1) unstable; urgency=low + + * Non-Maintainer upload + * Added escape_cdata patch (Closes: #564589) + + -- Alexander Neumann Wed, 23 Jan 2013 11:45:08 +0100 + +kid (0.9.6-2) unstable; urgency=low + + [ Piotr Ożarowski ] + * Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now) + + [ Sandro Tosi ] + * debian/control + - uniforming Vcs-Browser field + * debian/control + - switch Vcs-Browser field to viewsvn + + [ Carlos Galisteo ] + * debian/control + - Added Homepage field. + + [ Raphael Hertzog ] + * Remove myself from Uploaders. + + [ Jakub Wilk ] + * Depend on python-pkg-resources, rather than on python-setuptools + (closes: #468720). + * Drop python-elementtree from Depends and Build-Depends (Closes: #562469). + + [ Luca Falavigna ] + * debian/compat: + - Bump compatibility to 5. + * debian/control: + - Do not build-depend on python-all-dev, python-all is enough. + - Set XS-Python-Version to >= 2.5 for elementtree support. + - Add ${misc:Depends} to python-kid dependencies. + - Remove Conflicts/Replaces/Provides fields. + - Remove XB-Python-Version field. + - Bump Standards-Version to 3.8.3. + + -- Debian Python Modules Team Sun, 10 Jan 2010 17:19:59 +0100 + +kid (0.9.6-1) unstable; urgency=low + + [ Piotr Ożarowski ] + * New upstream release + * Added disable_ez_setup patch + * Added remove_shebang patch + * Added XS-Vcs-Browser field + + [ Raphael Hertzog ] + * Upload new upstream version. + + -- Raphael Hertzog Thu, 19 Jul 2007 13:05:00 +0200 + +kid (0.9.5-2) unstable; urgency=medium + + * New python-support handles egg's directory name correctly + - bump python-support required version + - remove mv part from debian/rules. Closes: #423973 + + -- Piotr Ożarowski Sat, 14 Jul 2007 22:18:12 +0200 + +kid (0.9.5-1) unstable; urgency=low + + [ Piotr Ozarowski ] + * New upstream release + * debian/watch file updated + * Added missing python-all-dev and python-support build dependency + + [ Raphael Hertzog ] + * Upload. + + -- Raphael Hertzog Tue, 13 Feb 2007 21:41:03 +0100 + +kid (0.9.4-1) unstable; urgency=low + + [ Ross Burton ] + * New upstream release + - Fixes whitespace handling (Closes: #356563) + + [ Raphael Hertzog ] + * Updated watch file to match the new upstream URL. + + [ Piotr Ozarowski ] + * Added XS-Vcs-Svn field + + -- Ross Burton Sun, 3 Dec 2006 16:09:37 +0000 + +kid (0.9.3-1) unstable; urgency=low + + * New upstream release (closes: #376536, #368979) + * Update upstream URL. + + -- Ross Burton Wed, 30 Aug 2006 09:08:29 +0100 + +kid (0.9.1-3) unstable; urgency=low + + * Update to the new Python policy. Closes: #373449 + * Depends on the new python-setuptools providing support + for multiple versions as well. + + -- Raphael Hertzog Wed, 14 Jun 2006 22:34:32 +0200 + +kid (0.9.1-2) unstable; urgency=low + + * Add python-setuptools to the Depends field. Closes: #367092 + * New standards-version (no changes required). + * Move some stuff to build-depends (from build-depends-indep). Fixes some + lintian warnings. + + -- Raphael Hertzog Sun, 14 May 2006 17:22:16 +0000 + +kid (0.9.1-1) unstable; urgency=low + + * New upstream version. + * Updated watch file to really detect new upstream version. + * Use python-support to support all available python versions with a single + package. Thus removes python2.{3,4}-kid packages. + * Manually rename the egg-info directory to make it clearer that the egg + is available to all python versions. + * Since python-elementtree does provide only support for python2.3 right + now, put python2.4-elementtree in Recommends so that 2.4 users (many!) + have a chance to notice that they will need it. It also means that + an application package using python2.4 and kid will have to explicitely + depends on python2.4-elementtree along with python-kid to make sure that + it will work. + * Versioned depend on python-elementtree to be sure that the package has egg + support and that /usr/bin/kid will work. + + -- Raphael Hertzog Mon, 17 Apr 2006 21:08:00 +0000 + +kid (0.9-1) unstable; urgency=low + + * Packages is maintained within the python-modules team. Add myself and + the team to the Uploaders field. + * New upstream release. Closes: #359012 + * Create 3 packages python2.3-kid, python2.4-kid, and python-kid depending + on python2.3-kid and providing the 2 binaries with their manpages. + Closes: #346111 + * Make python2.3-kid and python-kid replaces the old "kid" package. + * Make python-kid provides kid to ease the upgrade from the old package + name. And conflicts on it so that it gets removed. + * Use setuptools now to install the package so that we can install the egg + meta-data and make them available to the users. That's why we + build-depends on python-setuptools (>= 0.6a9). + + -- Raphael Hertzog Fri, 14 Apr 2006 09:15:18 +0200 + +kid (0.8-1) unstable; urgency=low + + * New upstream release (closes: #338276) + * Fix homepage URL + * Update Standards Version. + * Add manpages + + -- Ross Burton Thu, 10 Nov 2005 15:19:11 +0000 + +kid (0.6.4-1) unstable; urgency=low + + * New upstream release. + - Remove init-strip-test-dir.patch, fixed upstream. + + -- Ross Burton Fri, 1 Jul 2005 09:09:45 +0100 + +kid (0.6.3-2) unstable; urgency=low + + * Build-depend on python-elementtree (closes: #302452) + + -- Ross Burton Fri, 1 Apr 2005 11:11:51 +0100 + +kid (0.6.3-1) unstable; urgency=low + + * New upstream release (closes: #302172) + * Add debian/watch. + * debian/patches/init-strip-test-dir.patch: fix bug in kidc + + -- Ross Burton Wed, 30 Mar 2005 15:48:27 +0100 + +kid (0.5.1-1) unstable; urgency=low + + * New upstream release. + + -- Ross Burton Fri, 11 Feb 2005 10:06:49 +0000 + +kid (0.5-1) unstable; urgency=low + + * Initial release + + -- Ross Burton Fri, 28 Jan 2005 12:12:52 +0000 + --- kid-0.9.6.orig/debian/compat +++ kid-0.9.6/debian/compat @@ -0,0 +1 @@ +5 --- kid-0.9.6.orig/debian/control +++ kid-0.9.6/debian/control @@ -0,0 +1,26 @@ +Source: kid +Section: python +Priority: optional +Maintainer: Ross Burton +Uploaders: + Debian Python Modules Team +Build-Depends: + cdbs (>= 0.4.41), + debhelper (>= 5.0.37.1), + dh-python, + python-all (>= 2.5), + python-setuptools (>= 0.6a9) +X-Python-Version: >= 2.5 +Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/kid/trunk/ +Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/kid/trunk/ +Standards-Version: 3.8.3 +Homepage: http://www.kid-templating.org + +Package: python-kid +Architecture: all +Depends: python-pkg-resources, ${misc:Depends}, ${python:Depends} +Description: simple Pythonic template language for XML based vocabularies + Kid is a simple Pythonic template language for XML based vocabularies. It was + spawned as a result of a kinky love triangle between XSLT, TAL, and PHP. We + believe many of the best features of these languages live on in Kid with much + of the limitations and complexity stamped out. --- kid-0.9.6.orig/debian/copyright +++ kid-0.9.6/debian/copyright @@ -0,0 +1,28 @@ +This package was debianized by Ross Burton on +Fri, 28 Jan 2005 12:09:48 +0000 + +It was downloaded from http://www.kid-templating.org + +Copyright: + + Copyright (C) 2004, 2005 Ryan Tomayko + +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. --- kid-0.9.6.orig/debian/examples +++ kid-0.9.6/debian/examples @@ -0,0 +1,2 @@ +examples/* +test --- kid-0.9.6.orig/debian/kid.1 +++ kid-0.9.6/debian/kid.1 @@ -0,0 +1,54 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. +.TH KID "1" "November 2005" "Kid 0.7a" "User Commands" +.SH NAME +Kid \- manual page for Kid 0.7a +.SH SYNOPSIS +.B kid +[\fIoptions\fR] \fIfile \fR[\fIargs\fR] +.SH DESCRIPTION +Expand a Kid template file. +.PP +options: +.HP +\fB\-e\fR enc, \fB\-\-encoding\fR=\fIenc\fR +.IP +Specify the output character encoding. +Default: utf\-8 +.HP +\fB\-o\fR outfile, \fB\-\-output\fR=\fIoutfile\fR +.IP +Specify the output file. +Default: standard output +.HP +\fB\-s\fR host:port, \fB\-\-server\fR=\fIhost\fR:port +.IP +Specify the server address if +you want to start the HTTP server. +Instead of the Kid template, +you can specify a base directory. +.HP +\fB\-h\fR, \fB\-\-help\fR +.IP +Print this help message and exit. +.HP +\fB\-V\fR, \fB\-\-version\fR +.IP +Print the Kid version number and exit. +.SS "file:" +.IP +filename of the Kid template. +.SS "args:" +.IP +key=value or other arguments passed to the template. +.SH "SEE ALSO" +The full documentation for +.B Kid +is maintained as a Texinfo manual. If the +.B info +and +.B Kid +programs are properly installed at your site, the command +.IP +.B info Kid +.PP +should give you access to the complete manual. --- kid-0.9.6.orig/debian/kidc.1 +++ kid-0.9.6/debian/kidc.1 @@ -0,0 +1,56 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. +.TH OPTION "1" "November 2005" "option --version not recognized" "User Commands" +.SH NAME +option \- manual page for option --version not recognized +.SH SYNOPSIS +.B kidc +[\fIOPTIONS\fR] [\fIfile\fR...] +.SH DESCRIPTION +Compile kid templates into Python byte\-code (.pyc) files. +.SS "OPTIONS:" +.TP +\fB\-f\fR, \fB\-\-force\fR +Force compilation even if .pyc file already exists. +.TP +\fB\-s\fR, \fB\-\-source\fR +Generate .py source files along with .pyc files. This +is sometimes useful for debugging. +.TP +\fB\-d\fR, \fB\-\-strip\-dest\-dir\fR +Strips the supplied path from the beginning of source +filenames stored for error messages in the generated +\&.pyc files +.PP +Files list may have files and/or directories. If a directory is specified, +all .kid files found in the directory and any sub\-directories are compiled. +.PP +Usage: kidc [OPTIONS] [file...] +Compile kid templates into Python byte\-code (.pyc) files. +.SS "OPTIONS:" +.TP +\fB\-f\fR, \fB\-\-force\fR +Force compilation even if .pyc file already exists. +.TP +\fB\-s\fR, \fB\-\-source\fR +Generate .py source files along with .pyc files. This +is sometimes useful for debugging. +.TP +\fB\-d\fR, \fB\-\-strip\-dest\-dir\fR +Strips the supplied path from the beginning of source +filenames stored for error messages in the generated +\&.pyc files +.PP +Files list may have files and/or directories. If a directory is specified, +all .kid files found in the directory and any sub\-directories are compiled. +.SH "SEE ALSO" +The full documentation for +.B option +is maintained as a Texinfo manual. If the +.B info +and +.B option +programs are properly installed at your site, the command +.IP +.B info option +.PP +should give you access to the complete manual. --- kid-0.9.6.orig/debian/patches/disable_ez_setup.patch +++ kid-0.9.6/debian/patches/disable_ez_setup.patch @@ -0,0 +1,13 @@ +--- setup.py.orig 2007-07-18 22:10:01.000000000 +0200 ++++ setup.py 2007-07-18 22:10:15.000000000 +0200 +@@ -1,8 +1,8 @@ + #!/usr/bin/env python + + # bootstrap setuptools if necessary +-from ez_setup import use_setuptools +-use_setuptools() ++#from ez_setup import use_setuptools ++#use_setuptools() + + import os + --- kid-0.9.6.orig/debian/patches/escape_cdata.patch +++ kid-0.9.6/debian/patches/escape_cdata.patch @@ -0,0 +1,27 @@ +diff -up kid-0.9.6/kid/serialization.py.escape-gt kid-0.9.6/kid/serialization.py +--- kid-0.9.6/kid/serialization.py.escape-gt 2007-07-16 13:02:53.000000000 +0200 ++++ kid-0.9.6/kid/serialization.py 2010-01-10 14:42:09.000000000 +0100 +@@ -408,6 +408,7 @@ class XMLSerializer(Serializer): + return encode_entity(text, entities=entity_map) + text = text.replace("&", "&") + text = text.replace("<", "<") ++ text = text.replace("]]>", "]]>") + except (TypeError, AttributeError): + raise_serialization_error(text) + return text +@@ -423,6 +424,7 @@ class XMLSerializer(Serializer): + return encode_entity(text, entities=entity_map) + text = text.replace("&", "&") + text = text.replace("<", "<") ++ text = text.replace("]]>", "]]>") + text = text.replace("\"", """) + except (TypeError, AttributeError): + raise_serialization_error(text) +@@ -684,6 +686,7 @@ class HTMLSerializer(HTMLBased, Serializ + if escape: + text = text.replace("&", "&") + text = text.replace("<", "<") ++ text = text.replace("]]>", "]]>") + except (TypeError, AttributeError): + raise_serialization_error(text) + return text --- kid-0.9.6.orig/debian/patches/remove_shebang.patch +++ kid-0.9.6/debian/patches/remove_shebang.patch @@ -0,0 +1,7 @@ +--- kid/release.py.orig 2007-07-18 22:16:03.000000000 +0200 ++++ kid/release.py 2007-07-18 22:16:10.000000000 +0200 +@@ -1,4 +1,3 @@ +-#!/usr/bin/env python + # -*- coding: utf-8 -*- + + """Pythonic, XML Templating --- kid-0.9.6.orig/debian/python-kid.docs +++ kid-0.9.6/debian/python-kid.docs @@ -0,0 +1 @@ +doc/* --- kid-0.9.6.orig/debian/python-kid.manpages +++ kid-0.9.6/debian/python-kid.manpages @@ -0,0 +1,2 @@ +debian/kid.1 +debian/kidc.1 --- kid-0.9.6.orig/debian/python-kid.postinst +++ kid-0.9.6/debian/python-kid.postinst @@ -0,0 +1,6 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + --- kid-0.9.6.orig/debian/python-kid.prerm +++ kid-0.9.6/debian/python-kid.prerm @@ -0,0 +1,6 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + --- kid-0.9.6.orig/debian/rules +++ kid-0.9.6/debian/rules @@ -0,0 +1,16 @@ +#! /usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/class/python-distutils.mk + +# Install egg-info directories +DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed + +binary-post-install/python-kid:: +# Remove scripts which are provided by python-kid and fix rights + find debian/python-kid -name 'run.py' -o -name 'compile.py' | xargs chmod 755 + +clean:: +# Hack to work around "setup.py clean" creating pyc files + find . -name \*.pyc -print0 | xargs -r0 rm --- kid-0.9.6.orig/debian/source/format +++ kid-0.9.6/debian/source/format @@ -0,0 +1 @@ +1.0 --- kid-0.9.6.orig/debian/watch +++ kid-0.9.6/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.kid-templating.org/ http://www.kid-templating.org/dist/.+/kid-(.+)\.tar\.gz