From root@Hilbert.suse.de Mon Apr 21 00:16:59 2008 From: root@Hilbert.suse.de To: commit@lists.opensuse.org Subject: commit python-twisted-lore Date: Mon, 21 Apr 2008 02:20:16 +0200 Message-ID: <20080421002016.D4F0C678182@Hilbert.suse.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8308710990830102172==" --===============8308710990830102172== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello community, here is the log from the commit of package python-twisted-lore checked in at Mon Apr 21 02:20:16 CEST 2008. -------- --- python-twisted-lore/python-twisted-lore.changes 2007-08-02 17:07:18.00000= 0000 +0200 +++ python-twisted-lore/python-twisted-lore.changes 2008-04-17 19:54:40.00000= 0000 +0200 @@ -1,0 +2,7 @@ +Thu Apr 17 19:54:15 CEST 2008 - matejcik(a)suse.cz + +- update to 8.0.0 + * new versioning scheme, see python-twisted for explanation + * minor bugfixes + +------------------------------------------------------------------- Old: ---- TwistedLore-0.3.0.tar.bz2 New: ---- TwistedLore-8.0.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-twisted-lore.spec ++++++ --- /var/tmp/diff_new_pack.D16572/_old 2008-04-21 02:19:44.000000000 +0200 +++ /var/tmp/diff_new_pack.D16572/_new 2008-04-21 02:19:44.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package python-twisted-lore (Version 0.3.0) +# spec file for package python-twisted-lore (Version 8.0.0) # -# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -10,16 +10,17 @@ =20 # norootforbuild =20 + Name: python-twisted-lore BuildRequires: python-devel python-twisted Summary: Twisted Lore -Version: 0.3.0 +Version: 8.0.0 Release: 1 %define tarname TwistedLore Source: %{tarname}-%{version}.tar.bz2 License: X11/MIT Group: Development/Languages/Python -URL: http://twistedmatrix.com/trac/wiki/TwistedLore +Url: http://twistedmatrix.com/trac/wiki/TwistedLore BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: python-twisted %{py_requires} @@ -51,19 +52,23 @@ %doc LICENSE README NEWS =20 %changelog -* Thu Aug 02 2007 - jmatejek(a)suse.cz +* Thu Apr 17 2008 matejcik(a)suse.cz +- update to 8.0.0 + * new versioning scheme, see python-twisted for explanation + * minor bugfixes +* Thu Aug 02 2007 jmatejek(a)suse.cz - update to 0.3.0 * improved docstrings * emitting a span with an index class to latex now works -* Thu Oct 26 2006 - jmatejek(a)suse.cz +* Thu Oct 26 2006 jmatejek(a)suse.cz - update to 0.2.0 - upgrade to Twisted 2.4 install system - improved docstrings - embedded Dia support for LaTeX no longer needs 'which' - problematic bookify functionality removed -* Tue Feb 28 2006 - jmatejek(a)suse.cz +* Tue Feb 28 2006 jmatejek(a)suse.cz - updated to reflect python changes due to #149809 -* Wed Jan 25 2006 - mls(a)suse.de +* Wed Jan 25 2006 mls(a)suse.de - converted neededforbuild to BuildRequires -* Thu Apr 14 2005 - mcihar(a)suse.cz +* Thu Apr 14 2005 mcihar(a)suse.cz - new package (split Twisted according to upstream) ++++++ TwistedLore-0.3.0.tar.bz2 -> TwistedLore-8.0.0.tar.bz2 ++++++ diff -urN --exclude=3DCVS --exclude=3D.cvsignore --exclude=3D.svn --exclude= =3D.svnignore old/TwistedLore-0.3.0/doc/examples/index.html new/TwistedLore-8= .0.0/doc/examples/index.html --- old/TwistedLore-0.3.0/doc/examples/index.html 2007-01-07 03:42:40.0000000= 00 +0100 +++ new/TwistedLore-8.0.0/doc/examples/index.html 2008-03-25 17:22:43.0000000= 00 +0100 @@ -1,2 +1,2 @@
The Lore Documentation System, out = of the box, is + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
The Lore Documentation System, out of the bo= x, is specialized for documenting Twisted. Its markup includes CSS classes for Python, HTML, filenames, and other Twisted-focused categories. But don't think this means Lore can't be used for other documentation tasks! Lore is @@ -233,4 +233,4 @@ =20 class MyChapterLatexSpitter(MySpitterMixi= n, latex.ChapterLatexSpitter): pass -
Lore documents are a special subset of XHTML documents. They use spec= ific + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Lor= e documents are a special subset of XHTML documents. They use specific subset of XHTML, together with custom classes, to allow a wide variety of document elements, including some Python-specific ones. Lore documents, in particular, are well-formed XML documents. XML can be written using a wide @@ -133,4 +133,4 @@
This will generate compiler-style (file:line:column:message) warnin= gs. It is possible to integrate these warnings into a smart editor such as EMACS, but it has not been done yet.
admin/process-docs
script.lore - co= nvert documentations formats +
lore [-l linkrel] [-d docsdir] [-i input] [-o output]= [--config attribute[=3Dvalue] [...]] [-p] [file [...]]
lore --help
The --= help prints out a usage message to standard output. +
lore(the standard format),
mlore(allows LaTeX equ= ations) +and
man(man page format). If the input format is not registered as a= plugin, +a module of the named input will be searched. For example,=20 +--i twisted.lore.defaultis equivalent to using the default= Lore input. +
If no files are g= iven, all *.html documents in docsdir are processed. +
doc/howto/lore.xhtml, doc/howt= o/doc-standard.xhtml, doc/howto/extend-lore.xhtml +
Written by Moshe Zadka +
To report a bug, visit <= em>http://twistedmatrix.com/bugs/
Copyright © 2003 Matthew W. Lefkowitz +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +
\\1', text) return text =20 + + def stripQuotes(s): if s[0] =3D=3D s[-1] =3D=3D '"': s =3D s[1:-1] return s =20 -class ManConverter: + + +class ManConverter(object): + """ + Convert a man page to the Lore format. + + @ivar tp: State variable for handling text inside a C{TP} token. It can + take values from 0 to 3: + - 0: when outside of a C{TP} token. + - 1: once a C{TP} token has been encountered. If the previous va= lue + was 0, a definition list is started. Then, at the first line of + text, a definition term is started. + - 2: when the first line after the C{TP} token has been handled. + The definition term is closed, and a definition is started with + the next line of text. + - 3: when the first line as definition data has been handled. + @type tp: C{int} + """ state =3D 'regular' name =3D None tp =3D 0 @@ -43,6 +66,7 @@ self.closeTags() self.write('\n