[Python-modules-commits] r20430 - in packages/python-docutils/trunk/debian (5 files)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Mon Feb 13 13:49:40 UTC 2012


    Date: Monday, February 13, 2012 @ 13:49:38
  Author: jwilk
Revision: 20430

Convert rst2odt_prepstyles manpage source from DocBook to reStructuredText.

Added:
  packages/python-docutils/trunk/debian/rst2odt_prepstyles.txt
Modified:
  packages/python-docutils/trunk/debian/changelog
  packages/python-docutils/trunk/debian/control
  packages/python-docutils/trunk/debian/rules
Deleted:
  packages/python-docutils/trunk/debian/rst2odt_prepstyles.sgml

Modified: packages/python-docutils/trunk/debian/changelog
===================================================================
--- packages/python-docutils/trunk/debian/changelog	2012-02-13 11:25:39 UTC (rev 20429)
+++ packages/python-docutils/trunk/debian/changelog	2012-02-13 13:49:38 UTC (rev 20430)
@@ -15,8 +15,12 @@
   * Update Subversion repository URLs in patch headers (so that they point to
     SourceForge rather than BerliOS).
   * Use xargs to iterate over all Python versions.
+  * Convert rst2odt_prepstyles manpage source from DocBook to
+    reStructuredText.
+    + Remove docbook-to-man from Build-Depends-Indep.
+    + Update debian/rules.
 
- -- Jakub Wilk <jwilk at debian.org>  Sat, 31 Dec 2011 19:46:09 +0100
+ -- Jakub Wilk <jwilk at debian.org>  Mon, 13 Feb 2012 14:49:15 +0100
 
 python-docutils (0.8.1-4) unstable; urgency=low
 

Modified: packages/python-docutils/trunk/debian/control
===================================================================
--- packages/python-docutils/trunk/debian/control	2012-02-13 11:25:39 UTC (rev 20429)
+++ packages/python-docutils/trunk/debian/control	2012-02-13 13:49:38 UTC (rev 20430)
@@ -10,7 +10,6 @@
 Build-Depends-Indep: python-all (>= 2.3),
                      python3-all (>= 3.1.2-7~),
                      python-support (>= 0.6.4),
-                     docbook-to-man,
                      xml-core
 Standards-Version: 3.9.2
 XS-Python-Version: >= 2.3

Deleted: packages/python-docutils/trunk/debian/rst2odt_prepstyles.sgml
===================================================================
--- packages/python-docutils/trunk/debian/rst2odt_prepstyles.sgml	2012-02-13 11:25:39 UTC (rev 20429)
+++ packages/python-docutils/trunk/debian/rst2odt_prepstyles.sgml	2012-02-13 13:49:38 UTC (rev 20430)
@@ -1,62 +0,0 @@
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.5//EN">
-<refentry id="rst2odt_prepstyles">
-  <refmeta>
-    <refentrytitle>rst2odt_prepstyles</refentrytitle>
-    <manvolnum>1</manvolnum>
-    <refmiscinfo class="date">July 2008</refmiscinfo>
-    <refmiscinfo class="source"></refmiscinfo>
-    <refmiscinfo class="title">odtwriter</refmiscinfo>
-  </refmeta>
-
-  <refnamediv>
-    <refname>rst2odt_prepstyles</refname>
-    <refpurpose>strip paper size specifications off of rst2odt stylesheets</refpurpose>
-  </refnamediv>
-
-  <refsynopsisdiv>
-    <cmdsynopsis>
-      <command>rst2odt_prepstyles</command>
-      <arg choice="req"><replaceable>FILE</replaceable></arg>
-    </cmdsynopsis>
-  </refsynopsisdiv>
-
-  <refsect1>
-    <title>DESCRIPTION</title>
-
-    <para>
-      <command>rst2odt(1)</command> uses a stylesheet file as a template
-      for the ODT files it creates.  The stock
-      <filename>styles.odt</filename> file shipped with it comes without
-      page dimensions.  When <command>rst2odt</command> is run and
-      detects that there no paper size is given in the stylesheet, it is
-      automatically determined using <command>paperconf(1)</command>.
-    </para>
-
-    <para>
-      When editing stylesheets with OpenOffice.org Writer (or similar
-      programs), the resulting files always carry a page size.
-      <command>rst2odt</command> respects this setting and ensures that
-      documents processed with custom stylesheets look the same
-      regardless of the host it is running on.  If you want to get the
-      original behavior, i.e. a system-dependent paper size, you can run
-      <command>rst2odt_prepstyles</command> over your custom stylesheet.
-      Remember to re-run the command whenever you change the file with a
-      word processor.
-    </para>
-  </refsect1>
-
-  <refsect1>
-    <title>AUTHOR</title>
-
-    <para>
-      odtwriter is Copyright © 2006-2008 Dave Kuhlman
-      <<email>dkuhlman at rexx.com</email>>
-    </para>
-
-    <para>
-      This manual page was written by Michael Schutte for the Debian
-      GNU/Linux system (but may be used by others).
-    </para>
-  </refsect1>
-</refentry>
-<!-- vim: set sw=2 sts=2 et tw=72: -->

Added: packages/python-docutils/trunk/debian/rst2odt_prepstyles.txt
===================================================================
--- packages/python-docutils/trunk/debian/rst2odt_prepstyles.txt	                        (rev 0)
+++ packages/python-docutils/trunk/debian/rst2odt_prepstyles.txt	2012-02-13 13:49:38 UTC (rev 20430)
@@ -0,0 +1,38 @@
+==================
+rst2odt_prepstyles
+==================
+
+----------------------------------------------------------
+strip paper size specifications off of rst2odt stylesheets
+----------------------------------------------------------
+
+:Manual section: 1
+:Manual group: text processing
+
+Synopsis
+========
+**rst2odt_prepstyles** *FILE*
+
+Description
+===========
+
+**rst2odt**\(1) uses a stylesheet file as a template for the ODT files it
+creates.  The stock **styles.odt** file shipped with it comes without page
+dimensions.  When **rst2odt** is run and detects that there no paper size is
+given in the stylesheet, it is automatically determined using
+**paperconf**\(1).
+
+When editing stylesheets with OpenOffice.org Writer (or similar programs), the
+resulting files always carry a page size.  **rst2odt** respects this setting
+and ensures that documents processed with custom stylesheets look the same
+regardless of the host it is running on.  If you want to get the original
+behavior, i.e. a system-dependent paper size, you can run
+**rst2odt_prepstyles** over your custom stylesheet.  Remember to re-run the
+command whenever you change the file with a word processor.
+
+Author
+======
+odtwriter is Copyright © 2006-2008 Dave Kuhlman <dkuhlman at rexx.com>
+
+This manual page was written by Michael Schutte for the Debian GNU/Linux system
+(but may be used by others).

Modified: packages/python-docutils/trunk/debian/rules
===================================================================
--- packages/python-docutils/trunk/debian/rules	2012-02-13 11:25:39 UTC (rev 20429)
+++ packages/python-docutils/trunk/debian/rules	2012-02-13 13:49:38 UTC (rev 20430)
@@ -106,8 +106,7 @@
 		python tools/rst2man.py debian/tmp/man/$$exe.txt \
 			debian/tmp/man/$$exe.1; \
 	done
-	docbook-to-man debian/rst2odt_prepstyles.sgml > \
-		debian/tmp/man/rst2odt_prepstyles.1
+	python tools/rst2man.py debian/rst2odt_prepstyles.txt > debian/tmp/man/rst2odt_prepstyles.1
 
 # Build architecture-independent files here.
 binary-indep: build install




More information about the Python-modules-commits mailing list