pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/46593: [Update]textproc/py-creole:update to 1.0.4



>Number:         46593
>Category:       pkg
>Synopsis:       [Update]textproc/py-creole:update to 1.0.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 12 10:25:00 +0000 2012
>Originator:     wen heping
>Release:        NetBSD-5.1.2
>Organization:
netbsd
>Environment:
>Description:
- Update to 1.0.4

v1.0.4

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.

v1.0.3

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.
v1.0.2

Fix "AttributeError: 'NoneType' object has no attribute 'parent'" in 
html2creole.
v1.0.1

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

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

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

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

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
v0.8.5

Bugfix in html2creole: ignore links without href
v0.8.4

Bugfix in html parser if list tag has attributes: 
https://code.google.com/p/python-creole/issues/detail?id=19#c4
v0.8.3

Better error message if given string is not unicode: 
https://code.google.com/p/python-creole/issues/detail?id=19
v0.8.2

Bugfix in get_long_description() error handling (local variable 
'long_description_origin' referenced before assignment)
v0.8.1

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

New GetLongDescription() helper for setup.py, see: 
https://code.google.com/p/python-creole/wiki/UseInSetup
v0.7.3

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()

v0.7.2

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

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

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

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

NEW: html2textile converter
some API changed!
v0.5

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.

v0.4

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
v0.3.3

Use <tt> 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
v0.3.2

Bugfix for spaces after Headline: issues 15
v0.3.1

Make argument 'block_rules' in Parser() optional
v0.3.0

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

bugfix in setup.py
v0.2.7

handle obsolete non-closed <br> tag
v0.2.6

bugfix in setup.py
Cleanup DocStrings
add unittests
>How-To-Repeat:

>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/py-creole/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile    7 Feb 2012 11:25:46 -0000       1.2
+++ Makefile    12 Jun 2012 10:21:23 -0000
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.2 2012/02/07 11:25:46 obache Exp $
 #

-VERS=          0.2.5
+VERS=          1.0.4
 DISTNAME=      python-creole-${VERS}
 PKGNAME=       ${PYPKGPREFIX}-creole-${VERS}
 EGG_NAME=      python_creole-${VERS}
@@ -16,6 +16,9 @@ LICENSE=      gnu-gpl-v3

 PKG_DESTDIR_SUPPORT=   user-destdir

+DEPENDS+=      ${PYPKGPREFIX}-docutils>=0:../../textproc/py-docutils
+DEPENDS+=      ${PYPKGPREFIX}-textile>=0:../../textproc/py-textile
+
 USE_LANGUAGES= #none

 .include "../../lang/python/egg.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/py-creole/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- PLIST       11 Feb 2010 13:01:54 -0000      1.1.1.1
+++ PLIST       12 Jun 2012 10:21:23 -0000
@@ -1,45 +1,157 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2010/02/11 13:01:54 joerg Exp $
+@comment $NetBSD$
+README.creole
 ${PYSITELIB}/creole/__init__.py
 ${PYSITELIB}/creole/__init__.pyc
 ${PYSITELIB}/creole/__init__.pyo
