[Python-modules-commits] r2387 - in /packages/pudge/trunk: debian/changelog debian/copyright debian/rules pudge/ pudge/__init__.py

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Mon May 14 09:44:09 UTC 2007


Author: piotr
Date: Mon May 14 09:44:08 2007
New Revision: 2387

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=2387
Log:
* Update "tarball" rule (also ranamed to "get-orig-source")
* Remove non-ASCII character from pudge/__init__.py (closes: #423790)

Added:
    packages/pudge/trunk/pudge/
    packages/pudge/trunk/pudge/__init__.py
Modified:
    packages/pudge/trunk/debian/changelog
    packages/pudge/trunk/debian/copyright
    packages/pudge/trunk/debian/rules

Modified: packages/pudge/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/pudge/trunk/debian/changelog?rev=2387&op=diff
==============================================================================
--- packages/pudge/trunk/debian/changelog (original)
+++ packages/pudge/trunk/debian/changelog Mon May 14 09:44:08 2007
@@ -1,3 +1,10 @@
+pudge (0.1.4~svn137-2) unstable; urgency=low
+
+  * Update "tarball" rule (also ranamed to "get-orig-source")
+  * Remove non-ASCII character from pudge/__init__.py (closes: #423790)
+
+ -- Piotr Ożarowski <piotr at debian.org>  Mon, 14 May 2007 11:15:28 +0200
+
 pudge (0.1.4~svn137-1) unstable; urgency=medium
 
   * New upstream release (setup.py says it is 0.1.4 but module introduces

Modified: packages/pudge/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/python-modules/packages/pudge/trunk/debian/copyright?rev=2387&op=diff
==============================================================================
--- packages/pudge/trunk/debian/copyright (original)
+++ packages/pudge/trunk/debian/copyright Mon May 14 09:44:08 2007
@@ -2,7 +2,7 @@
 Sat, 10 Feb 2007 00:39:31 +0100.
 
 It was downloaded from: http://pudge.lesscode.org/
-(`REVISION=134 ./debian/rules tarball`)
+(`REVISION=137 ./debian/rules get-orig-source`)
 
 Upstream Author: Ryan Tomayko <rtomayko at gmail.com>
 

Modified: packages/pudge/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pudge/trunk/debian/rules?rev=2387&op=diff
==============================================================================
--- packages/pudge/trunk/debian/rules (original)
+++ packages/pudge/trunk/debian/rules Mon May 14 09:44:08 2007
@@ -45,16 +45,15 @@
 
 binary: binary-indep binary-arch
 
-tarball:
+get-orig-source:
 	@if [ "$$REVISION" = "" ]; then \
 		REVISION=`LC_ALL=C svn --non-interactive info svn://lesscode.org/pudge/trunk/ \
 			| grep Revision | cut -c 11-`; \
 	fi; \
 	if [ "$$REVISION" = "" ]; then exit 1; fi; \
-        svn -q export -r $${REVISION} svn://lesscode.org/pudge/trunk/ pudge-svn$${REVISION}; \
+        LC_ALL=C svn -q export -r $${REVISION} svn://lesscode.org/pudge/trunk/ pudge-svn$${REVISION}; \
         VERSION=`grep "__version__ = " pudge-svn$${REVISION}/pudge/__init__.py | cut -d '"' -f 2`; \
-        tar -zcf ../pudge_$$VERSION~svn$${REVISION}.orig.tar.gz pudge-svn$${REVISION}; \
-        rm -rf pudge-svn$${REVISION}; \
-        echo file ../pudge_$$VERSION~svn$${REVISION}.orig.tar.gz successfully created
+        tar -zcf ./pudge_$$VERSION~svn$${REVISION}.orig.tar.gz pudge-svn$${REVISION}; \
+        rm -rf pudge-svn$${REVISION};
 
 .PHONY: build clean binary-indep binary-arch binary install

Added: packages/pudge/trunk/pudge/__init__.py
URL: http://svn.debian.org/wsvn/python-modules/packages/pudge/trunk/pudge/__init__.py?rev=2387&op=file
==============================================================================
--- packages/pudge/trunk/pudge/__init__.py (added)
+++ packages/pudge/trunk/pudge/__init__.py Mon May 14 09:44:08 2007
@@ -1,0 +1,37 @@
+"""Pudge package.
+
+The `pudge.generator.Generator` class can be used to generate Python
+documentation::
+
+    from pudge.generator import Generator
+    generator = Generator()
+    generator.title = 'Foo Documentation'
+    generator.license = 'gnu'
+    generator.dest_dir = '/tmp/documentation'
+    generator.modules = ['foo']
+    generator()
+    
+This package contains modules for generating documentation from Python
+source code. The `pudge.generator.Generator` class uses the `peruser`
+and `scanner` modules to inspect a package/module hierarchy, the
+`colorizer` and `rst` modules to generate HTML files and fragments.
+
+"""
+
+import logging
+
+# the logger object used by all modules.
+log = logging.getLogger('pudge')
+
+__all__ = ['generator', 'scanner', 'colorizer', 'cli', 'rst',
+           'log', 'browser']
+
+
+# module attributes
+__author__ = "Ryan Tomayko <rtomayko at gmail.com>"
+__date__ = "$Date: 2006-12-29 22:45:52 +0100 (Fri, 29 Dec 2006) $"
+__revision__ = "$Revision: 132 $"
+__url__ = "$URL: svn://lesscode.org/pudge/trunk/pudge/__init__.py $"
+__copyright__ = "Copyright 2005, Ryan Tomayko"
+__license__ = "MIT <http://www.opensource.org/licenses/mit-license.php>"
+__version__ = "0.1.3"




More information about the Python-modules-commits mailing list