--- mako-0.2.1.orig/debian/manpages +++ mako-0.2.1/debian/manpages @@ -0,0 +1 @@ +debian/mako-render.1 --- mako-0.2.1.orig/debian/examples +++ mako-0.2.1/debian/examples @@ -0,0 +1 @@ +examples/* --- mako-0.2.1.orig/debian/doc-base +++ mako-0.2.1/debian/doc-base @@ -0,0 +1,16 @@ +Document: mako +Title: Mako Documentation +Author: Mike Bayer +Abstract: This document describes Mako - a template library written in Python. + It provides a familiar, non-XML syntax which compiles into Python modules for + maximum performance. Mako's syntax and API borrows from the best ideas of many + others, including Django templates, Cheetah, Myghty, and Genshi. Conceptually, + Mako is an embedded Python (i.e. Python Server Page) language, which refines + the familiar ideas of componentized layout and inheritance to produce one of + the most straightforward and flexible models available, while also maintaining + close ties to Python calling and scoping semantics. +Section: Programming/Python + +Format: HTML +Index: /usr/share/doc/python-mako/doc/index.html +Files: /usr/share/doc/python-mako/doc/*.html --- mako-0.2.1.orig/debian/mako-render.1 +++ mako-0.2.1/debian/mako-render.1 @@ -0,0 +1,30 @@ +.TH MAKO\-RENDER 1 "june 3, 2008" +.SH NAME +mako\-render \- renders Mako templates +.SH SYNOPSIS +.B mako\-render +.RI [FILE] +.br +.SH DESCRIPTION +This manual page documents briefly the +.B mako\-render +command. +.PP +\fBmako\-render\fP is a standalone utility that can render Mako templates. +Mako is a fast Python-powered template engine. +.BR +If FILE is a single "-", standard input will be used as a template source. +.SH OPTIONS +These programs follow the usual GNU command line syntax, with long +options starting with two dashes (`-'). +A summary of options is included below. +.TP +.B \-h, \-\-help +Show summary of options. +.BR +.SH AUTHOR +mako\-render script was written by Miki Tebeka , +Mako was written by Mike Bayer . +.PP +This manual page was written by Piotr Ożarowski , +for the Debian project (but may be used by others). --- mako-0.2.1.orig/debian/copyright +++ mako-0.2.1/debian/copyright @@ -0,0 +1,73 @@ +This package was debianized by Piotr Ożarowski on +Thu, 4 Jan 2007 23:04:33 +0100. + +It was originally downloaded from http://www.makotemplates.org/download.html + +Upstream Author: Mike Bayer + +Copyright (C) 2006-2008 Michael Bayer + +Copyright: + + This is the MIT license: http://www.opensource.org/licenses/mit-license.php + + Copyright (C) 2006, 2007, 2008 Michael Bayer and contributors. Mako is a trademark + of Michael Bayer. + + 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. + + +examples/bench/basic.py file: + + basic.py - basic benchmarks adapted from Genshi + Copyright (C) 2006 Edgewall Software + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The name of the author may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +The Debian packaging is (C) 2007-2008, Piotr Ożarowski and +is licensed under the GPL. + +On Debian systems, the complete text of the GNU General Public License +can be found in `/usr/share/common-licenses/GPL'. --- mako-0.2.1.orig/debian/compat +++ mako-0.2.1/debian/compat @@ -0,0 +1 @@ +5 --- mako-0.2.1.orig/debian/watch +++ mako-0.2.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://cheeseshop.python.org/packages/source/M/Mako/Mako-(.*)\.tar\.gz debian uupdate --- mako-0.2.1.orig/debian/changelog +++ mako-0.2.1/debian/changelog @@ -0,0 +1,87 @@ +mako (0.2.1-1) unstable; urgency=low + + * New upstream release + * debian/copyright file updated + * Standards-Version bumped to 3.8.0 (no changes needed) + + -- Piotr Ożarowski Tue, 17 Jun 2008 19:43:47 +0200 + +mako (0.2.0-1) unstable; urgency=low + + * New upstream release + * Add "~" to setuptools' required build version (to ease backports) + * Add manpage for new mako-render script + * s/hyperfast/fast in short description to avoid inflated adjectives + (closes: #466008) + * doc-base: section changed to Programming/Python + + -- Piotr Ożarowski Tue, 03 Jun 2008 22:27:15 +0200 + +mako (0.1.10-1) unstable; urgency=low + + * New upstream release + * Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now) + * Bump Standards-Version to 3.7.3 (no changes needed) + + -- Piotr Ożarowski Thu, 27 Dec 2007 11:36:10 +0100 + +mako (0.1.9-1) unstable; urgency=low + + * New upstream release + * Homepage field added + * debian/rules cleanups + + -- Piotr Ożarowski Tue, 25 Sep 2007 23:40:21 +0200 + +mako (0.1.8-1) unstable; urgency=low + + * New upstream release + + -- Piotr Ożarowski Tue, 26 Jun 2007 15:39:18 +0200 + +mako (0.1.7-1) unstable; urgency=low + + * New upstream release + + -- Piotr Ożarowski Wed, 13 Jun 2007 15:07:59 +0200 + +mako (0.1.6-1) unstable; urgency=low + + * New upstream release + * python-myghtyutils removed from Depends since it's no longer used, + * python-beaker added to Recommends (it can be used for caching now) + * Provides field removed (it's not used) + + -- Piotr Ożarowski Sat, 19 May 2007 15:32:25 +0200 + +mako (0.1.5-1) unstable; urgency=low + + * New upstream release + * Changed my address to piotr@debian.org + + -- Piotr Ożarowski Sun, 01 Apr 2007 00:04:28 +0200 + +mako (0.1.4-1) unstable; urgency=low + + * New upstream release + + -- Piotr Ozarowski Sat, 10 Mar 2007 19:02:06 +0100 + +mako (0.1.3-1) unstable; urgency=low + + * New upstream release + * Added python-pylons to Enhances: + + -- Piotr Ozarowski Wed, 21 Feb 2007 01:41:09 +0100 + +mako (0.1.2-1) unstable; urgency=low + + * New upstream release + + -- Piotr Ozarowski Thu, 1 Feb 2007 12:15:20 +0100 + +mako (0.1.1-1) unstable; urgency=low + + * Initial release (closes: #405576) + + -- Piotr Ozarowski Sun, 14 Jan 2007 20:11:22 +0100 --- mako-0.2.1.orig/debian/rules +++ mako-0.2.1/debian/rules @@ -0,0 +1,51 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 + +DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog \ + | sed -rne 's,^Version: ([^-]+).*,\1,p') + +PYVERS=$(shell pyversions -vr) + +clean: + dh_testdir + dh_testroot + rm -f build-* + rm -rf build + find . -name '*\.py[co]' -delete + dh_clean + +build: + +install: $(PYVERS:%=install-python%) +install-python%: + python$* setup.py install \ + --single-version-externally-managed \ + --root $(CURDIR)/debian/python-mako + # share Egg dir + mv debian/python-mako/usr/lib/python$*/site-packages/Mako-${DEB_UPSTREAM_VERSION}-py$*.egg-info \ + debian/python-mako/usr/lib/python$*/site-packages/Mako-${DEB_UPSTREAM_VERSION}.egg-info + # use default Python version in shebang + sed -i -e '1s,usr/bin/.*,usr/bin/python,' $(CURDIR)/debian/python-mako/usr/bin/mako-render + +binary-indep: build install + dh_testdir -i + dh_testroot -i + dh_installchangelogs -i CHANGES + dh_installdocs -i + dh_installexamples -i + dh_installman -i + rm -rf debian/python-mako/usr/share/doc/python-mako/doc/build + dh_pycentral -i + dh_compress -i -X.py -Xmakotemplates.txt + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary-arch: + +binary: binary-indep binary-arch + +.PHONY: build clean binary-indep binary-arch binary install configure --- mako-0.2.1.orig/debian/docs +++ mako-0.2.1/debian/docs @@ -0,0 +1 @@ +doc --- mako-0.2.1.orig/debian/control +++ mako-0.2.1/debian/control @@ -0,0 +1,28 @@ +Source: mako +Section: python +Priority: optional +Maintainer: Piotr Ożarowski +Uploaders: Debian Python Modules Team +Build-Depends: debhelper (>= 5.0.38) +Build-Depends-Indep: python (>= 2.3.5-11), python-all-dev, python-central (>= 0.5.6), python-setuptools (>= 0.6b3-1~) +Standards-Version: 3.8.0 +Homepage: http://www.makotemplates.org/ +XS-Python-Version: all +Vcs-Svn: svn://svn.debian.org/python-modules/packages/mako/trunk +Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/mako/trunk/?op=log + +Package: python-mako +Architecture: all +Depends: ${python:Depends} +Recommends: python-beaker (>= 0.7.1) +Enhances: python-pylons, python-turbogears, python-pygments +XB-Python-Version: ${python:Versions} +Description: fast and lightweight templating for the Python platform + Mako is a template library written in Python. It provides a familiar, non-XML + syntax which compiles into Python modules for maximum performance. Mako's + syntax and API borrows from the best ideas of many others, including Django + templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded + Python (i.e. Python Server Page) language, which refines the familiar ideas of + componentized layout and inheritance to produce one of the most + straightforward and flexible models available, while also maintaining close + ties to Python calling and scoping semantics.