Hello community, here is the log from the commit of package python-Markdown for openSUSE:Factory checked in at 2014-10-05 20:31:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Markdown (Old) and /work/SRC/openSUSE:Factory/.python-Markdown.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-Markdown" Changes: -------- --- /work/SRC/openSUSE:Factory/python-Markdown/python-Markdown.changes 2014-09-19 15:45:24.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-Markdown.new/python-Markdown.changes 2014-10-05 20:33:28.000000000 +0200 @@ -1,0 +2,5 @@ +Fri Oct 3 14:25:27 UTC 2014 - benoit.monin@gmx.fr + +- update to version 2.5.1: bugfix release + +------------------------------------------------------------------- Old: ---- Markdown-2.5.tar.gz New: ---- Markdown-2.5.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Markdown.spec ++++++ --- /var/tmp/diff_new_pack.rWM3zu/_old 2014-10-05 20:33:28.000000000 +0200 +++ /var/tmp/diff_new_pack.rWM3zu/_new 2014-10-05 20:33:28.000000000 +0200 @@ -17,7 +17,7 @@ Name: python-Markdown -Version: 2.5 +Version: 2.5.1 Release: 0 Summary: Python implementation of Markdown License: BSD-3-Clause ++++++ Markdown-2.5.tar.gz -> Markdown-2.5.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markdown-2.5/MANIFEST new/Markdown-2.5.1/MANIFEST --- old/Markdown-2.5/MANIFEST 2014-09-13 02:40:56.000000000 +0200 +++ new/Markdown-2.5.1/MANIFEST 2014-09-27 00:40:18.000000000 +0200 @@ -238,6 +238,8 @@ tests/misc/em-around-links.txt tests/misc/em_strong.html tests/misc/em_strong.txt +tests/misc/em_strong_complex.html +tests/misc/em_strong_complex.txt tests/misc/email.html tests/misc/email.txt tests/misc/escaped_chars_in_js.html diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markdown-2.5/PKG-INFO new/Markdown-2.5.1/PKG-INFO --- old/Markdown-2.5/PKG-INFO 2014-09-13 02:40:59.000000000 +0200 +++ new/Markdown-2.5.1/PKG-INFO 2014-09-27 00:40:21.000000000 +0200 @@ -1,12 +1,12 @@ Metadata-Version: 1.0 Name: Markdown -Version: 2.5 +Version: 2.5.1 Summary: Python implementation of Markdown. Home-page: https://pythonhosted.org/Markdown/ Author: Waylan Limberg Author-email: waylan [at] gmail.com License: BSD License -Download-URL: http://pypi.python.org/packages/source/M/Markdown/Markdown-2.5.tar.gz +Download-URL: http://pypi.python.org/packages/source/M/Markdown/Markdown-2.5.1.tar.gz Description: This is a Python implementation of John Gruber's Markdown_. It is almost completely compliant with the reference implementation, though there are a few known issues. See Features_ for information diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markdown-2.5/docs/change_log.txt new/Markdown-2.5.1/docs/change_log.txt --- old/Markdown-2.5/docs/change_log.txt 2014-08-26 03:30:47.000000000 +0200 +++ new/Markdown-2.5.1/docs/change_log.txt 2014-09-27 00:33:46.000000000 +0200 @@ -7,9 +7,11 @@ Python-Markdown Changelog ========================= -[TBD]: Released version 2.5.0 ([Notes](release-2.5.html)) +Sept 26, 2014: Released version 2.5.1 (a bugfix release). -Feb 16, 2014: Released version 2.4.0 ([Notes](release-2.4.html)) +Sept 12, 2014: Released version 2.5.0 ([Notes](release-2.5.html)). + +Feb 16, 2014: Released version 2.4.0 ([Notes](release-2.4.html)). Mar 22, 2013: Released version 2.3.1 (a bugfix release). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markdown-2.5/docs/release-2.5.txt new/Markdown-2.5.1/docs/release-2.5.txt --- old/Markdown-2.5/docs/release-2.5.txt 2014-09-13 02:32:11.000000000 +0200 +++ new/Markdown-2.5.1/docs/release-2.5.txt 2014-09-27 00:35:06.000000000 +0200 @@ -16,10 +16,7 @@ ------------------------------ * Python-Markdown no longer supports Python version 2.6. You must be using Python - versions 2.7, 3.2, 3.3, or 3.4. While Python-Markdown is no longer tested against - Python 2.6, you may be able to get it working if you install a copy of [importlib] - which has been backported for Python 2.6. However, the developers of Python-Markdown - offer no guarentees in that situation. + versions 2.7, 3.2, 3.3, or 3.4. [importlib]: https://pypi.python.org/pypi/importlib @@ -177,7 +174,7 @@ [JSON]: http://json.org/ [PyYAML]: http://pyyaml.org/ -* The [amonition extension][ae] is no longer considered "experimental." +* The [admonition extension][ae] is no longer considered "experimental." [ae]: extensions/admonition.html diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markdown-2.5/markdown/__init__.py new/Markdown-2.5.1/markdown/__init__.py --- old/Markdown-2.5/markdown/__init__.py 2014-09-13 02:32:11.000000000 +0200 +++ new/Markdown-2.5.1/markdown/__init__.py 2014-09-26 04:31:04.000000000 +0200 @@ -221,6 +221,10 @@ # Assume string uses dot syntax (`path.to.some.module`) module = importlib.import_module(ext_name) logger.debug('Successfuly imported extension module "%s".' % ext_name) + # For backward compat (until deprecation) check that this is an extension + if '.' not in ext_name and not (hasattr(module, 'extendMarkdown') or (class_name and hasattr(module, class_name))): + # We have a name conflict (eg: extensions=['tables'] and PyTables is installed) + raise ImportError except ImportError: # Preppend `markdown.extensions.` to name module_name = '.'.join(['markdown.extensions', ext_name]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markdown-2.5/markdown/__version__.py new/Markdown-2.5.1/markdown/__version__.py --- old/Markdown-2.5/markdown/__version__.py 2014-09-13 02:40:10.000000000 +0200 +++ new/Markdown-2.5.1/markdown/__version__.py 2014-09-27 00:31:53.000000000 +0200 @@ -5,7 +5,7 @@ # (major, minor, micro, alpha/beta/rc/final, #) # (1, 1, 2, 'alpha', 0) => "1.1.2.dev" # (1, 2, 0, 'beta', 2) => "1.2b2" -version_info = (2, 5, 0, 'final', 0) +version_info = (2, 5, 1, 'final', 0) def _get_version(): " Returns a PEP 386-compliant version number from version_info. " diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markdown-2.5/markdown/extensions/meta.py new/Markdown-2.5.1/markdown/extensions/meta.py --- old/Markdown-2.5/markdown/extensions/meta.py 2014-08-26 03:30:47.000000000 +0200 +++ new/Markdown-2.5.1/markdown/extensions/meta.py 2014-09-27 00:30:31.000000000 +0200 @@ -31,7 +31,7 @@ def extendMarkdown(self, md, md_globals): """ Add MetaPreprocessor to Markdown instance. """ - md.preprocessors.add("meta", MetaPreprocessor(md), "_begin") + md.preprocessors.add("meta", MetaPreprocessor(md), ">normalize_whitespace") class MetaPreprocessor(Preprocessor): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markdown-2.5/markdown/extensions/toc.py new/Markdown-2.5.1/markdown/extensions/toc.py --- old/Markdown-2.5/markdown/extensions/toc.py 2014-08-26 03:30:47.000000000 +0200 +++ new/Markdown-2.5.1/markdown/extensions/toc.py 2014-09-26 04:31:04.000000000 +0200 @@ -216,9 +216,9 @@ "slugify" : [slugify, "Function to generate anchors based on header text - " "Defaults to the headerid ext's slugify function."], - "title" : [None, + "title" : ["", "Title to insert into TOC <div> - " - "Defaults to None"], + "Defaults to an empty string"], "anchorlink" : [0, "1 if header should be a self link - " "Defaults to 0"], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markdown-2.5/markdown/inlinepatterns.py new/Markdown-2.5.1/markdown/inlinepatterns.py --- old/Markdown-2.5/markdown/inlinepatterns.py 2014-08-26 03:30:47.000000000 +0200 +++ new/Markdown-2.5.1/markdown/inlinepatterns.py 2014-09-27 00:30:31.000000000 +0200 @@ -75,7 +75,8 @@ inlinePatterns["html"] = HtmlPattern(HTML_RE, md_instance) inlinePatterns["entity"] = HtmlPattern(ENTITY_RE, md_instance) inlinePatterns["not_strong"] = SimpleTextPattern(NOT_STRONG_RE) - inlinePatterns["strong_em"] = DoubleTagPattern(STRONG_EM_RE, 'strong,em') + inlinePatterns["em_strong"] = DoubleTagPattern(EM_STRONG_RE, 'strong,em') + inlinePatterns["strong_em"] = DoubleTagPattern(STRONG_EM_RE, 'em,strong') inlinePatterns["strong"] = SimpleTagPattern(STRONG_RE, 'strong') inlinePatterns["emphasis"] = SimpleTagPattern(EMPHASIS_RE, 'em') if md_instance.smart_emphasis: @@ -100,7 +101,8 @@ ESCAPE_RE = r'\\(.)' # \< EMPHASIS_RE = r'(\*)([^\*]+)\2' # *emphasis* STRONG_RE = r'(\*{2}|_{2})(.+?)\2' # **strong** -STRONG_EM_RE = r'(\*{3}|_{3})(.+?)\2' # ***strong*** +EM_STRONG_RE = r'(\*|_){3}(.+?)\2(.*?)\2{2}' # ***strongem*** or ***em*strong** +STRONG_EM_RE = r'(\*|_){3}(.+?)\2{2}(.*?)\2' # ***strong**em* SMART_EMPHASIS_RE = r'(?http://example.com/', @@ -606,6 +617,19 @@ self.default_options['extension_configs'] = config self.assertEqual(options, self.default_options) + def textBoolExtensionConfigOption(self): + config = { + 'markdown.extensions.toc': { + 'title': 'Some Title', + 'anchorlink': True, + 'permalink': True + } + } + self.create_config_file(config) + options, logging_level = parse_options(['-c', self.tempfile]) + self.default_options['extension_configs'] = config + self.assertEqual(options, self.default_options) + def testExtensonConfigOptionAsJSON(self): config = { 'markdown.extensions.wikilinks': { @@ -632,4 +656,4 @@ PLACE_MARKER= ~~~footnotes~~~ """ self.create_config_file(config) - self.assertRaises(yaml.YAMLError, parse_options, ['-c', self.tempfile]) \ No newline at end of file + self.assertRaises(yaml.YAMLError, parse_options, ['-c', self.tempfile]) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org