-${PYSITELIB}/creole/creole2html.py
-${PYSITELIB}/creole/creole2html.pyc
-${PYSITELIB}/creole/creole2html.pyo
-${PYSITELIB}/creole/creole_parser.py
-${PYSITELIB}/creole/creole_parser.pyc
-${PYSITELIB}/creole/creole_parser.pyo
-${PYSITELIB}/creole/default_macros.py
-${PYSITELIB}/creole/default_macros.pyc
-${PYSITELIB}/creole/default_macros.pyo
-${PYSITELIB}/creole/html2creole.py
-${PYSITELIB}/creole/html2creole.pyc
-${PYSITELIB}/creole/html2creole.pyo
+${PYSITELIB}/creole/creole2html/__init__.py
+${PYSITELIB}/creole/creole2html/__init__.pyc
+${PYSITELIB}/creole/creole2html/__init__.pyo
+${PYSITELIB}/creole/creole2html/emitter.py
+${PYSITELIB}/creole/creole2html/emitter.pyc
+${PYSITELIB}/creole/creole2html/emitter.pyo
+${PYSITELIB}/creole/creole2html/parser.py
+${PYSITELIB}/creole/creole2html/parser.pyc
+${PYSITELIB}/creole/creole2html/parser.pyo
+${PYSITELIB}/creole/creole2html/rules.py
+${PYSITELIB}/creole/creole2html/rules.pyc
+${PYSITELIB}/creole/creole2html/rules.pyo
+${PYSITELIB}/creole/exceptions.py
+${PYSITELIB}/creole/exceptions.pyc
+${PYSITELIB}/creole/exceptions.pyo
+${PYSITELIB}/creole/html2creole/__init__.py
+${PYSITELIB}/creole/html2creole/__init__.pyc
+${PYSITELIB}/creole/html2creole/__init__.pyo
+${PYSITELIB}/creole/html2creole/emitter.py
+${PYSITELIB}/creole/html2creole/emitter.pyc
+${PYSITELIB}/creole/html2creole/emitter.pyo
+${PYSITELIB}/creole/html2rest/__init__.py
+${PYSITELIB}/creole/html2rest/__init__.pyc
+${PYSITELIB}/creole/html2rest/__init__.pyo
+${PYSITELIB}/creole/html2rest/emitter.py
+${PYSITELIB}/creole/html2rest/emitter.pyc
+${PYSITELIB}/creole/html2rest/emitter.pyo
+${PYSITELIB}/creole/html2textile/__init__.py
+${PYSITELIB}/creole/html2textile/__init__.pyc
+${PYSITELIB}/creole/html2textile/__init__.pyo
+${PYSITELIB}/creole/html2textile/emitter.py
+${PYSITELIB}/creole/html2textile/emitter.pyc
+${PYSITELIB}/creole/html2textile/emitter.pyo
+${PYSITELIB}/creole/html_parser/__init__.py
+${PYSITELIB}/creole/html_parser/__init__.pyc
+${PYSITELIB}/creole/html_parser/__init__.pyo
+${PYSITELIB}/creole/html_parser/config.py
+${PYSITELIB}/creole/html_parser/config.pyc
+${PYSITELIB}/creole/html_parser/config.pyo
+${PYSITELIB}/creole/html_parser/parser.py
+${PYSITELIB}/creole/html_parser/parser.pyc
+${PYSITELIB}/creole/html_parser/parser.pyo
+${PYSITELIB}/creole/html_tools/__init__.py
+${PYSITELIB}/creole/html_tools/__init__.pyc
+${PYSITELIB}/creole/html_tools/__init__.pyo
+${PYSITELIB}/creole/html_tools/deentity.py
+${PYSITELIB}/creole/html_tools/deentity.pyc
+${PYSITELIB}/creole/html_tools/deentity.pyo
+${PYSITELIB}/creole/html_tools/strip_html.py
+${PYSITELIB}/creole/html_tools/strip_html.pyc
+${PYSITELIB}/creole/html_tools/strip_html.pyo
+${PYSITELIB}/creole/html_tools/text_tools.py
+${PYSITELIB}/creole/html_tools/text_tools.pyc
+${PYSITELIB}/creole/html_tools/text_tools.pyo
+${PYSITELIB}/creole/py3compat.py
+${PYSITELIB}/creole/py3compat.pyc
+${PYSITELIB}/creole/py3compat.pyo
+${PYSITELIB}/creole/rest2html/__init__.py
+${PYSITELIB}/creole/rest2html/__init__.pyc
+${PYSITELIB}/creole/rest2html/__init__.pyo
+${PYSITELIB}/creole/rest2html/clean_writer.py
+${PYSITELIB}/creole/rest2html/clean_writer.pyc
+${PYSITELIB}/creole/rest2html/clean_writer.pyo
+${PYSITELIB}/creole/setup_utils.py
+${PYSITELIB}/creole/setup_utils.pyc
+${PYSITELIB}/creole/setup_utils.pyo
+${PYSITELIB}/creole/shared/HTMLParsercompat.py
+${PYSITELIB}/creole/shared/HTMLParsercompat.pyc
+${PYSITELIB}/creole/shared/HTMLParsercompat.pyo
+${PYSITELIB}/creole/shared/__init__.py
+${PYSITELIB}/creole/shared/__init__.pyc
+${PYSITELIB}/creole/shared/__init__.pyo
+${PYSITELIB}/creole/shared/base_emitter.py
+${PYSITELIB}/creole/shared/base_emitter.pyc
+${PYSITELIB}/creole/shared/base_emitter.pyo
+${PYSITELIB}/creole/shared/document_tree.py
+${PYSITELIB}/creole/shared/document_tree.pyc
+${PYSITELIB}/creole/shared/document_tree.pyo
+${PYSITELIB}/creole/shared/example_macros.py
+${PYSITELIB}/creole/shared/example_macros.pyc
+${PYSITELIB}/creole/shared/example_macros.pyo
+${PYSITELIB}/creole/shared/html_parser.py
+${PYSITELIB}/creole/shared/html_parser.pyc
+${PYSITELIB}/creole/shared/html_parser.pyo
+${PYSITELIB}/creole/shared/markup_table.py
+${PYSITELIB}/creole/shared/markup_table.pyc
+${PYSITELIB}/creole/shared/markup_table.pyo
+${PYSITELIB}/creole/shared/unknown_tags.py
+${PYSITELIB}/creole/shared/unknown_tags.pyc
+${PYSITELIB}/creole/shared/unknown_tags.pyo
+${PYSITELIB}/creole/shared/utils.py
+${PYSITELIB}/creole/shared/utils.pyc
+${PYSITELIB}/creole/shared/utils.pyo
+${PYSITELIB}/creole/tests/__init__.py
+${PYSITELIB}/creole/tests/__init__.pyc
+${PYSITELIB}/creole/tests/__init__.pyo
+${PYSITELIB}/creole/tests/all_tests.py
+${PYSITELIB}/creole/tests/all_tests.pyc
+${PYSITELIB}/creole/tests/all_tests.pyo
+${PYSITELIB}/creole/tests/test_TODOs.py
+${PYSITELIB}/creole/tests/test_TODOs.pyc
+${PYSITELIB}/creole/tests/test_TODOs.pyo
+${PYSITELIB}/creole/tests/test_creole2html.py
+${PYSITELIB}/creole/tests/test_creole2html.pyc
+${PYSITELIB}/creole/tests/test_creole2html.pyo
+${PYSITELIB}/creole/tests/test_cross_compare_all.py
+${PYSITELIB}/creole/tests/test_cross_compare_all.pyc
+${PYSITELIB}/creole/tests/test_cross_compare_all.pyo
+${PYSITELIB}/creole/tests/test_cross_compare_creole.py
+${PYSITELIB}/creole/tests/test_cross_compare_creole.pyc
+${PYSITELIB}/creole/tests/test_cross_compare_creole.pyo
+${PYSITELIB}/creole/tests/test_cross_compare_rest.py
+${PYSITELIB}/creole/tests/test_cross_compare_rest.pyc
+${PYSITELIB}/creole/tests/test_cross_compare_rest.pyo
+${PYSITELIB}/creole/tests/test_cross_compare_textile.py
+${PYSITELIB}/creole/tests/test_cross_compare_textile.pyc
+${PYSITELIB}/creole/tests/test_cross_compare_textile.pyo
+${PYSITELIB}/creole/tests/test_html2creole.py
+${PYSITELIB}/creole/tests/test_html2creole.pyc
+${PYSITELIB}/creole/tests/test_html2creole.pyo
+${PYSITELIB}/creole/tests/test_html2rest.py
+${PYSITELIB}/creole/tests/test_html2rest.pyc
+${PYSITELIB}/creole/tests/test_html2rest.pyo
+${PYSITELIB}/creole/tests/test_html2textile.py
+${PYSITELIB}/creole/tests/test_html2textile.pyc
+${PYSITELIB}/creole/tests/test_html2textile.pyo
+${PYSITELIB}/creole/tests/test_macros.py
+${PYSITELIB}/creole/tests/test_macros.pyc
+${PYSITELIB}/creole/tests/test_macros.pyo
+${PYSITELIB}/creole/tests/test_rest2html.py
+${PYSITELIB}/creole/tests/test_rest2html.pyc
+${PYSITELIB}/creole/tests/test_rest2html.pyo
+${PYSITELIB}/creole/tests/test_setup_utils.py
+${PYSITELIB}/creole/tests/test_setup_utils.pyc
+${PYSITELIB}/creole/tests/test_setup_utils.pyo
+${PYSITELIB}/creole/tests/test_utils.py
+${PYSITELIB}/creole/tests/test_utils.pyc
+${PYSITELIB}/creole/tests/test_utils.pyo
+${PYSITELIB}/creole/tests/utils/__init__.py
+${PYSITELIB}/creole/tests/utils/__init__.pyc
+${PYSITELIB}/creole/tests/utils/__init__.pyo
+${PYSITELIB}/creole/tests/utils/base_unittest.py
+${PYSITELIB}/creole/tests/utils/base_unittest.pyc
+${PYSITELIB}/creole/tests/utils/base_unittest.pyo
+${PYSITELIB}/creole/tests/utils/utils.py
+${PYSITELIB}/creole/tests/utils/utils.pyc
+${PYSITELIB}/creole/tests/utils/utils.pyo
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/${EGG_INFODIR}/zip-safe
-${PYSITELIB}/tests/__init__.py
-${PYSITELIB}/tests/__init__.pyc
-${PYSITELIB}/tests/__init__.pyo
-${PYSITELIB}/tests/run_all_tests.py
-${PYSITELIB}/tests/run_all_tests.pyc
-${PYSITELIB}/tests/run_all_tests.pyo
-${PYSITELIB}/tests/test_creole2html.py
-${PYSITELIB}/tests/test_creole2html.pyc
-${PYSITELIB}/tests/test_creole2html.pyo
-${PYSITELIB}/tests/test_cross_compare.py
-${PYSITELIB}/tests/test_cross_compare.pyc
-${PYSITELIB}/tests/test_cross_compare.pyo
-${PYSITELIB}/tests/test_html2creole.py
-${PYSITELIB}/tests/test_html2creole.pyc
-${PYSITELIB}/tests/test_html2creole.pyo
-${PYSITELIB}/tests/utils/__init__.py
-${PYSITELIB}/tests/utils/__init__.pyc
-${PYSITELIB}/tests/utils/__init__.pyo
-${PYSITELIB}/tests/utils/base_unittest.py
-${PYSITELIB}/tests/utils/base_unittest.pyc
-${PYSITELIB}/tests/utils/base_unittest.pyo
-${PYSITELIB}/tests/utils/utils.py
-${PYSITELIB}/tests/utils/utils.pyc
-${PYSITELIB}/tests/utils/utils.pyo
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/py-creole/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo    11 Feb 2010 13:01:54 -0000      1.1.1.1
+++ distinfo    12 Jun 2012 10:21:23 -0000
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.1.1.1 2010/02/11 13:01:54 joerg Exp $

-SHA1 (python-creole-0.2.5.tar.gz) = cdc05b235a1ec66153b4078b7cbfea2efebfa248
-RMD160 (python-creole-0.2.5.tar.gz) = 05f5e579a5b886402bd832ed64b3b66b5536641d
-Size (python-creole-0.2.5.tar.gz) = 31024 bytes
+SHA1 (python-creole-1.0.4.tar.gz) = b4d505ee39b2afae44abf5525a0a6c0092e1494c
+RMD160 (python-creole-1.0.4.tar.gz) = 2869ba0dd17e757f6aa11fbe325c9507a735491f
+Size (python-creole-1.0.4.tar.gz) = 65106 bytes



Home | Main Index | Thread Index | Old Index