./textproc/py-creole, Markup converter in pure Python

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 1.3.2, Package name: py27-creole-1.3.2, Maintainer: joerg

py-creole is a converter between HTML and the Creole markup language.
Creole is a markup language that was created to simplify sharing content
between different wikis. It is supported by MoinMoin and various other
engines. The full language is descript in http://www.wikicreole.org/.

Required to run:
[textproc/py-docutils] [textproc/py-textile] [devel/py-setuptools] [lang/python27]

Required to build:
[devel/py-nose] [pkgtools/cwrappers]

Master sites:

SHA1: 20cb134651b016da5fd31729b0923764ac20fb05
RMD160: 134e09939b9a5dcd99bcdcbf25dafa92bd30bf79
Filesize: 72.91 KB

Version history: (Expand)

CVS history: (Expand)

   2018-03-01 09:10:35 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-creole: updated to 1.3.2

Adding optional img size to creole2html and html2creole
run tests also with python 3.5 and 3.6
   2017-10-07 09:31:14 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-creole: update to 1.3.1

Bugfix for “Failed building wheel for python-creole”
   2017-09-03 11:22:58 by Thomas Klausner | Files touched by this commit (20) | Package updated
Log message:
Update some HOMEPAGEs.
   2016-06-08 19:43:49 by Thomas Klausner | Files touched by this commit (356)
Log message:
   2015-11-04 03:00:17 by Alistair G. Crooks | Files touched by this commit (797)
Log message:
Add SHA512 digests for distfiles for textproc category

Problems found locating distfiles:
	Package cabocha: missing distfile cabocha-0.68.tar.bz2
	Package convertlit: missing distfile clit18src.zip
	Package php-enchant: missing distfile php-enchant/enchant-1.1.0.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2014-12-31 14:57:34 by Thomas Klausner | Files touched by this commit (125)
Log message:
Improve EGG_NAME default to work for packages with '-' in their name.
Remove now unnecessary overrides in various packages.
   2012-10-25 08:57:09 by Aleksej Saushev | Files touched by this commit (587)
Log message:
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
   2012-10-11 17:35:09 by Wen Heping | Files touched by this commit (4) | Package updated
Log message:
Update to 1.0.5
Based on PR #46593 submitted by Wen Heping(myself)

Upstream changes:
v1.0.5 - 2012-09-03
made automatic protocol links more strict: Only whitespace before and at the end \ 
are allowed.
Bugfix: Don't allow ftp:/broken (Only one slash) to be a link.

html2rest: Handle double link/image substitution and raise better error messages
Bugfix in unittests (include test README file in python package). Thanks to Wen \ 
Heping for reporting this.

Bugfix: AttributeError: 'module' object has no attribute 'interesting_cdata' \ 
from HTMLParser patch. Thanks to Wen Heping for reporting this.
Fix a bug in get_long_description() ReSt test for Py3k and his unittests.
Use Travis CI, too.

Fix "AttributeError: 'NoneType' object has no attribute 'parent'" in \ 

Fix "TypeError: expected string or buffer" in rest2html.
Bugfix in exception handling.

Change API: Replace 'parser_kwargs' and 'emitter_kwargs' with separate \ 
arguments. (More information on API Wiki Page)

Turn zip_safe in setup.py on and change unittests API.

Many Bugfixes, tested with CPython 2.6, 2.7, 3.2 and PyPy v1.6

Add Python v3 support (like http://python3porting.com/noconv.html strategy)
move unittests into creole/tests/
Tested with Python 2.7.1, 3.2 and PyPy v1.6.1 15798ab8cf48 jit

Bugfix in html2creole: ignore links without href

Bugfix in html parser if list tag has attributes: \ 
https://code.google.com/p/python-creole … l?id=19#c4

Better error message if given string is not unicode: \ 
https://code.google.com/p/python-creole … tail?id=19

Bugfix in get_long_description() error handling (local variable \ 
'long_description_origin' referenced before assignment)

Bugfix for installation under python 2.5
Note: setup helper changed: rename GetLongDescription(...) to \ 

New GetLongDescription() helper for setup.py, see: \ 

Bugfix in html2rest:
table without <th> header
new line after table
create reference hyperlinks in table cells intead of embedded urls.
Don't always use raise_unknown_node()
Add child content to raise_unknown_node()

Activate ---- to <hr> in html2rest
Update demo.py

Bugfix if docutils are not installed
API change: rest2html is now here: from creole.rest2html.clean_writer import \ 

NEW: Add a html2reStructuredText converter (only a subset of reSt supported)

Bugfix: separate lines with one space in "wiki style line breaks" mode

NEW: html2textile converter
some API changed!

API changed:
Html2CreoleEmitter optional argument 'unknown_emit' takes now a callable for \ 
handle unknown html tags.
No macros used as default in creole2html converting.
We remove the support for callable macros. Only dict and modules are allowed.
remove unknown html tags is default behaviour in html2creole converting.

restructure and cleanup sourcecode files.

only emit children of empty tags like div and span (contributed by Eric O'Connell)
remove inter wiki links and doesn't check the protocol

Use  when {{{ ... }}} is inline and not <pre>, see: PyLucid Forum Thread
Bugfix in html2creole: insert newline before new list. TODO: apply to all block \ 
tags: issues 16

Bugfix for spaces after Headline: issues 15

Make argument 'block_rules' in Parser() optional

creole2html() has the optional parameter 'blog_line_breaks' to switch from \ 
default blog to wiki line breaks

bugfix in setup.py

handle obsolete non-closed <br> tag

bugfix in setup.py
Cleanup DocStrings
add unittests