[Python-modules-commits] r2201 - in /packages/pubtal/trunk/debian:
./ README.Debian changelog compat
control copyright dirs docs pubtal.doc-base pycompat rules updateSite.sgml
watch
rodrigogc-guest at users.alioth.debian.org
rodrigogc-guest at users.alioth.debian.org
Tue May 1 00:19:18 UTC 2007
Author: rodrigogc-guest
Date: Tue May 1 00:19:16 2007
New Revision: 2201
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=2201
Log:
[svn-inject] Applying Debian modifications to trunk
Added:
packages/pubtal/trunk/debian/ (with props)
packages/pubtal/trunk/debian/README.Debian
packages/pubtal/trunk/debian/changelog
packages/pubtal/trunk/debian/compat
packages/pubtal/trunk/debian/control
packages/pubtal/trunk/debian/copyright
packages/pubtal/trunk/debian/dirs
packages/pubtal/trunk/debian/docs
packages/pubtal/trunk/debian/pubtal.doc-base
packages/pubtal/trunk/debian/pycompat
packages/pubtal/trunk/debian/rules (with props)
packages/pubtal/trunk/debian/updateSite.sgml
packages/pubtal/trunk/debian/watch
Propchange: packages/pubtal/trunk/debian/
------------------------------------------------------------------------------
mergeWithUpstream = 1
Added: packages/pubtal/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/python-modules/packages/pubtal/trunk/debian/README.Debian?rev=2201&op=file
==============================================================================
--- packages/pubtal/trunk/debian/README.Debian (added)
+++ packages/pubtal/trunk/debian/README.Debian Tue May 1 00:19:16 2007
@@ -1,0 +1,5 @@
+The optional plugins mentioned in the manual are installed together
+with the package. In order to use the textile plugin you need to have
+python-textile installed.
+
+ -- Luis Rodrigo Gallardo Cruz <rodrigo at lisa.casa.ayr>, Sat, 24 Jun 2006 18:07:59 z
Added: packages/pubtal/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/pubtal/trunk/debian/changelog?rev=2201&op=file
==============================================================================
--- packages/pubtal/trunk/debian/changelog (added)
+++ packages/pubtal/trunk/debian/changelog Tue May 1 00:19:16 2007
@@ -1,0 +1,14 @@
+pubtal (3.2.0-2) unstable; urgency=low
+
+ * Avoid shipping empty dirs.
+ * Build-depend on python-central >= 0.5, to properly comply with the
+ python policy.
+ * Add the Debian Python Modules Team to upladers.
+
+ -- Luis Rodrigo Gallardo Cruz <rodrigo at nul-unu.com> Thu, 26 Apr 2007 20:54:46 -0500
+
+pubtal (3.2.0-1) unstable; urgency=low
+
+ * Initial debian packaging (closes: #368775)
+
+ -- Luis Rodrigo Gallardo Cruz <rodrigo at nul-unu.com> Wed, 21 Jun 2006 16:55:33 -0500
Added: packages/pubtal/trunk/debian/compat
URL: http://svn.debian.org/wsvn/python-modules/packages/pubtal/trunk/debian/compat?rev=2201&op=file
==============================================================================
--- packages/pubtal/trunk/debian/compat (added)
+++ packages/pubtal/trunk/debian/compat Tue May 1 00:19:16 2007
@@ -1,0 +1,1 @@
+5
Added: packages/pubtal/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/pubtal/trunk/debian/control?rev=2201&op=file
==============================================================================
--- packages/pubtal/trunk/debian/control (added)
+++ packages/pubtal/trunk/debian/control Tue May 1 00:19:16 2007
@@ -1,0 +1,21 @@
+Source: pubtal
+Section: web
+Priority: optional
+Maintainer: Luis Rodrigo Gallardo Cruz <rodrigo at nul-unu.com>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 5.0.37.2)
+Build-Depends-Indep: python-all-dev (>= 2.3.5-11), python-central (>=0.5), docbook-to-man
+XS-Python-Version: >=2.3
+Standards-Version: 3.7.2
+
+Package: pubtal
+Architecture: all
+XB-Python-Version: ${python:Versions}
+Depends: ${python:Depends}, python-simpletal (>=4.1-6)
+Suggests: python-textile
+Description: A template driven web site builder for small sites
+ PubTal uses the ZPT language from ZOPE and input plugins to
+ generate a web site, maintaining content separate from presentation.
+ .
+ Input can be provided in several formats, including plain text, abiword,
+ and textile, if the python-textile package is installed.
Added: packages/pubtal/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/python-modules/packages/pubtal/trunk/debian/copyright?rev=2201&op=file
==============================================================================
--- packages/pubtal/trunk/debian/copyright (added)
+++ packages/pubtal/trunk/debian/copyright Tue May 1 00:19:16 2007
@@ -1,0 +1,45 @@
+This package was debianized by
+ Luis Rodrigo Gallardo Cruz <rodrigo at nul-unu.com>
+on Wed, 12 Jan 2005 16:12:48 -0600.
+
+It was downloaded from http://www.owlfish.com/software/PubTal/index.html
+
+Copyright (c) 2003-2004 Colin Stewart <colin at owlfish.com>.
+
+The ASV module in the CSVPlugin is
+Copyright (c) 2000-2002 Laurence Tratt.
+Homepage: http://tratt.net/laurie/python/asv/
+
+The rawContent and binaryCopy plugins are
+Copyright (c) 2003 Florian Schulze (http://proff.crowproductions.com/)
+
+The software is provided under the following license:
+--------------------------------------------------------------------
+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.
+3.ASV Neither the name of Laurence Tratt, nor the names of its contributors
+ may be used to endorse or promote products derived from this
+ software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHORS, COPYRIGHT HOLDERS AND
+CONTRIBUTORS ``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, COPYRIGHT HOLDERS OR CONTRIBUTORS 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.
Added: packages/pubtal/trunk/debian/dirs
URL: http://svn.debian.org/wsvn/python-modules/packages/pubtal/trunk/debian/dirs?rev=2201&op=file
==============================================================================
--- packages/pubtal/trunk/debian/dirs (added)
+++ packages/pubtal/trunk/debian/dirs Tue May 1 00:19:16 2007
@@ -1,0 +1,2 @@
+usr/bin
+usr/sbin
Added: packages/pubtal/trunk/debian/docs
URL: http://svn.debian.org/wsvn/python-modules/packages/pubtal/trunk/debian/docs?rev=2201&op=file
==============================================================================
--- packages/pubtal/trunk/debian/docs (added)
+++ packages/pubtal/trunk/debian/docs Tue May 1 00:19:16 2007
@@ -1,0 +1,2 @@
+README.txt
+documentation/html
Added: packages/pubtal/trunk/debian/pubtal.doc-base
URL: http://svn.debian.org/wsvn/python-modules/packages/pubtal/trunk/debian/pubtal.doc-base?rev=2201&op=file
==============================================================================
--- packages/pubtal/trunk/debian/pubtal.doc-base (added)
+++ packages/pubtal/trunk/debian/pubtal.doc-base Tue May 1 00:19:16 2007
@@ -1,0 +1,11 @@
+Document: pubtal
+Title: Debian pubtal Manual
+Author: Colin Stewart
+Abstract: This manual explains the use of PubTal and it's plugins
+Section: Apps/Text
+
+Format: HTML
+Index: /usr/share/doc/pubtal/html/index.html
+Files: /usr/share/doc/pubtal/html/*.html /usr/share/doc/pubtal/html/conf/*.html
+
+
Added: packages/pubtal/trunk/debian/pycompat
URL: http://svn.debian.org/wsvn/python-modules/packages/pubtal/trunk/debian/pycompat?rev=2201&op=file
==============================================================================
--- packages/pubtal/trunk/debian/pycompat (added)
+++ packages/pubtal/trunk/debian/pycompat Tue May 1 00:19:16 2007
@@ -1,0 +1,1 @@
+2
Added: packages/pubtal/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pubtal/trunk/debian/rules?rev=2201&op=file
==============================================================================
--- packages/pubtal/trunk/debian/rules (added)
+++ packages/pubtal/trunk/debian/rules Tue May 1 00:19:16 2007
@@ -1,0 +1,79 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp
+ dh_testdir
+
+ python setup.py build
+ docbook-to-man debian/updateSite.sgml > updateSite.1
+ ln -s updateSite.1 uploadSite.1
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ -python setup.py clean --all
+# For some reason the previous command creates a file, must erase it.
+ -rm uploadSite.1 updateSite.1
+ -rm lib/pubtal/__init__.pyc
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ python setup.py install --no-compile --root=$(CURDIR)/debian/pubtal
+ find $(CURDIR)/debian/pubtal/usr/lib -type d -name plugins | xargs cp -r optional-plugins/*
+ mv $(CURDIR)/debian/pubtal/usr/bin/updateSite.py $(CURDIR)/debian/pubtal/usr/bin/updateSite
+ mv $(CURDIR)/debian/pubtal/usr/bin/uploadSite.py $(CURDIR)/debian/pubtal/usr/bin/uploadSite
+# Fix wrong execute permissions
+ find $(CURDIR)/debian/pubtal/usr/lib/ -name \*.py -exec chmod a-x {} \;
+
+# Delete empty dirs
+ find $(CURDIR)/debian/pubtal -depth -type d -empty -exec rmdir {} \;
+
+# Build architecture-independent files here.
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs Changes.txt
+ dh_installdocs
+ dh_installman updateSite.1 uploadSite.1
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_pycentral
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+# Build architecture-dependent files here.
+binary-arch: build install
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
Propchange: packages/pubtal/trunk/debian/rules
------------------------------------------------------------------------------
svn:executable = *
Added: packages/pubtal/trunk/debian/updateSite.sgml
URL: http://svn.debian.org/wsvn/python-modules/packages/pubtal/trunk/debian/updateSite.sgml?rev=2201&op=file
==============================================================================
--- packages/pubtal/trunk/debian/updateSite.sgml (added)
+++ packages/pubtal/trunk/debian/updateSite.sgml Tue May 1 00:19:16 2007
@@ -1,0 +1,272 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+
+<!-- Process this file with docbook-to-man to generate an nroff manual
+ page: `docbook-to-man manpage.sgml > manpage.1'. You may view
+ the manual page with: `docbook-to-man manpage.sgml | nroff -man |
+ less'. A typical entry in a Makefile or Makefile.am is:
+
+manpage.1: manpage.sgml
+ docbook-to-man $< > $@
+
+
+ The docbook-to-man binary is found in the docbook-to-man package.
+ Please remember that if you create the nroff version in one of the
+ debian/rules file targets (such as build), you will need to include
+ docbook-to-man in your Build-Depends control field.
+
+ -->
+
+ <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+ <!ENTITY dhfirstname "<firstname>Rodrigo</firstname>">
+ <!ENTITY dhsurname "<surname>Gallardo</surname>">
+ <!-- Please adjust the date whenever revising the manpage. -->
+ <!ENTITY dhdate "<date>January 14, 2005</date>">
+ <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+ allowed: see man(7), man(1). -->
+ <!ENTITY dhsection "<manvolnum>1</manvolnum>">
+ <!ENTITY dhemail "<email>rodrigo at nul-unu.com</email>">
+ <!ENTITY dhusername "Luis Rodrigo Gallardo Cruz">
+ <!ENTITY dhucpackage "<refentrytitle>PUBTAL</refentrytitle>">
+ <!ENTITY dhpackage "pubtal">
+
+ <!ENTITY debian "<productname>Debian</productname>">
+ <!ENTITY gnu "<acronym>GNU</acronym>">
+ <!ENTITY gpl "&gnu; <acronym>GPL</acronym>">
+ <!ENTITY html "<acronym>HTML</acronym>">
+]>
+
+<refentry>
+ <refentryinfo>
+ <address>
+ &dhemail;
+ </address>
+ <author>
+ &dhfirstname;
+ &dhsurname;
+ </author>
+ <copyright>
+ <year>2004, 2005</year>
+ <holder>Colin Stewart</holder>
+ <holder>&dhusername;</holder>
+ </copyright>
+ &dhdate;
+ </refentryinfo>
+ <refmeta>
+ &dhucpackage;
+
+ &dhsection;
+ </refmeta>
+ <refnamediv>
+ <refname>updateSite.py</refname>
+
+ <refpurpose>Generate a web site from content and
+ templates</refpurpose>
+ <refname>uploadSite.py</refname>
+ <refpurpose>Upload a web site to its destination</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <cmdsynopsis>
+ <command>updateSite.py</command>
+
+ <arg>options</arg>
+ <arg choice="no"><replaceable>site.config</replaceable></arg>
+ <group>
+ <arg><replaceable>content-dir</replaceable></arg>
+ <arg><replaceable>content-type</replaceable></arg>
+ </group>
+ <arg>...</arg>
+
+<!--
+ <arg><option>-e <replaceable>this</replaceable></option></arg>
+ -->
+
+ </cmdsynopsis>
+ <cmdsynopsis>
+ <command>uploadSite.py</command>
+
+ <arg>options</arg>
+ <arg choice="no"><replaceable>site.config</replaceable></arg>
+ <group>
+ <arg><replaceable>destination-dir</replaceable></arg>
+ <arg><replaceable>destination-file</replaceable></arg>
+ </group>
+ <arg>...</arg>
+
+ </cmdsynopsis>
+ </refsynopsisdiv>
+ <refsect1>
+ <title>DESCRIPTION</title>
+
+ <para>This manual page documents briefly the
+ <command>updateSite.py</command> and <command>uploadSite.py</command>
+ commands.</para>
+
+ <para>This manual page was written for the &debian; distribution
+ because the original program does not have a manual page.
+ Instead, it has documentation in &html; format;
+ see below.</para>
+
+ <para><command>updateSite.py</command> generates &html; pages
+ starting from a series of content files and templates written in
+ the <acronym>ZPT</acronym> language.</para>
+
+ <para>The command takes a minimum of one parameter, the location of
+ the website configuration file.</para>
+
+ <para>The updateSite.py command first reads in the configuration file
+ and so locates the content, template, and destination directories
+ (defaulting to content, template, and dest respectively). If only
+ one parameter is passed to updateSite.py, it will then find each
+ file under the content directory and build the corresponding
+ output files.</para>
+
+ <para>If more than one parameter is passed, then each extra parameter
+ is taken as content to build. If the parameter is a directory
+ under the content directory, then any content files in that
+ directory will be built recursively. If the parameter is a file
+ in the content directory (or one of its children), then just that
+ file will be built.</para>
+
+ <para>Take for example:</para>
+
+ <command>updateSite.py new-site/site.config new-site/content/index.txt
+new-site/content/examples/</command>
+
+ <para>This will build the index.txt file into index.html and all
+ content files under content/examples/ will be built into their
+ corresponding output files.</para>
+
+
+ <para><command>uploadSite.py</command> uploads the generated
+ pages. This takes a minimum of one parameter, the location of the
+ website configuration file.</para>
+
+ <para>The uploadSite.py command first reads in the configuration
+ file and so locates the destination directories. If only one
+ parameter is passed to uploadSite.py, it will then find each file
+ under the destination directory that needs to be uploaded. The
+ logic used to determine whether a file needs to be uploaded is
+ explained in the Uploading section.</para>
+
+ <para>If more than one parameter is passed, then each extra
+ parameter is taken as destination to upload. If the parameter is
+ a directory under the destination directory then any files in that
+ directory will be considered for upload recursively. If the
+ parameter is a file in the destination directory (or one of its
+ children), then just that file will be considered for
+ upload.</para>
+
+ <para>Take for example:</para>
+
+ <para><command>uploadSite.py new-site/site.config
+ new-site/dest/index.html new-site/dest/examples/</command></para>
+
+ <para>This will examine the index.html file and all files under
+ dest/examples/ when determining what files to upload.</para>
+
+
+ </refsect1>
+ <refsect1>
+ <title>OPTIONS</title>
+
+ <para>A summary of options is included below. For a complete
+ description, see the &html; documentation.</para>
+
+ <para>Options for <command>updateSite.py</command></para>
+
+ <variablelist>
+ <varlistentry><term><option>-h</option>
+ <option>--help</option></term>
+ <listitem>Prints out the help description for the
+ command.</listitem>
+ </varlistentry>
+ <varlistentry><term><option>-a</option>
+ <option>--all</option></term>
+ <listitem>Builds all classes of content, not just content in
+ the "normal" class.</listitem>
+ </varlistentry>
+ <varlistentry><term><option>--class</option> classParams</term>
+ <listitem>Builds all classes given as supplied in a comma
+ separated list.</listitem>
+ </varlistentry>
+ <varlistentry><term><option>--logging</option></term>
+ <listitem>Turns on logging.</listitem>
+ </varlistentry>
+ <varlistentry><term><option>--logfile</option> name</term>
+ <listitem>Logs to the file "name" (defaults to
+ updateSite.log).</listitem>
+ </varlistentry>
+ <varlistentry><term><option>--debug</option></term>
+ <listitem>Turns on debug logging; implies
+ <option>--logging</option>.</listitem>
+ </varlistentry>
+ <varlistentry><term><option>--debug-simpletal</option></term>
+ <listitem>Turns on debug logging of SimpleTAL, implies
+ <option>--logging</option>.</listitem>
+ </varlistentry>
+ </variablelist>
+
+ <para>Options for <command>uploadSite.py</command></para>
+
+ <variablelist>
+ <varlistentry><term><option>-h</option>
+ <option>--help</option></term>
+ <listitem>Prints out the help description for the command.</listitem></varlistentry>
+ <varlistentry><term><option>-a</option>
+ <option>--all</option></term>
+ <listitem>Checks all files are uploaded, not just PubTal generated ones.</listitem></varlistentry>
+ <varlistentry><term><option>--force</option></term>
+ <listitem>Uploads files even if PubTal thinks they are up-to-date.</listitem></varlistentry>
+ <varlistentry><term><option>--dry-run</option></term>
+ <listitem>Prints out what would have been done, but takes no action.</listitem></varlistentry>
+ <varlistentry><term><option>--logging</option></term>
+ <listitem>Turns on logging.</listitem></varlistentry>
+ <varlistentry><term><option>--logfile</option> name</term>
+ <listitem>Logs to the file "name" (defaults to updateSite.log).</listitem></varlistentry>
+ <varlistentry><term><option>--debug</option></term>
+ <listitem>Turns on debug logging; implies --logging.</listitem></varlistentry>
+ </variablelist>
+
+ </refsect1>
+ <refsect1>
+ <title>SEE ALSO</title>
+
+ <para>The programs are documented fully by &html; documentation
+ available in /usr/share/doc/pubtal/html.</para>
+
+ </refsect1>
+ <refsect1>
+ <title>AUTHOR</title>
+
+ <para>This manual page was written by &dhusername; &dhemail; for
+ the &debian; system (but may be used by others). Permission is
+ granted to copy, distribute and/or modify this document under
+ the terms of the &gnu; General Public License, Version 2 any
+ later version published by the Free Software Foundation.
+ </para>
+ <para>
+ On Debian systems, the complete text of the GNU General Public
+ License can be found in /usr/share/common-licenses/GPL.
+ </para>
+
+ </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
+
+
Added: packages/pubtal/trunk/debian/watch
URL: http://svn.debian.org/wsvn/python-modules/packages/pubtal/trunk/debian/watch?rev=2201&op=file
==============================================================================
--- packages/pubtal/trunk/debian/watch (added)
+++ packages/pubtal/trunk/debian/watch Tue May 1 00:19:16 2007
@@ -1,0 +1,2 @@
+version=3
+http://www.owlfish.com/software/PubTal/downloads/ PubTal-(.*)\.tar\.gz
More information about the Python-modules-commits
mailing list