debian/0000755000000000000000000000000011555455726007205 5ustar debian/copyright0000644000000000000000000000427511555455103011135 0ustar This package was debianized by Luis Rodrigo Gallardo Cruz on Wed, 12 Jan 2005 16:12:48 -0600. It was downloaded from http://www.owlfish.com/software/PubTal/index.html Copyright (c) 2003-2011 Colin Stewart . 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. debian/watch0000644000000000000000000000035011252501256010214 0ustar version=3 # Pubtal's upstream site does not support directory listing, so we must # parse the relased URLs from the human readable downloads page. http://www.owlfish.com/software/PubTal/download.html downloads/PubTal-(.*)\.tar\.gz debian/compat0000644000000000000000000000000211152171457010370 0ustar 5 debian/dirs0000644000000000000000000000002111152171457010047 0ustar usr/bin usr/sbin debian/pubtal.manpages0000644000000000000000000000001411152171457012171 0ustar updateSite.1debian/pubtal.doc-base0000644000000000000000000000045111152174730012055 0ustar Document: pubtal Title: Debian pubtal Manual Author: Colin Stewart Abstract: This manual explains the use of PubTal and it's plugins Section: Web Development Format: HTML Index: /usr/share/doc/pubtal/html/index.html Files: /usr/share/doc/pubtal/html/*.html /usr/share/doc/pubtal/html/conf/*.html debian/docs0000644000000000000000000000003611152171457010044 0ustar README.txt documentation/html debian/source/0000755000000000000000000000000011555455717010505 5ustar debian/source/format0000644000000000000000000000001411554172111011672 0ustar 3.0 (quilt) debian/pycompat0000644000000000000000000000000211152171457010741 0ustar 2 debian/pubtal.links0000644000000000000000000000025211555455103011522 0ustar /usr/share/man/man1/updateSite.1.gz /usr/share/man/man1/uploadSite.1.gz /usr/share/pubtal/updateSite /usr/bin/updateSite /usr/share/pubtal/uploadSite /usr/bin/uploadSite debian/rules0000755000000000000000000000425211555455103010255 0ustar #!/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 include /usr/share/python/python.mk 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 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. dh_clean lib/pubtal/__init__.pyc updateSite.1 install: build dh_testdir dh_testroot dh_clean -k dh_installdirs python setup.py install --no-compile --root=$(CURDIR)/debian/pubtal \ $(py_setup_install_args) --install-lib=/usr/share/pubtal \ --install-scripts=/usr/share/pubtal # Install all optional plugins too. cp -r optional-plugins/* $(CURDIR)/debian/pubtal/usr/share/pubtal/pubtal/plugins # Executables in Debian do not have extensions mv $(CURDIR)/debian/pubtal/usr/share/pubtal/updateSite.py \ $(CURDIR)/debian/pubtal/usr/share/pubtal/updateSite mv $(CURDIR)/debian/pubtal/usr/share/pubtal/uploadSite.py \ $(CURDIR)/debian/pubtal/usr/share/pubtal/uploadSite # Fix wrong execute permissions find $(CURDIR)/debian/pubtal/usr/share/pubtal -name \*.py -exec chmod a-x {} \; # Build architecture-independent files here. binary-indep: build install dh_testdir dh_testroot dh_installchangelogs Changes.txt dh_installdocs dh_installman dh_link dh_compress dh_fixperms dh_python2 # Delete empty dirs find $(CURDIR)/debian/pubtal -depth -type d -empty -exec rmdir -- {} \; dh_installdeb 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 debian/README.Debian0000644000000000000000000000036611152174026011233 0ustar 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 , Sat, 24 Jun 2006 18:07:59 z debian/changelog0000644000000000000000000001062211555455103011045 0ustar pubtal (3.5-1) unstable; urgency=low * New upstream releases. 3.5: - Stops encoding text sent to Textile (Closes: #619531). 3.4: - File separator characters (e.g. /) can now be used in weblog title names. - Replaced use of md5 module with hashlib - Wrapped all instances of a String being raised as an exception with the Exception class (Closes: #585273). * Converted the packaging to dh_python2 (Closes: #616953). * Converted the packaging to ship the modules as private, as required by python policy for an application. * Since we now depend on python >= 2.6.6 inclusion of python.mk no longer needs to be optional. * Bump Standards-Version to 3.9.2. No changes were required. * Converted to source format 3.0 (quilt), which actually required no other change, since we don't have any patch. -- Luis Rodrigo Gallardo Cruz Mon, 25 Apr 2011 22:23:50 -0700 pubtal (3.3-2) unstable; urgency=low * prepare for the upcoming Python 2.6 transition, fixing the FTBFS when it'll be the default; thanks to Alessio Treglia for the report; Closes: #530707 - debian/rules + optionally include /usr/share/python/python.mk + pass py_setup_install_args to setup.py install -- Debian Python Modules Team Fri, 27 Nov 2009 19:04:19 +0100 pubtal (3.3-1) unstable; urgency=low * New Upstream Release. Thanks James Oliver for the heads up! - New Features + Changed example template for Atom to use content rather than summary tags. This enables better display of the feed in Sage. + Added new option "weblog-index-disabled" to allow the index page of a weblog to be disabled. + Made filename optional for catalogue entries when catalogue-build-pages disables item page build. - Bug Fixes + Added TR to the list of allowed tags with TABLE element. * Fixed watch file to cope with upstream's site not allowing directory listings. * Bump Standards-Version to 3.8.3. No changes required. -- Luis Rodrigo Gallardo Cruz Fri, 11 Sep 2009 12:08:24 -0700 pubtal (3.2.1-1) unstable; urgency=low [ Luis Rodrigo Gallardo Cruz] * New Upstream Release. - Sort files during FTP so that fewer directory changes are required. - Added a short sleep between FTP commands to improve reliability. - Includes Atom and RSS XML templates. * Fix address in README.Debian. * Fix doc-base section. This is a Web Development package. * Bump Standards-Version to 3.8.0. No changes required. [ Sandro Tosi ] * debian/control - uniforming Vcs-Browser field * debian/control - switch Vcs-Browser field to viewsvn [ Carlos Galisteo ] * debian/control - Added Homepage field. -- Luis Rodrigo Gallardo Cruz Sat, 28 Feb 2009 00:47:26 -0800 pubtal (3.2.0-3.1) unstable; urgency=low * NMU. Rebuild to move files to /usr/share/pyshared. Closes: #490484. -- Matthias Klose Fri, 18 Jul 2008 15:49:42 +0000 pubtal (3.2.0-3) unstable; urgency=low [ Piotr Ożarowski ] * Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now) [ Luis Rodrigo Gallardo Cruz ] * Move the removing of empty dirs after the call to dh_pycentral, since otherwise we still ship an empty /usr/lib. * We have no shared libs, there's no need to call dh_strip and dh_shlibdeps. * Use pubtal.manpages and pubtal.links files instead of manually specifying the names, and instead of manually linking them. * Clean up updateSite.sgml to use proper DocBook with no warnings. * Update maintainer address. * Bump standards version to 3.7.3. No changes needed. -- Luis Rodrigo Gallardo Cruz Fri, 07 Dec 2007 17:11:05 -0600 pubtal (3.2.0-2) unstable; urgency=low * Avoid shipping empty dirs. * Build-depend-indep on python-central >= 0.5, to properly comply with the python policy. * Build-depend on python, since we use it in clean. Tidy up that rule, also. * Add the Debian Python Modules Team to upladers. * Document the address of the package's subversion repository (XS-Vcs-Svn) * Clean debian/pubtal.doc-base of extra empty lines. -- Luis Rodrigo Gallardo Cruz Fri, 11 May 2007 13:20:37 -0500 pubtal (3.2.0-1) unstable; urgency=low * Initial debian packaging (closes: #368775) -- Luis Rodrigo Gallardo Cruz Wed, 21 Jun 2006 16:55:33 -0500 debian/control0000644000000000000000000000177111555437517010614 0ustar Source: pubtal Section: web Priority: optional Maintainer: Luis Rodrigo Gallardo Cruz Uploaders: Debian Python Modules Team Build-Depends: debhelper (>= 5.0.37.2), python (>= 2.6.6-3~) Build-Depends-Indep: docbook-to-man X-Python-Version: >=2.5 Standards-Version: 3.9.2 Vcs-Svn: svn://svn.debian.org/python-modules/packages/pubtal/trunk Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pubtal/trunk/ Homepage: http://www.owlfish.com/software/PubTal/index.html Package: pubtal Architecture: all Depends: ${misc:Depends}, ${python:Depends}, python-simpletal (>=4.1-6) Suggests: python-textile (>=1:2.1.4) Description: 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. debian/updateSite.sgml0000644000000000000000000002377111152171457012177 0ustar 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. --> Rodrigo"> Gallardo"> January 14, 2005"> 1"> rodrigo@nul-unu.com"> PUBTAL"> Debian"> GNU"> GPL"> HTML"> uploadSite"> updateSite"> ]>
&dhemail;
&dhfirstname; &dhsurname; 2004, 2005 Colin Stewart &dhusername; &dhdate;
&dhucpackage; &dhsection; PubTal Generate a web site from content and templates, and upload it to its destination &updateSite; options site.config content-dir content-type ... &uploadSite; options site.config destination-dir destination-file ... DESCRIPTION This manual page documents briefly the &updateSite; and &uploadSite; commands from the PubTal package 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. &updateSite; generates &html; pages starting from a series of content files and templates written in the ZPT language. The command takes a minimum of one parameter, the location of the website configuration file. The &updateSite; 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;, it will then find each file under the content directory and build the corresponding output files. 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. Take for example: updateSite new-site/site.config new-site/content/index.txt new-site/content/examples/ 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. &uploadSite; uploads the generated pages. This takes a minimum of one parameter, the location of the website configuration file. The &uploadSite; command first reads in the configuration file and so locates the destination directories. If only one parameter is passed to &uploadSite;, 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. 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. Take for example: uploadSite new-site/site.config new-site/dest/index.html new-site/dest/examples/ This will examine the index.html file and all files under dest/examples/ when determining what files to upload. OPTIONS A summary of options is included below. For a complete description, see the &html; documentation. Options for &updateSite; Prints out the help description for the command. Builds all classes of content, not just content in the "normal" class. Builds all classes given as supplied in a comma separated list. Turns on logging. Logs to the file "name" (defaults to updateSite.log). Turns on debug logging; implies . Turns on debug logging of SimpleTAL, implies . Options for &uploadSite; Prints out the help description for the command. Checks all files are uploaded, not just PubTal generated ones. Uploads files even if PubTal thinks they are up-to-date. Prints out what would have been done, but takes no action. Turns on logging. Logs to the file "name" (defaults to updateSite.log). Turns on debug logging; implies . SEE ALSO The programs are documented fully by &html; documentation available in /usr/share/doc/pubtal/html. AUTHOR 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 or any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.