Hello community, here is the log from the commit of package python3-Markups for openSUSE:Factory checked in at 2015-06-23 11:57:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-Markups (Old) and /work/SRC/openSUSE:Factory/.python3-Markups.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-Markups" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-Markups/python3-Markups.changes 2015-04-25 21:51:14.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python3-Markups.new/python3-Markups.changes 2015-06-23 11:57:40.000000000 +0200 @@ -1,0 +2,11 @@ +Thu Jun 18 15:27:10 UTC 2015 - a...@gmx.de + +- update to version 0.6.3: + * No-change re-upload with fixed tarball and changelog. + +- changes from version 0.6.2 + * Markdown markup: fixed detection of codehilite extension with + options. + * Added a warning about deprecation of the markups.web module. + +------------------------------------------------------------------- Old: ---- Markups-0.6.1.tar.gz New: ---- Markups-0.6.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-Markups.spec ++++++ --- /var/tmp/diff_new_pack.ZK6pe9/_old 2015-06-23 11:57:41.000000000 +0200 +++ /var/tmp/diff_new_pack.ZK6pe9/_new 2015-06-23 11:57:41.000000000 +0200 @@ -17,7 +17,7 @@ Name: python3-Markups -Version: 0.6.1 +Version: 0.6.3 Release: 0 Summary: A wrapper around various text markups License: BSD-3-Clause ++++++ Markups-0.6.1.tar.gz -> Markups-0.6.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markups-0.6.1/Markups.egg-info/PKG-INFO new/Markups-0.6.3/Markups.egg-info/PKG-INFO --- old/Markups-0.6.1/Markups.egg-info/PKG-INFO 2015-04-19 10:29:20.000000000 +0200 +++ new/Markups-0.6.3/Markups.egg-info/PKG-INFO 2015-06-16 20:38:51.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: Markups -Version: 0.6.1 +Version: 0.6.3 Summary: A wrapper around various text markups Home-page: https://github.com/mitya57/pymarkups Author: Dmitry Shachnev diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markups-0.6.1/PKG-INFO new/Markups-0.6.3/PKG-INFO --- old/Markups-0.6.1/PKG-INFO 2015-04-19 10:29:22.000000000 +0200 +++ new/Markups-0.6.3/PKG-INFO 2015-06-16 20:38:51.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: Markups -Version: 0.6.1 +Version: 0.6.3 Summary: A wrapper around various text markups Home-page: https://github.com/mitya57/pymarkups Author: Dmitry Shachnev diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markups-0.6.1/README.rst new/Markups-0.6.3/README.rst --- old/Markups-0.6.1/README.rst 2015-02-04 08:17:49.000000000 +0100 +++ new/Markups-0.6.3/README.rst 2015-06-08 12:01:58.000000000 +0200 @@ -6,7 +6,7 @@ >>> markup = markups.get_markup_for_file_name("myfile.rst") >>> markup.name 'reStructuredText' ->>> markup.attributes[markups.SYNTAX_DOCUMENTATION] +>>> markup.attributes[markups.common.SYNTAX_DOCUMENTATION] 'http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html' >>> text = "Hello, world!\n=============\n\nThis is an example >>> **reStructuredText** document." >>> markup.get_document_title(text) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markups-0.6.1/changelog new/Markups-0.6.3/changelog --- old/Markups-0.6.1/changelog 2015-04-19 10:26:37.000000000 +0200 +++ new/Markups-0.6.3/changelog 2015-06-16 20:37:45.000000000 +0200 @@ -1,12 +1,23 @@ +Version 0.6.3, 2015-06-16 +========================= + +* No-change re-upload with fixed tarball and changelog. + +Version 0.6.2, 2015-06-09 +========================= + +* Markdown markup: fixed detection of codehilite extension with options. +* Added a warning about deprecation of the markups.web module. + Version 0.6.1, 2015-04-19 ========================= -* PyMarkups now uses warnings system instead of printing messages - to stderr. +* PyMarkups now uses warnings system instead of printing messages to + stderr. * Improvements to Markdown markup: - + Fixed parsing math that contains nested environments - (thanks to Gautam Iyer for the patch). + + Fixed parsing math that contains nested environments (thanks to Gautam + Iyer for the patch). + Fixed crash on extensions names starting with dot. * Miscellaneous fixes. @@ -21,8 +32,8 @@ Other changes: -* Refactor the code related to Markdown extensions to make it - work with upcoming Python-Markdown releases. +* Refactor the code related to Markdown extensions to make it work with + upcoming Python-Markdown releases. * MathJax extension is now in a separate module. Version 0.5.2, 2014-11-05 @@ -42,53 +53,51 @@ * Improvements to Markdown markup: - + All math delimeters except ``$...$`` are now enabled by - default - + ``remove_extra`` extension now disables formulas support - + It is now possible to specify required extensions in the - first line of the file + + All math delimeters except ``$...$`` are now enabled by default. + + ``remove_extra`` extension now disables formulas support. + + It is now possible to specify required extensions in the first line of + the file. -* Add Sphinx documentation +* Add Sphinx documentation. Version 0.4, 2013-11-30 ======================= -* Add Textile markup -* reStructuredText markup now supports file names and settings overrides -* Web module now raises WebUpdateError when updating fails +* Add Textile markup. +* reStructuredText markup now supports file names and settings overrides. +* Web module now raises WebUpdateError when updating fails. Version 0.3, 2013-07-25 ======================= -* MathJax support in Markdown has been improved and no longer relies - on tex2jax extension -* It is now possible to pass extensions list to MarkdownMarkup - constructor -* Pygments style is now configurable -* Testsuite improvements +* MathJax support in Markdown has been improved and no longer relies on + tex2jax extension. +* It is now possible to pass extensions list to MarkdownMarkup constructor. +* Pygments style is now configurable. +* Testsuite improvements. Version 0.2.3, 2012-11-02 ========================= -* Fix support for custom working directory in web module -* Bug fixes in Markdown module and tests +* Fix support for custom working directory in web module. +* Bug fixes in Markdown module and tests. Version 0.2.2, 2012-10-02 ========================= -* Re-written math support for Markdown -* Add tests to the tarball -* Add example template for web module -* Bug fixes in Markdown and web modules +* Re-written math support for Markdown. +* Add tests to the tarball. +* Add example template for web module. +* Bug fixes in Markdown and web modules. Version 0.2.1, 2012-09-09 ========================= -* Add caching support, to speed up get_document_body function -* Add testsuite -* Fix some bugs in markdown module +* Add caching support, to speed up get_document_body function. +* Add testsuite. +* Fix some bugs in markdown module. Version 0.2, 2012-09-04 ======================= -* Initial release +* Initial release. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markups-0.6.1/docs/standard_markups.rst new/Markups-0.6.3/docs/standard_markups.rst --- old/Markups-0.6.1/docs/standard_markups.rst 2015-01-25 17:37:58.000000000 +0100 +++ new/Markups-0.6.3/docs/standard_markups.rst 2015-05-02 19:13:06.000000000 +0200 @@ -7,7 +7,8 @@ Markdown markup =============== -Markdown_ markup uses Python-Markdown_ as a backend. +Markdown_ markup uses Python-Markdown_ as a backend (version 2.6 is +required). There are several ways to enable `Python-Markdown extensions`_. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markups-0.6.1/markups/__init__.py new/Markups-0.6.3/markups/__init__.py --- old/Markups-0.6.1/markups/__init__.py 2015-04-19 10:20:58.000000000 +0200 +++ new/Markups-0.6.3/markups/__init__.py 2015-06-16 20:36:44.000000000 +0200 @@ -10,7 +10,7 @@ from markups.restructuredtext import ReStructuredTextMarkup from markups.textile import TextileMarkup -__version_tuple__ = (0, 6, 1) +__version_tuple__ = (0, 6, 3) __version__ = '.'.join(map(str, __version_tuple__)) builtin_markups = [MarkdownMarkup, ReStructuredTextMarkup, TextileMarkup] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markups-0.6.1/markups/common.py new/Markups-0.6.3/markups/common.py --- old/Markups-0.6.1/markups/common.py 2015-04-07 10:14:10.000000000 +0200 +++ new/Markups-0.6.3/markups/common.py 2015-06-08 12:06:08.000000000 +0200 @@ -1,6 +1,6 @@ # This file is part of python-markups module # License: BSD -# Copyright: (C) Dmitry Shachnev, 2012 +# Copyright: (C) Dmitry Shachnev, 2012-2015 import os.path @@ -13,9 +13,6 @@ PYGMENTS_STYLE = 'default' -class MarkupsWarning(RuntimeWarning): - pass - def get_pygments_stylesheet(selector, style=None): if style is None: style = PYGMENTS_STYLE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markups-0.6.1/markups/markdown.py new/Markups-0.6.3/markups/markdown.py --- old/Markups-0.6.1/markups/markdown.py 2015-04-07 10:30:30.000000000 +0200 +++ new/Markups-0.6.3/markups/markdown.py 2015-06-08 11:50:53.000000000 +0200 @@ -49,7 +49,7 @@ import markdown except ImportError: return False - return True + return markdown.version_info >= (2, 6) def _load_extensions_list_from_file(self, filename): try: @@ -119,7 +119,7 @@ if should_push_mathjax[0]: extensions_final.append('markups.mdx_mathjax(enable_dollar_delimiter=%r)' % should_push_mathjax[1]) - self.md = self.markdown.Markdown(extensions_final, output_format='html4') + self.md = self.markdown.Markdown(extensions=extensions_final, output_format='html4') self.extensions = extensions_final def __init__(self, filename=None, extensions=None): @@ -134,15 +134,17 @@ def get_document_title(self, text): if not 'body' in self._cache: self.get_document_body(text) - if 'markdown.extensions.meta' not in self.extensions: - return '' if hasattr(self.md, 'Meta') and 'title' in self.md.Meta: return str.join(' ', self.md.Meta['title']) else: return '' def get_stylesheet(self, text=''): - if 'markdown.extensions.codehilite' in self.extensions: + has_codehilite = False + for extension in self.extensions: + if extension.endswith('codehilite'): + has_codehilite = True + if has_codehilite: return common.get_pygments_stylesheet('.codehilite') return '' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markups-0.6.1/markups/mdx_mathjax.py new/Markups-0.6.3/markups/mdx_mathjax.py --- old/Markups-0.6.1/markups/mdx_mathjax.py 2015-04-19 10:17:45.000000000 +0200 +++ new/Markups-0.6.3/markups/mdx_mathjax.py 2015-06-08 12:09:54.000000000 +0200 @@ -2,6 +2,8 @@ # License: BSD # Copyright: (C) Dmitry Shachnev, 2015 +# Maintained in https://github.com/mitya57/python-markdown-math + ''' Math extension for Python-Markdown ================================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markups-0.6.1/markups/restructuredtext.py new/Markups-0.6.3/markups/restructuredtext.py --- old/Markups-0.6.1/markups/restructuredtext.py 2014-07-23 12:32:40.000000000 +0200 +++ new/Markups-0.6.3/markups/restructuredtext.py 2015-06-08 12:06:40.000000000 +0200 @@ -1,6 +1,6 @@ # This file is part of python-markups module # License: BSD -# Copyright: (C) Dmitry Shachnev, 2012 +# Copyright: (C) Dmitry Shachnev, 2012-2014 import markups.common as common from markups.abstract import AbstractMarkup diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markups-0.6.1/markups/textile.py new/Markups-0.6.3/markups/textile.py --- old/Markups-0.6.1/markups/textile.py 2015-02-04 08:17:49.000000000 +0100 +++ new/Markups-0.6.3/markups/textile.py 2015-06-08 12:06:55.000000000 +0200 @@ -1,6 +1,6 @@ # This file is part of python-markups module # License: BSD -# Copyright: (C) Dmitry Shachnev, 2013 +# Copyright: (C) Dmitry Shachnev, 2013-2015 from __future__ import absolute_import diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markups-0.6.1/markups/web.py new/Markups-0.6.3/markups/web.py --- old/Markups-0.6.1/markups/web.py 2015-01-25 17:15:18.000000000 +0100 +++ new/Markups-0.6.3/markups/web.py 2015-06-08 12:04:52.000000000 +0200 @@ -5,11 +5,15 @@ import os import markups import sys +import warnings from email.utils import formatdate if sys.version_info[0] < 3: raise ImportError('Python 3.x is required.') +warnings.warn('Web module is deprecated and will be removed soon.', + DeprecationWarning) + __version__ = markups.__version__ site = 'https://github.com/mitya57/pymarkups' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markups-0.6.1/setup.cfg new/Markups-0.6.3/setup.cfg --- old/Markups-0.6.1/setup.cfg 2015-04-19 10:29:22.000000000 +0200 +++ new/Markups-0.6.3/setup.cfg 2015-06-16 20:38:52.000000000 +0200 @@ -1,5 +1,5 @@ [egg_info] -tag_build = tag_svn_revision = 0 +tag_build = tag_date = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markups-0.6.1/tests/test_markdown.py new/Markups-0.6.3/tests/test_markdown.py --- old/Markups-0.6.1/tests/test_markdown.py 2015-04-19 10:15:08.000000000 +0200 +++ new/Markups-0.6.3/tests/test_markdown.py 2015-06-08 12:07:33.000000000 +0200 @@ -1,6 +1,6 @@ # This file is part of python-markups test suite # License: BSD -# Copyright: (C) Dmitry Shachnev, 2012 +# Copyright: (C) Dmitry Shachnev, 2012-2015 from markups import MarkdownMarkup import unittest diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markups-0.6.1/tests/test_public_api.py new/Markups-0.6.3/tests/test_public_api.py --- old/Markups-0.6.1/tests/test_public_api.py 2015-04-10 16:06:21.000000000 +0200 +++ new/Markups-0.6.3/tests/test_public_api.py 2015-06-08 12:07:43.000000000 +0200 @@ -1,6 +1,6 @@ # This file is part of python-markups test suite # License: BSD -# Copyright: (C) Dmitry Shachnev, 2012 +# Copyright: (C) Dmitry Shachnev, 2012-2015 import markups import unittest diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markups-0.6.1/tests/test_restructuredtext.py new/Markups-0.6.3/tests/test_restructuredtext.py --- old/Markups-0.6.1/tests/test_restructuredtext.py 2014-07-21 12:41:32.000000000 +0200 +++ new/Markups-0.6.3/tests/test_restructuredtext.py 2015-06-08 12:07:52.000000000 +0200 @@ -1,6 +1,6 @@ # This file is part of python-markups test suite # License: BSD -# Copyright: (C) Dmitry Shachnev, 2012 +# Copyright: (C) Dmitry Shachnev, 2012-2014 import unittest from markups import ReStructuredTextMarkup diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markups-0.6.1/tests/test_textile.py new/Markups-0.6.3/tests/test_textile.py --- old/Markups-0.6.1/tests/test_textile.py 2014-07-21 12:41:32.000000000 +0200 +++ new/Markups-0.6.3/tests/test_textile.py 2015-06-08 12:08:07.000000000 +0200 @@ -1,6 +1,6 @@ # This file is part of python-markups test suite # License: BSD -# Copyright: (C) Dmitry Shachnev, 2012 +# Copyright: (C) Dmitry Shachnev, 2013 from markups import TextileMarkup import unittest