debian/0000755000000000000000000000000012302375662007174 5ustar debian/docs0000644000000000000000000000004112173437646010051 0ustar debian/NEWS debian/README.Debian debian/manpages0000644000000000000000000000002112173437646010712 0ustar debian/cheetah.1 debian/copyright0000644000000000000000000000431712173437646011143 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Cheetah Upstream-Contact: R. Tyler Ballance Source: http://www.cheetahtemplate.org/download.html Files: * Copyright: 2009-2012, R. Tyler Ballance. 2001-2009, The Cheetah Development Team: Tavis Rudd, Mike Orr, Chuck Esterbrook, Ian Bicking. License: MIT Permission to use, copy, modify, and distribute this software for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the names of the authors not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. . THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Files: debian/* Copyright: 2006-2012, Arnaud Fontaine License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. debian/changelog0000644000000000000000000002406512302375662011055 0ustar cheetah (2.4.4-3.fakesyncbuild1) trusty; urgency=medium * Rebuild to drop files installed into /usr/share/pyshared. -- Matthias Klose Sun, 23 Feb 2014 13:46:26 +0000 cheetah (2.4.4-3.fakesync) saucy; urgency=low * debian/control: Add python-markdown back now that python-markdown has been promoted to main. Removes Ubuntu delta. (LP: #1183634) -- Adam Gandelman Tue, 23 Jul 2013 10:34:24 +0200 cheetah (2.4.4-3ubuntu1) quantal; urgency=low * debian/control: Remove Build Depends on python-markdown, as it's currently in universe and the package is functional without it. -- Dave Walker (Daviey) Thu, 17 May 2012 13:27:40 +0100 cheetah (2.4.4-3) unstable; urgency=low * Switch to dh_python2. + debian/control: - Remove Build-Depends on python-support. - Add X-Python-Version field. - Bump cdbs Build-Depends to 0.4.90~. + Add debian/pydist-overrides to avoid adding markdown as Depends as it is used only for tests. + Remove debian/pyversions. * Add debian/source/options to ignore changes in egg-info/* to prevent FTBFS if built twice. Closes: #671311. * debian/copyright: update to version 1.0 of machine-readable format. -- Arnaud Fontaine Mon, 14 May 2012 10:51:26 +0900 cheetah (2.4.4-2) unstable; urgency=low * Upload to unstable. -- Arnaud Fontaine Thu, 14 Apr 2011 00:46:00 +0900 cheetah (2.4.4-1) experimental; urgency=low * New upstream release. + Cheetah now officially supports python 2.7. Closes: #605422. - Require python-support >= 1.0.12 as Build-Depends. - Require python-all-dev >= 2.6.6-9 as Build-Depends. - Require python-setuptools >= 0.6.14-5 as Build-Depends. * debian/control: + Bump Standards-Version to 3.9.1. No changes needed. * Add debian/patches/fix_compile_with_utf8_attribute.patch: + UnicodeEncodeError exception raised when an attribute is an UTF-8 string. Thanks to Carles Muñoz Gorriz. Closes: #584966. * debian/rules: + Run test suites for all Python versions during the build. Closes: #606517. -- Arnaud Fontaine Sat, 25 Dec 2010 14:14:19 +0900 cheetah (2.4.2.1-1) unstable; urgency=low * New upstream release. + Add python-memcache to Suggests in debian/control as the old bundled memcached module has been dropped. + Add debian/patches/fix_ftbfs_c_extension_python25.patch to allow building the C extension on Python <= 2.5. * Switch to dpkg-source 3.0 (quilt) format. -- Arnaud Fontaine Tue, 30 Mar 2010 22:59:59 +0100 cheetah (2.4.1-1) unstable; urgency=low [ Arnaud Fontaine ] * New upstream release. Closes: #568787. + Drop all patches as they have already been applied. + Update download URL in debian/watch and debian/copyright. + Add R. Tyler Ballance as copyright holder in debian/copyright as he is now the upstream author. + Add python-pygments to Suggests in debian/control. * debian/control: + Update Standards-Version to 3.8.4. No changes needed. + Drop useless Replaces and Conflicts. + Add ${misc:Depends} to Depends in case the result of calls debhelper tools adds extra dependencies. + Remove useless debian/pycompat and bump python-support minimum version to 0.9.0. * debian/copyright: + Update copyright years. [ Sandro Tosi ] * debian/control: - Switch Vcs-Browser field to viewsvn. -- Arnaud Fontaine Wed, 10 Feb 2010 02:27:47 +0000 cheetah (2.0.1-2) unstable; urgency=low [ Arnaud Fontaine ] * New email address. * debian/control: + Update Standards-Version to 3.7.3. No changes needed. + Change Section field from text to python (python extension). + Build-Depends on at least python-setuptools 0.6b3 instead of 0.6b3-1 in order to facilitate backporting. [ Sandro Tosi ] * debian/control + Uniforming Vcs-Browser field. -- Arnaud Fontaine Sat, 23 Feb 2008 12:40:22 +0000 cheetah (2.0.1-1) unstable; urgency=low [ Arnaud Fontaine ] * New upstream release. Closes: #451766. + Update debian/patches/02_clean_modules.patch. * debian/NEWS: + Fix lintian warning on the first changelog entry. * debian/watch: + Fix uversionmangle regex for stable versions. * debian/copyright: + Add package license. [ Piotr Ożarowski ] * debian/control: + Add Homepage field. + Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now). -- Arnaud Fontaine Sun, 18 Nov 2007 14:59:06 +0000 cheetah (2.0~rc8-1) unstable; urgency=low [ Arnaud Fontaine ] * New upstream release. * Add debian/watch file. * debian/copyright: + Update years and maintainer. * debian/control*: + Add Homepage field. + Add XS-Vcs-Browser field. + Build-Depends on python-support >= 0.6.4. + Add DPMT as uploaders. * debian/rules: + Remove egg stuff. [ Piotr Ozarowski ] * debian/control: + Add XS-Vcs-Svn field. -- Arnaud Fontaine Wed, 11 Jul 2007 14:45:50 +0200 cheetah (2.0~rc7-1) unstable; urgency=low * New upstream release. * Remove the interpreter line from all modules. * New maintainer. Closes: #376189. * Acknowledge NMU. Closes: #373265, #366759. * Add debian/control.in and regenerates debian/control. -- Arnaud Fontaine Wed, 26 Jul 2006 22:03:15 +0200 cheetah (1.0-1.1) unstable; urgency=low [ Arnaud Fontaine ] * Non-maintainer upload. * Update Standards-Version to 3.7.2. No changes needed. * Remove cheetah-common package. * Add egg support. Thanks to Piotr Ozarowski . Closes: #366759. * Remove alternatives which are no more needed since pythonX.Y-cheetah are folded into python-cheetah. + Remove pythonX.Y-cheetah.postinst.in and pythonX.Y-cheetah.prerm.in in debian/. + Remove *.links files in favor of debian/links. + Remove *.manpages files in favor of debian/manpages. + Clean debian/rules. * New Python policy changes. Closes: #373265. + Update debian/cheetah.1 and debian/README.Debian: + Add debian/pyversions and debian/pycompat. + debian/compat: - Update debhelper compatibility to 5. + debian/rules: - Add DEB_PYTHON_SYSTEM=pysupport. + debian/control: - Update Build-Depends. - Add XB-Python-Version for binary package. - Add Conflicts and Replaces fields against previous revisions. [ Raphael Hertzog ] * Sponsoring upload. * Improvements in the rules file. Rename egg-info directory soon enough so that dh_pysupport can decide to share it. * Updated README.Debian. -- Raphael Hertzog Fri, 30 Jun 2006 19:11:25 +0200 cheetah (1.0-1) unstable; urgency=low * New upstream version. Closes: #344977 * debian/NEWS, debian/README.Debian: Updated to reflect new info. * debian/control, debian/rules: Dropped build support for python2.2-cheetah package. Closes: #351120 -- Chad Walstrom Fri, 3 Feb 2006 13:50:19 -0600 cheetah (0.9.16-1) unstable; urgency=high * debian/rules, debian/patches: Added simple-patchsys so we can apply security patches. * debian/patches/309648-tmpfix.patch: Kenshi Muto grabbed this one from the cheetahtemplate CVS. Upstream rewrote how imports were handled, removing the need to use temp files and eliminating this security breech. Closes: #309648 * debian/control: Added version dependency for cdbs, required to support Python 2.4. -- Chad Walstrom Sat, 21 May 2005 12:40:10 -0500 cheetah (0.9.16-0) unstable; urgency=low * New upstream. Closes: #295957 * debian/cheetah.1: Dedicated the manpage to the Public Domain. * debian/NEWS: Noted code incompatibility between 0.9.15 and 0.9.16. * debian/pythonX.Y-cheetah.*: Replaced maintainer scripts with sed templates * debian/control, debian/rules: Added python2.4-cheetah package. Dropped python2.1-cheetah package. -- Chad Walstrom Tue, 5 Apr 2005 17:03:44 -0500 cheetah (0.9.15-5) unstable; urgency=low * First unstable release! * debian/rules: - Removed all traces of incorrect linking for python-cheetah. - Excluded .arch-ids directories from cheetah-common examples - Replaced entire first line of cheetah and cheetah-compile scripts instead of selectively appending python version. * debian/control: - Cleaned up package descriptions to follow the control file style guide more closely. - Removed ${python:Depends}. Causing incorrect dependencies on multiple versions of Python. You could install python2.1-cheetah only if python >= 2.3 was installed. -- Chad Walstrom Tue, 30 Mar 2004 18:47:41 -0600 cheetah (0.9.15-4) experimental; urgency=low * The "I was sleeping on the job" release. * Moved debian/python-cheetah.manpages to debian/cheetah-common.manpages. Manpages installed in wrong package. * debian/rules: Install examples in cheetah-common. No, really! I mean it this time! -- Chad Walstrom Wed, 17 Mar 2004 22:22:55 -0600 cheetah (0.9.15-3) experimental; urgency=low * Last experimental upload! Please test and report bugs to the BTS! * debian/control: (NEW) cheetah-common package for common docs, manpages, and examples. Versioned dependencies for cheetah-common were added to pythonX.Y-cheetah packages. * debian/rules: Cleaned up per package post-install targets. Added linking scripts for manpages and examples directories. * cheetah.1: (NEW) Debian manpage for cheetah and cheetah-compile. * examples directory included in cheetah-common package. -- Chad Walstrom Tue, 16 Mar 2004 12:38:08 -0600 cheetah (0.9.15-2) experimental; urgency=low * Moved update-alternatives call to *.prerm. -- Chad Walstrom Thu, 5 Feb 2004 09:46:25 -0600 cheetah (0.9.15-1) experimental; urgency=low * Initial Release. * Answers the call to package cheetah-template. Closes: #135456 -- Chad Walstrom Fri, 23 Jan 2004 23:54:05 -0600 debian/NEWS0000644000000000000000000000456412173437646007713 0ustar cheetah (1.0-1) unstable; urgency=high New upstream version. Make sure you RECOMPILE your templates/cache! Read the upstream changelog for more information on feature enhancements and bug fixes. NOTE: python2.2-cheetah DROPPED. Debian no longer ships with Python 2.2. -- Chad Walstrom Fri, 3 Feb 2006 13:50:19 -0600 cheetah (0.9.16-1) unstable; urgency=high This version fixes a grave security problem with the template engine, allowing arbitrary code to be injected through the /tmp directory. This patch removes the use of temporary files completely. The thread of discussion is found at: http://sourceforge.net/mailarchive/forum.php?thread_id=7070332&forum_id=1542 -- Chad Walstrom Sat, 21 May 2005 11:55:03 -0500 cheetah (0.9.16-0) unstable; urgency=low CAUTION: http://sourceforge.net/mailarchive/message.php?msg_id=10636026 From: Tavis Rudd important note about upgrading to / testing 0.9.16 2005-01-23 12:35 The new release outputs significantly different python code. Thus, if you have a set of .tmpl files you compile statically you should recompile them when upgrading, or more importantly, when downgrading if you run into problems with the new release. Tavis There have been **lots** of changes to the source code between 0.9.15 and 0.9.16. Be sure to read the upstream changelog. NOTE: python2.1-cheetah DROPPED. Upstream no longer supports it. -- Chad Walstrom Tue, 5 Apr 2005 15:20:44 -0500 cheetah (0.9.15-5) unstable; urgency=low * First unstable release! -- Chad Walstrom Mon, 15 Mar 2004 15:56:19 -0600 cheetah (0.9.15-3) experimental; urgency=low * A new package was created, cheetah-common, to contain the examples and a manpage for the cheetah scripts. Manpage links were created in each of the pythonX.Y-cheetah packages to point back to the common package. This separate package was created to keep the dependency tree simple, avoiding gratuitous use of virtual packages and circular dependencies in a repurposed python-cheetah. See the README.Debian file for more information. * I intend this to be the last "experimental" upload. Please test and send bug reports to the BTS! -- Chad Walstrom Mon, 15 Mar 2004 15:56:19 -0600 debian/links0000644000000000000000000000011012173437646010236 0ustar usr/share/man/man1/cheetah.1.gz usr/share/man/man1/cheetah-compile.1.gz debian/pydist-overrides0000644000000000000000000000001112173437646012432 0ustar Markdown debian/compat0000644000000000000000000000000212173437646010401 0ustar 5 debian/patches/0000755000000000000000000000000012173440056010617 5ustar debian/patches/fix_compile_with_utf8_attribute.patch0000644000000000000000000000136012173437646020235 0ustar --- a/cheetah/Compiler.py 2010-02-08 05:17:23.000000000 +0100 +++ b/cheetah/Compiler.py 2010-06-08 06:50:28.000000000 +0200 @@ -1474,8 +1474,12 @@ return '\n\n'.join(methodDefs) def attributes(self): - attribs = [self.setting('indentationStep') + str(attrib) - for attrib in self._generatedAttribs ] + try: + attribs = [self.setting('indentationStep') + str(attrib) + for attrib in self._generatedAttribs ] + except UnicodeEncodeError: + attribs = [self.setting('indentationStep') + unicode(attrib) + for attrib in self._generatedAttribs ] return '\n\n'.join(attribs) class AutoClassCompiler(ClassCompiler): debian/patches/series0000644000000000000000000000011312173437646012042 0ustar fix_ftbfs_c_extension_python25.patch fix_compile_with_utf8_attribute.patch debian/patches/fix_ftbfs_c_extension_python25.patch0000644000000000000000000000367312173437646020004 0ustar Description: C extension fails to build because of PyUnicode_FromFormat only available on Python >= 2.6 Author: Arnaud Fontaine Forwarded: http://sourceforge.net/mailarchive/message.php?msg_name=sa5634dmm5b.fsf%40Orfeo.duckcorp.org --- a/cheetah/c/cheetah.h 2010-02-08 04:17:23.000000000 +0000 +++ b/cheetah/c/cheetah.h 2010-03-30 22:42:49.000000000 +0100 @@ -37,6 +37,9 @@ #if PY_MAJOR_VERSION >= 3 #define IS_PYTHON3 +#elif PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION <= 5 +/* PyUnicode_FromFormat is only available on Python >= 2.6 */ +#define IS_PYTHON25_OR_LESS #endif #define TRUE 1 --- a/cheetah/c/_namemapper.c 2010-02-08 04:17:23.000000000 +0000 +++ b/cheetah/c/_namemapper.c 2010-03-30 22:40:01.000000000 +0100 @@ -35,7 +35,13 @@ static void setNotFoundException(char *key, PyObject *namespace) { PyObject *exceptionStr = NULL; +#ifdef IS_PYTHON25_OR_LESS + exceptionStr = Py_BuildValue("s", "cannot find '"); + PyString_ConcatAndDel(&exceptionStr, Py_BuildValue("s", key)); + PyString_ConcatAndDel(&exceptionStr, Py_BuildValue("s", "'")); +#else exceptionStr = PyUnicode_FromFormat("cannot find \'%s\'", key); +#endif PyErr_SetObject(NotFound, exceptionStr); Py_XDECREF(exceptionStr); } @@ -58,8 +64,15 @@ if (isAlreadyWrapped != NULL) { if (PyLong_AsLong(isAlreadyWrapped) == -1) { +#ifdef IS_PYTHON25_OR_LESS + newExcValue = Py_BuildValue("U", excValue); + PyString_ConcatAndDel(&newExcValue, Py_BuildValue("s", "while searching for '")); + PyString_ConcatAndDel(&newExcValue, Py_BuildValue("s", fullName)); + PyString_ConcatAndDel(&newExcValue, Py_BuildValue("s", "'")); +#else newExcValue = PyUnicode_FromFormat("%U while searching for \'%s\'", excValue, fullName); +#endif } Py_DECREF(isAlreadyWrapped); } debian/README.Debian0000644000000000000000000000314612173437646011250 0ustar Cheetah on Debian ================= Cheetah is a developer-centric library, and as such, it is important to provide multiple Python version-specific packages. In most cases, Python is backwards-compatible for language syntax. That same "guarantee" does not exist for the byte-compiled code, therefore, the cheetah software on Debian uses python-support to provide byte-compiled files for all supported Python versions. Code Incompatibility between 1.0 and 0.9.16 ============================================== Once again, the structure of the compiled templates has changed. Make sure you recompile static templates and clear the cache saved for dynamic templates. Code Incompatibility between 0.9.15 and 0.9.16 ============================================== From http://sourceforge.net/mailarchive/message.php?msg_id=10636026:: From: Tavis Rudd important note about upgrading to / testing 0.9.16 2005-01-23 12:35 The new release outputs significantly different python code. Thus, if you have a set of .tmpl files you compile statically you should recompile them when upgrading, or more importantly, when downgrading if you run into problems with the new release. Tavis Additional References and Documentation ======================================= Developer and User reference guides [1]_ are provided by the Cheetah Development Team at their website. [2]_ They are released under the Open Publication License, and as such may be eligable for packaging and distributing in Debian. .. [1] http://cheetahtemplate.org/learn.html .. [2] http://cheetahtemplate.sourceforge.net debian/control0000644000000000000000000000402112173437667010606 0ustar Source: cheetah Section: python Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Arnaud Fontaine Uploaders: Debian Python Modules Team Build-Depends: debhelper (>= 5.0.37.2), cdbs (>= 0.4.90~), python-all-dev (>= 2.6.6-9), python-setuptools (>= 0.6.14-5), python-markdown (>= 2.0.1) X-Python-Version: >= 2.3 Standards-Version: 3.9.3 Homepage: http://www.cheetahtemplate.org/ Vcs-Svn: svn://svn.debian.org/python-modules/packages/cheetah/trunk/ Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/cheetah/trunk/ Package: python-cheetah Architecture: any Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} Suggests: python-markdown (>= 2.0.1), python-pygments, python-memcache Description: text-based template engine and Python code generator Cheetah can be used as a standalone templating utility or referenced as a library from other Python applications. It has many potential uses, but web developers looking for a viable alternative to ASP, JSP, PHP and PSP are expected to be its principle user group. . Features: * Generates HTML, SGML, XML, SQL, Postscript, form email, LaTeX, or any other text-based format. * Cleanly separates content, graphic design, and program code. * Blends the power and flexibility of Python with a simple template language that non-programmers can understand. * Gives template writers full access to any Python data structure, module, function, object, or method in their templates. * Makes code reuse easy by providing an object-orientated interface to templates that is accessible from Python code or other Cheetah templates. One template can subclass another and selectively reimplement sections of it. * Provides a simple, yet powerful, caching mechanism that can dramatically improve the performance of a dynamic website. * Compiles templates into optimized, yet readable, Python code. debian/cheetah.10000644000000000000000000001121512173437646010666 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH CHEETAH 1 "2005 Apr 04" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME cheetah \- Python template command-line tool .SH SYNOPSIS .B cheetah, cheetah-compile .PP .B cheetah COMMAND .RI [ options ] " FILE" ... .br .B cheetah-compile .RI [ options ] " FILE" ... .SH DESCRIPTION This manual page documents briefly the \fBcheetah\fP command-line tool. This manual page was written for the Debian distribution because the original program does not have a manual page. .PP .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. \fBcheetah\fP is a Python-powered template engine and code generator. It can be used as a standalone utility or it can be combined with other tools. Cheetah has many potential uses, but web developers looking for a viable alternative to ASP, JSP, PHP and PSP are expected to be its principle user group. .PP The \fBcheetah\fP command-line tool is the standalone utility portion of the software suite. \fBcheetah-compile\fP is a convenience script that for the "\fBcheetah compile ...\fP" command. The utility accepts a single command possible options and a list of files. If \fBFILE\fP is a single "-", read standard input and write standard output. .SH COMMANDS .\" cheetah compile [options] [FILES ...] : Compile template definitions .\" cheetah fill [options] [FILES ...] : Fill template definitions .\" cheetah help : Print this help message .\" cheetah options : Print options help message .\" cheetah test : Run Cheetah's regression tests .\" cheetah version : Print Cheetah version number The possible \fBcheetah\fP commands are listed below. You may abbreviate the command to the first letter; e.g., 'h' == 'help'. .TP .B compile Compile template definitions .TP .B fill Fill template definitions .TP .B help Print commands help message .TP .B options Print options help message for compile and fill commands .TP .B test Run regression tests .TP .B version Print version number .\".B .SH OPTIONS .\" --idir DIR, --odir DIR : input/output directories (default: current dir) .\" --iext EXT, --oext EXT : input/output filename extensions .\" (default for compile: tmpl/py, fill: tmpl/html) .\" -R : recurse subdirectories looking for input files .\" --debug : print lots of diagnostic output to standard error .\" --env : put the environment in the searchList .\" --flat : no destination subdirectories .\" --nobackup : don't make backups .\" --pickle FILE : unpickle FILE and put that object in the searchList .\" --stdout, -p : output to standard output (pipe) The options for .B cheetah apply to the .B compile and .B fill commands. A summary of options is included below. .TP .B \-\-idir DIR Input directories(default: current dir) .TP .B \-\-odir ODIR Output directories (default: current dir) .TP .B \-\-iext IEXT Input extension. The default input extension for both the \fBcompile\fP and \fBfill\fP commands is "\fBtmpl\fP". .TP .B \-\-oext OEXT Output extension. The default output extension for the \fBcompile\fP command is "\fBpy\fP". The default output extension for \fBfill\fP is "\fBhtml\fB". .TP .B \-R Recurse subdirectories looking for input files .TP .B \-\-debug Print lots of diagnostic output to the standard error file descriptor .TP .B \-\-env Print the environment in the searchList .TP .B \-\-flat No destination subdirectories .TP .B \-\-nobackup Do not make backups .TP .B \-\-pickle FILE unpickle FILE and put that output in the searchList .TP .B \-\-stdout, \-p Output to standard output file descriptor (pipe) .SH SEE ALSO .BR pydoc(1) .br The programs are documented fully on the project website .IR http://cheetahtemplate.sourceforge.net. You can also browse the Python library files and their docstring descriptions by using the standard pydoc utility. .SH AUTHOR This manual page was written by Chad C. Walstrom , for the Debian project and is dedicated to the Public Domain. debian/rules0000755000000000000000000000237712173437646010274 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/python-distutils.mk # Prepare support for python 3.x (need to add Build-Depends against # python3-all-dev in debian/control), pending upstream release with # python3 support # cdbs_python_supported_versions += $(shell py3versions -vr) # Install egg-info directories DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed DEB_PYTHON_BUILDDIR := $(CURDIR)/$(DEB_BUILDDIR)/build binary-post-install/python-cheetah:: sed -i 's#\#!/usr/bin/python[0-9].[0-9]#\#!/usr/bin/python#' \ $(cdbs_python_destdir)usr/bin/* # Run the tests with all the versions of Python, but do not # fail if the tests fail, just display an error message # # Any better way to run the tests as this is very ugly? for buildver in $(cdbs_python_build_versions); do \ echo "Running tests with python$$buildver..." && \ cd $(DEB_SRCDIR) && \ PATH=$(DEB_PYTHON_BUILDDIR)/scripts-$${buildver}:$$PATH \ PYTHONPATH=$$(echo $(DEB_PYTHON_BUILDDIR)/lib.linux-*-$$buildver) \ $(call cdbs_python_binary,python$$buildver) $(DEB_SRCDIR)/cheetah/Tests/Test.py || \ echo "FAILED with python$$buildver"; \ done debian/source/0000755000000000000000000000000012173440056010470 5ustar debian/source/format0000644000000000000000000000001412173437646011711 0ustar 3.0 (quilt) debian/source/options0000644000000000000000000000004212173437646012115 0ustar extend-diff-ignore = "\.egg-info" debian/watch0000644000000000000000000000012112173437646010226 0ustar version=3 http://pypi.python.org/packages/source/C/Cheetah/Cheetah-(.*)\.tar\.gz