commit python-mistune for openSUSE:Factory

2023-10-16 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-mistune for openSUSE:Factory 
checked in at 2023-10-16 22:33:00

Comparing /work/SRC/openSUSE:Factory/python-mistune (Old)
 and  /work/SRC/openSUSE:Factory/.python-mistune.new.20540 (New)


Package is "python-mistune"

Mon Oct 16 22:33:00 2023 rev:19 rq:1117996 version:3.0.2

Changes:

--- /work/SRC/openSUSE:Factory/python-mistune/python-mistune.changes
2023-09-22 21:47:21.720746861 +0200
+++ /work/SRC/openSUSE:Factory/.python-mistune.new.20540/python-mistune.changes 
2023-10-16 22:33:01.435907224 +0200
@@ -1,0 +2,6 @@
+Mon Oct 16 10:36:17 UTC 2023 - Ondřej Súkup 
+
+- Update to 3.0.2
+ * fix RecursionError for lists 
+
+---

Old:

  mistune-3.0.1.tar.gz

New:

  mistune-3.0.2.tar.gz



Other differences:
--
++ python-mistune.spec ++
--- /var/tmp/diff_new_pack.5788Bw/_old  2023-10-16 22:33:02.631950365 +0200
+++ /var/tmp/diff_new_pack.5788Bw/_new  2023-10-16 22:33:02.635950510 +0200
@@ -19,11 +19,10 @@
 %define modname mistune
 %{?sle15_python_module_pythons}
 Name:   python-%{modname}
-Version:3.0.1
+Version:3.0.2
 Release:0
 Summary:Python Markdown parser with renderers and plugins
 License:BSD-3-Clause
-Group:  Development/Languages/Python
 URL:https://github.com/lepture/mistune
 Source: 
https://github.com/lepture/%{modname}/archive/refs/tags/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz
 BuildRequires:  %{python_module pip}

++ mistune-3.0.1.tar.gz -> mistune-3.0.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-3.0.1/.readthedocs.yaml 
new/mistune-3.0.2/.readthedocs.yaml
--- old/mistune-3.0.1/.readthedocs.yaml 2023-06-10 01:53:43.0 +0200
+++ new/mistune-3.0.2/.readthedocs.yaml 2023-09-30 01:57:10.0 +0200
@@ -10,6 +10,6 @@
 
 python:
   install:
-- requirements: requirements-docs.txt
+- requirements: docs/requirements.txt
 - method: pip
   path: .
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-3.0.1/Makefile new/mistune-3.0.2/Makefile
--- old/mistune-3.0.1/Makefile  2023-06-10 01:53:43.0 +0200
+++ new/mistune-3.0.2/Makefile  2023-09-30 01:57:10.0 +0200
@@ -1,15 +1,6 @@
-.PHONY: clean-pyc clean-build docs
+.PHONY: clean-pyc clean-build build-docs
 
-test:
-   @pytest -s
-
-coverage:
-   @pytest --cov=mistune
-
-clean: clean-build clean-pyc clean-docs
-
-build:
-   @python3 -m build
+clean: clean-build clean-pyc
 
 clean-build:
@rm -fr build/
@@ -24,14 +15,6 @@
@find . -name '*~' -exec rm -f {} +
@find . -name '__pycache__' -exec rm -fr {} +
 
-clean-docs:
-   @rm -fr  docs/_build
-
-docs:
-   @$(MAKE) -C docs html
-
-publish:
-   @twine upload dist/*.tar.gz
-   @twine upload dist/*.whl
 
-.PHONY: build
+build-docs:
+   @sphinx-build docs build/_html -a
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mistune-3.0.1/docs/_templates/partials/globaltoc-above.html 
new/mistune-3.0.2/docs/_templates/partials/globaltoc-above.html
--- old/mistune-3.0.1/docs/_templates/partials/globaltoc-above.html 
1970-01-01 01:00:00.0 +0100
+++ new/mistune-3.0.2/docs/_templates/partials/globaltoc-above.html 
2023-09-30 01:57:10.0 +0200
@@ -0,0 +1,4 @@
+
+  https://typlog.com/;>https://typlog.com/android-chrome-512x512.png; alt="Typlog" width="100" 
height="100">
+  https://typlog.com/?utm_source=mistune_medium=docs;>A blogging and 
podcast hosting platform, simple yet elegant.
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mistune-3.0.1/docs/_templates/partials/sidebar-links.html 
new/mistune-3.0.2/docs/_templates/partials/sidebar-links.html
--- old/mistune-3.0.1/docs/_templates/partials/sidebar-links.html   
2023-06-10 01:53:43.0 +0200
+++ new/mistune-3.0.2/docs/_templates/partials/sidebar-links.html   
1970-01-01 01:00:00.0 +0100
@@ -1,5 +0,0 @@
-
-  https://typlog.com/;>https://typlog.com/android-chrome-512x512.png; alt="Typlog" width="100" 
height="100">
-  https://typlog.com/?utm_source=mistune_medium=docs;>A blogging and 
podcast hosting platform, simple yet elegant.
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-3.0.1/docs/_templates/partials/webfonts.html 
new/mistune-3.0.2/docs/_templates/partials/webfonts.html
--- old/mistune-3.0.1/docs/_templates/partials/webfonts.html2023-06-10 

commit python-mistune for openSUSE:Factory

2023-09-22 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-mistune for openSUSE:Factory 
checked in at 2023-09-22 21:46:52

Comparing /work/SRC/openSUSE:Factory/python-mistune (Old)
 and  /work/SRC/openSUSE:Factory/.python-mistune.new.1770 (New)


Package is "python-mistune"

Fri Sep 22 21:46:52 2023 rev:18 rq:1112031 version:3.0.1

Changes:

--- /work/SRC/openSUSE:Factory/python-mistune/python-mistune.changes
2023-06-13 16:08:52.498660628 +0200
+++ /work/SRC/openSUSE:Factory/.python-mistune.new.1770/python-mistune.changes  
2023-09-22 21:47:21.720746861 +0200
@@ -1,0 +2,42 @@
+Fri Sep 15 15:15:40 UTC 2023 - Sebastian Wagner 
+
+- update to version 3.0.1:
+ - Add py.typed for mypy
+ - Add tests, docs for sdist
+ - Support renderer="ast" for rendering AST
+- update to version 3.0.0:
+ - Do not strip leading unicode spaces like emsp
+ - Ensure new line at end of the text
+- update to version 3.0.0rc5
+ - Fix fenced directives
+ - Fix inline link parser
+ - Fix block math plugin for multiple lines
+ - Fix empty list item for markdown renderer
+- update to version 3.0.0rc4:
+ - Fix plugin footnotes when there is no newline at the end
+ - Move safe HTML entities to HTMLRenderer
+ - Redesign directives parsing
+ - Add Image and Figure directive
+- update to version 3.0.0rc3:
+ - Render inline math with \( and \)
+ - Added RSTRenderer, and MarkdownRenderer
+ - Fix toc_hook method
+ - Breaking change, rename RstDirective to RSTDirective
+- update to version 3.0.0rc2:
+ - Add spoiler plugin
+ - Add collapse option for TableOfContents directive
+ - Breaking change on directive design, added fenced directive
+- update to version 3.0.0rc1:
+ - Add superscript plugin
+- update to version 3.0.0a3:
+ - Fix ruby plugin
+ - Change toc parameter depth to level
+- update to version 3.0.0a2:
+ - Escape block code in HTMLRenderer
+ - Fix parsing links
+- update to version 3.0.0a1:
+ - redesigned mistune
+ - plugins
+ - directives
+
+---

Old:

  mistune-2.0.5.tar.gz

New:

  mistune-3.0.1.tar.gz



Other differences:
--
++ python-mistune.spec ++
--- /var/tmp/diff_new_pack.HxgbZy/_old  2023-09-22 21:47:22.828787086 +0200
+++ /var/tmp/diff_new_pack.HxgbZy/_new  2023-09-22 21:47:22.828787086 +0200
@@ -19,7 +19,7 @@
 %define modname mistune
 %{?sle15_python_module_pythons}
 Name:   python-%{modname}
-Version:2.0.5
+Version:3.0.1
 Release:0
 Summary:Python Markdown parser with renderers and plugins
 License:BSD-3-Clause

++ mistune-2.0.5.tar.gz -> mistune-3.0.1.tar.gz ++
 29337 lines of diff (skipped)


commit python-mistune for openSUSE:Factory

2023-06-13 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-mistune for openSUSE:Factory 
checked in at 2023-06-13 16:08:49

Comparing /work/SRC/openSUSE:Factory/python-mistune (Old)
 and  /work/SRC/openSUSE:Factory/.python-mistune.new.15902 (New)


Package is "python-mistune"

Tue Jun 13 16:08:49 2023 rev:17 rq:1092493 version:2.0.5

Changes:

--- /work/SRC/openSUSE:Factory/python-mistune/python-mistune.changes
2023-05-09 13:05:58.384533598 +0200
+++ /work/SRC/openSUSE:Factory/.python-mistune.new.15902/python-mistune.changes 
2023-06-13 16:08:52.498660628 +0200
@@ -1,0 +2,5 @@
+Mon Jun 12 08:24:59 UTC 2023 - Dirk Müller 
+
+- cleanup
+
+---



Other differences:
--
++ python-mistune.spec ++
--- /var/tmp/diff_new_pack.r3pSdP/_old  2023-06-13 16:08:53.142664427 +0200
+++ /var/tmp/diff_new_pack.r3pSdP/_new  2023-06-13 16:08:53.146664451 +0200
@@ -16,9 +16,7 @@
 #
 
 
-%{?!python_module:%define python_module() python3-%{**}}
 %define modname mistune
-%define skip_python2 1
 %{?sle15_python_module_pythons}
 Name:   python-%{modname}
 Version:2.0.5


commit python-mistune for openSUSE:Factory

2023-05-09 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-mistune for openSUSE:Factory 
checked in at 2023-05-09 13:05:56

Comparing /work/SRC/openSUSE:Factory/python-mistune (Old)
 and  /work/SRC/openSUSE:Factory/.python-mistune.new.1533 (New)


Package is "python-mistune"

Tue May  9 13:05:56 2023 rev:16 rq:1084850 version:2.0.5

Changes:

--- /work/SRC/openSUSE:Factory/python-mistune/python-mistune.changes
2023-04-22 22:00:52.645366029 +0200
+++ /work/SRC/openSUSE:Factory/.python-mistune.new.1533/python-mistune.changes  
2023-05-09 13:05:58.384533598 +0200
@@ -1,0 +2,7 @@
+Thu May  4 19:14:54 UTC 2023 - Dirk Müller 
+
+- update to 2.0.5:
+  * Improve on parsing list. Make it possible to customize list
+regex 
+
+---

Old:

  mistune-2.0.4.tar.gz

New:

  mistune-2.0.5.tar.gz



Other differences:
--
++ python-mistune.spec ++
--- /var/tmp/diff_new_pack.TwLtxY/_old  2023-05-09 13:05:59.084537764 +0200
+++ /var/tmp/diff_new_pack.TwLtxY/_new  2023-05-09 13:05:59.088537787 +0200
@@ -21,7 +21,7 @@
 %define skip_python2 1
 %{?sle15_python_module_pythons}
 Name:   python-%{modname}
-Version:2.0.4
+Version:2.0.5
 Release:0
 Summary:Python Markdown parser with renderers and plugins
 License:BSD-3-Clause
@@ -30,7 +30,6 @@
 Source: 
https://github.com/lepture/%{modname}/archive/refs/tags/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros

++ mistune-2.0.4.tar.gz -> mistune-2.0.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-2.0.4/.github/workflows/python.yml 
new/mistune-2.0.5/.github/workflows/python.yml
--- old/mistune-2.0.4/.github/workflows/python.yml  2022-07-15 
01:26:55.0 +0200
+++ new/mistune-2.0.5/.github/workflows/python.yml  2023-02-07 
06:42:19.0 +0100
@@ -21,7 +21,7 @@
   max-parallel: 6
   matrix:
 os: [ubuntu-latest, macos-latest, windows-latest]
-python: ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", "pypy2", "pypy3"]
+python: ["2.7", "3.7", "3.8", "3.9", "3.10", "pypy3"]
 
 steps:
 - uses: actions/checkout@v2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-2.0.4/docs/advanced.rst 
new/mistune-2.0.5/docs/advanced.rst
--- old/mistune-2.0.4/docs/advanced.rst 2022-07-15 01:26:55.0 +0200
+++ new/mistune-2.0.5/docs/advanced.rst 2023-02-07 06:42:19.0 +0100
@@ -123,7 +123,15 @@
 
 Let's try to write a "spoiler" directive, which takes a hint::
 
-from .base import Directive
+.. spoiler: SPOILER
+
+Spoilers in the information age are typically listed with a SPOILER! 
heading.
+
+
+
+The `Spoiler` directive::
+
+from mistune.directives import Directive
 
 
 class Spoiler(Directive):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-2.0.4/docs/directives.rst 
new/mistune-2.0.5/docs/directives.rst
--- old/mistune-2.0.4/docs/directives.rst   2022-07-15 01:26:55.0 
+0200
+++ new/mistune-2.0.5/docs/directives.rst   2023-02-07 06:42:19.0 
+0100
@@ -76,7 +76,7 @@
 )
 
 If **TOC** directive is enabled, the ``heading`` method of renderer will accept
-one more paramter::
+one more parameter::
 
 def heading(self, text, level):
 # without TOC directive
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-2.0.4/mistune/__init__.py 
new/mistune-2.0.5/mistune/__init__.py
--- old/mistune-2.0.4/mistune/__init__.py   2022-07-15 01:26:55.0 
+0200
+++ new/mistune-2.0.5/mistune/__init__.py   2023-02-07 06:42:19.0 
+0100
@@ -60,4 +60,4 @@
 'html', 'create_markdown', 'markdown',
 ]
 
-__version__ = '2.0.4'
+__version__ = '2.0.5'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-2.0.4/mistune/block_parser.py 
new/mistune-2.0.5/mistune/block_parser.py
--- old/mistune-2.0.4/mistune/block_parser.py   2022-07-15 01:26:55.0 
+0200
+++ new/mistune-2.0.5/mistune/block_parser.py   2023-02-07 06:42:19.0 
+0100
@@ -317,12 +317,7 @@
 else:
 prefix = prefix + r'\d{0,9}\)'
 else:
-if marker == '*':
-prefix = prefix + r'\*'
-elif marker == '+':
-prefix = prefix + r'\+'
-  

commit python-mistune for openSUSE:Factory

2023-04-22 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-mistune for openSUSE:Factory 
checked in at 2023-04-22 22:00:02

Comparing /work/SRC/openSUSE:Factory/python-mistune (Old)
 and  /work/SRC/openSUSE:Factory/.python-mistune.new.1533 (New)


Package is "python-mistune"

Sat Apr 22 22:00:02 2023 rev:15 rq:1081861 version:2.0.4

Changes:

--- /work/SRC/openSUSE:Factory/python-mistune/python-mistune.changes
2022-09-20 19:23:16.538421034 +0200
+++ /work/SRC/openSUSE:Factory/.python-mistune.new.1533/python-mistune.changes  
2023-04-22 22:00:52.645366029 +0200
@@ -1,0 +2,10 @@
+Fri Apr 21 12:28:10 UTC 2023 - Dirk Müller 
+
+- add sle15_python_module_pythons (jsc#PED-68)
+
+---
+Thu Apr 13 22:42:35 UTC 2023 - Matej Cepl 
+
+- Make calling of %{sle15modernpython} optional.
+
+---



Other differences:
--
++ python-mistune.spec ++
--- /var/tmp/diff_new_pack.oNw6KA/_old  2023-04-22 22:00:53.061368515 +0200
+++ /var/tmp/diff_new_pack.oNw6KA/_new  2023-04-22 22:00:53.065368540 +0200
@@ -1,7 +1,7 @@
 #
 # spec file
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,6 +19,7 @@
 %{?!python_module:%define python_module() python3-%{**}}
 %define modname mistune
 %define skip_python2 1
+%{?sle15_python_module_pythons}
 Name:   python-%{modname}
 Version:2.0.4
 Release:0


commit python-mistune for openSUSE:Factory

2022-09-20 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-mistune for openSUSE:Factory 
checked in at 2022-09-20 19:23:12

Comparing /work/SRC/openSUSE:Factory/python-mistune (Old)
 and  /work/SRC/openSUSE:Factory/.python-mistune.new.2083 (New)


Package is "python-mistune"

Tue Sep 20 19:23:12 2022 rev:14 rq:1004639 version:2.0.4

Changes:

--- /work/SRC/openSUSE:Factory/python-mistune/python-mistune.changes
2022-02-17 23:40:55.255700718 +0100
+++ /work/SRC/openSUSE:Factory/.python-mistune.new.2083/python-mistune.changes  
2022-09-20 19:23:16.538421034 +0200
@@ -1,0 +2,9 @@
+Mon Sep 19 09:14:34 UTC 2022 - Dirk M??ller 
+
+- update to 2.0.4 (bsc#1201862, CVE-2022-34749):
+  * Fix url plugin in  tag
+  * Fix * formatting
+  * Fix table plugin
+  * Security fix for CVE-2022-34749 
+
+---

Old:

  mistune-2.0.2.tar.gz

New:

  mistune-2.0.4.tar.gz



Other differences:
--
++ python-mistune.spec ++
--- /var/tmp/diff_new_pack.pI0zGS/_old  2022-09-20 19:23:17.018422411 +0200
+++ /var/tmp/diff_new_pack.pI0zGS/_new  2022-09-20 19:23:17.026422434 +0200
@@ -20,7 +20,7 @@
 %define modname mistune
 %define skip_python2 1
 Name:   python-%{modname}
-Version:2.0.2
+Version:2.0.4
 Release:0
 Summary:Python Markdown parser with renderers and plugins
 License:BSD-3-Clause

++ mistune-2.0.2.tar.gz -> mistune-2.0.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-2.0.2/docs/advanced.rst 
new/mistune-2.0.4/docs/advanced.rst
--- old/mistune-2.0.2/docs/advanced.rst 2022-01-14 07:27:29.0 +0100
+++ new/mistune-2.0.4/docs/advanced.rst 2022-07-15 01:26:55.0 +0200
@@ -37,6 +37,7 @@
 # block level
 paragraph(self, text)
 heading(self, text, level)
+heading(self, text, level, tid)  # when TOC directive is enabled
 thematic_break(self)
 block_text(self, text)
 block_code(self, code, info=None)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-2.0.2/docs/changes.rst 
new/mistune-2.0.4/docs/changes.rst
--- old/mistune-2.0.2/docs/changes.rst  2022-01-14 07:27:29.0 +0100
+++ new/mistune-2.0.4/docs/changes.rst  2022-07-15 01:26:55.0 +0200
@@ -3,6 +3,29 @@
 
 Here is the full history of mistune v2.
 
+Version 2.0.4
+~
+
+Released on Jul 15, 2022
+
+* Fix ``url`` plugin in  tag
+* Fix ``*`` formatting
+
+Version 2.0.3
+~
+
+Released on Jun 27, 2022
+
+* Fix ``table`` plugin
+* Security fix for CVE-2022-34749
+
+Version 2.0.2
+~
+
+Released on Jan 14, 2022
+
+Fix ``escape_url``
+
 Version 2.0.1
 ~
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-2.0.2/docs/directives.rst 
new/mistune-2.0.4/docs/directives.rst
--- old/mistune-2.0.2/docs/directives.rst   2022-01-14 07:27:29.0 
+0100
+++ new/mistune-2.0.4/docs/directives.rst   2022-07-15 01:26:55.0 
+0200
@@ -75,6 +75,17 @@
 plugins=[DirectiveToc()]
 )
 
+If **TOC** directive is enabled, the ``heading`` method of renderer will accept
+one more paramter::
+
+def heading(self, text, level):
+# without TOC directive
+return ''
+
+def heading(self, text, level, tid):
+# with TOC directive
+return ''
+
 Include
 ---
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-2.0.2/docs/guide.rst 
new/mistune-2.0.4/docs/guide.rst
--- old/mistune-2.0.2/docs/guide.rst2022-01-14 07:27:29.0 +0100
+++ new/mistune-2.0.4/docs/guide.rst2022-07-15 01:26:55.0 +0200
@@ -12,7 +12,7 @@
 by default:
 
 * No escape of HTML tags
-* With **strikethough** plugin
+* With **strikethrough** plugin
 * With **table** plugin
 * With **footnote** plugin
 
@@ -46,7 +46,7 @@
 # ==>
 '~~s~~'
 
-markdown = mistune.create_markdown(plugins=['strikethough'])
+markdown = mistune.create_markdown(plugins=['strikethrough'])
 markdown('~~s~~')
 # ==>
 's'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-2.0.2/mistune/__init__.py 
new/mistune-2.0.4/mistune/__init__.py
--- old/mistune-2.0.2/mistune/__init__.py   2022-01-14 07:27:29.0 
+0100
+++ new/mistune-2.0.4/mistune/__init__.py   2022-07-15 01:26:55.0 
+0200
@@ -60,4 +60,4 @@
 'html', 'create_markdown', 'markdown',
 ]
 
-__version__ = '2.0.2'
+__version__ = '2.0.4'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 

commit python-mistune for openSUSE:Factory

2022-02-17 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-mistune for openSUSE:Factory 
checked in at 2022-02-17 23:40:00

Comparing /work/SRC/openSUSE:Factory/python-mistune (Old)
 and  /work/SRC/openSUSE:Factory/.python-mistune.new.1958 (New)


Package is "python-mistune"

Thu Feb 17 23:40:00 2022 rev:13 rq:955499 version:2.0.2

Changes:

--- /work/SRC/openSUSE:Factory/python-mistune/python-mistune.changes
2022-01-08 23:23:09.586209140 +0100
+++ /work/SRC/openSUSE:Factory/.python-mistune.new.1958/python-mistune.changes  
2022-02-17 23:40:55.255700718 +0100
@@ -1,0 +2,7 @@
+Wed Feb 16 23:12:46 UTC 2022 - Dirk M??ller 
+
+- update to 2.0.2:
+  * Fix escape_url 
+- drop 295-overagreesive-escape_url.patch (upstream)
+
+---

Old:

  295-overagreesive-escape_url.patch
  mistune-2.0.1.tar.gz

New:

  mistune-2.0.2.tar.gz



Other differences:
--
++ python-mistune.spec ++
--- /var/tmp/diff_new_pack.S8Ce37/_old  2022-02-17 23:40:55.819700714 +0100
+++ /var/tmp/diff_new_pack.S8Ce37/_new  2022-02-17 23:40:55.827700714 +0100
@@ -20,16 +20,13 @@
 %define modname mistune
 %define skip_python2 1
 Name:   python-%{modname}
-Version:2.0.1
+Version:2.0.2
 Release:0
 Summary:Python Markdown parser with renderers and plugins
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 URL:https://github.com/lepture/mistune
 Source: 
https://github.com/lepture/%{modname}/archive/refs/tags/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM 295-overagreesive-escape_url.patch gh#lepture/mistune#295 
mc...@suse.com
-# Make mistune.util.escape_url less aggressive
-Patch0: 295-overagreesive-escape_url.patch
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}

++ mistune-2.0.1.tar.gz -> mistune-2.0.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-2.0.1/mistune/__init__.py 
new/mistune-2.0.2/mistune/__init__.py
--- old/mistune-2.0.1/mistune/__init__.py   2021-12-30 11:35:05.0 
+0100
+++ new/mistune-2.0.2/mistune/__init__.py   2022-01-14 07:27:29.0 
+0100
@@ -60,4 +60,4 @@
 'html', 'create_markdown', 'markdown',
 ]
 
-__version__ = '2.0.1'
+__version__ = '2.0.2'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-2.0.1/mistune/util.py 
new/mistune-2.0.2/mistune/util.py
--- old/mistune-2.0.1/mistune/util.py   2021-12-30 11:35:05.0 +0100
+++ new/mistune-2.0.2/mistune/util.py   2022-01-14 07:27:29.0 +0100
@@ -20,7 +20,12 @@
 
 
 def escape_url(link):
-safe = '/#:()*?=%@+,&'
+safe = (
+':/?#@'   # gen-delims - '[]' (rfc3986)
+'!$&()*+,;='  # sub-delims - "'" (rfc3986)
+'%'   # leave already-encoded octets alone
+)
+
 if html is None:
 return quote(link.encode('utf-8'), safe=safe)
 return html.escape(quote(html.unescape(link), safe=safe))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-2.0.1/setup.cfg new/mistune-2.0.2/setup.cfg
--- old/mistune-2.0.1/setup.cfg 2021-12-30 11:35:05.0 +0100
+++ new/mistune-2.0.2/setup.cfg 2022-01-14 07:27:29.0 +0100
@@ -1,6 +1,6 @@
 [metadata]
 name = mistune
-version = 2.0.1
+version = attr: mistune.__version__
 author = Hsiaoming Yang
 author_email = m...@lepture.com
 license = BSD 3-Clause License


commit python-mistune for openSUSE:Factory

2022-01-08 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-mistune for openSUSE:Factory 
checked in at 2022-01-08 23:23:05

Comparing /work/SRC/openSUSE:Factory/python-mistune (Old)
 and  /work/SRC/openSUSE:Factory/.python-mistune.new.1892 (New)


Package is "python-mistune"

Sat Jan  8 23:23:05 2022 rev:12 rq:944542 version:2.0.1

Changes:

--- /work/SRC/openSUSE:Factory/python-mistune/python-mistune.changes
2022-01-03 10:48:54.775568809 +0100
+++ /work/SRC/openSUSE:Factory/.python-mistune.new.1892/python-mistune.changes  
2022-01-08 23:23:09.586209140 +0100
@@ -1,0 +2,7 @@
+Thu Jan  6 19:50:25 UTC 2022 - Matej Cepl 
+
+- Add 295-overagreesive-escape_url.patch make
+  mistune.util.escape_url less aggressive
+  (gh#lepture/mistune#295).
+
+---

New:

  295-overagreesive-escape_url.patch



Other differences:
--
++ python-mistune.spec ++
--- /var/tmp/diff_new_pack.yH6lvk/_old  2022-01-08 23:23:11.710210874 +0100
+++ /var/tmp/diff_new_pack.yH6lvk/_new  2022-01-08 23:23:11.714210878 +0100
@@ -1,7 +1,7 @@
 #
 # spec file
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,6 +27,9 @@
 Group:  Development/Languages/Python
 URL:https://github.com/lepture/mistune
 Source: 
https://github.com/lepture/%{modname}/archive/refs/tags/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM 295-overagreesive-escape_url.patch gh#lepture/mistune#295 
mc...@suse.com
+# Make mistune.util.escape_url less aggressive
+Patch0: 295-overagreesive-escape_url.patch
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}

++ 295-overagreesive-escape_url.patch ++
>From fc2cd53d7698e432ab5b250ffac53458263a49e2 Mon Sep 17 00:00:00 2001
From: Jeff Dairiki 
Date: Thu, 6 Jan 2022 09:30:32 -0800
Subject: [PATCH] Make mistune.util.escape_url less aggressive
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This adds ';', '!', and '$' to the set of characters which will be
passed unmolested by escape_url.  These are all in RFC 3986 reserved
character list ??? that is to say: escaping these may change the meaning
of a URL.
---
 mistune/util.py | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/mistune/util.py b/mistune/util.py
index 192f6ef..f99fe37 100644
--- a/mistune/util.py
+++ b/mistune/util.py
@@ -20,7 +20,12 @@ def escape(s, quote=True):
 
 
 def escape_url(link):
-safe = '/#:()*?=%@+,&'
+safe = (
+':/?#@'   # gen-delims - '[]' (rfc3986)
+'!$&()*+,;='  # sub-delims - "'" (rfc3986)
+'%'   # leave already-encoded octets alone
+)
+
 if html is None:
 return quote(link.encode('utf-8'), safe=safe)
 return html.escape(quote(html.unescape(link), safe=safe))


commit python-mistune for openSUSE:Factory

2022-01-03 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-mistune for openSUSE:Factory 
checked in at 2022-01-03 10:48:51

Comparing /work/SRC/openSUSE:Factory/python-mistune (Old)
 and  /work/SRC/openSUSE:Factory/.python-mistune.new.1896 (New)


Package is "python-mistune"

Mon Jan  3 10:48:51 2022 rev:11 rq:943348 version:2.0.1

Changes:

--- /work/SRC/openSUSE:Factory/python-mistune/python-mistune.changes
2021-12-28 12:26:15.716467812 +0100
+++ /work/SRC/openSUSE:Factory/.python-mistune.new.1896/python-mistune.changes  
2022-01-03 10:48:54.775568809 +0100
@@ -1,0 +2,6 @@
+Fri Dec 31 17:09:33 UTC 2021 - Ben Greiner 
+
+- Update to 2.0.1
+  * Fix XSS for image link syntax.
+
+---

Old:

  mistune-2.0.0.tar.gz

New:

  mistune-2.0.1.tar.gz



Other differences:
--
++ python-mistune.spec ++
--- /var/tmp/diff_new_pack.ipLlEH/_old  2022-01-03 10:48:55.299569011 +0100
+++ /var/tmp/diff_new_pack.ipLlEH/_new  2022-01-03 10:48:55.303569012 +0100
@@ -1,5 +1,5 @@
 #
-# spec file for package python-mistune
+# spec file
 #
 # Copyright (c) 2021 SUSE LLC
 #
@@ -20,7 +20,7 @@
 %define modname mistune
 %define skip_python2 1
 Name:   python-%{modname}
-Version:2.0.0
+Version:2.0.1
 Release:0
 Summary:Python Markdown parser with renderers and plugins
 License:BSD-3-Clause

++ mistune-2.0.0.tar.gz -> mistune-2.0.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-2.0.0/README.md new/mistune-2.0.1/README.md
--- old/mistune-2.0.0/README.md 2021-12-05 09:12:24.0 +0100
+++ new/mistune-2.0.1/README.md 2021-12-30 11:35:05.0 +0100
@@ -29,10 +29,10 @@
 
 ## Install
 
-To install v2 of mistune:
+To install mistune:
 
 ```
-$ pip install mistune==2.0.0rc1
+$ pip install mistune
 ```
 
 ## Overview
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-2.0.0/docs/changes.rst 
new/mistune-2.0.1/docs/changes.rst
--- old/mistune-2.0.0/docs/changes.rst  2021-12-05 09:12:24.0 +0100
+++ new/mistune-2.0.1/docs/changes.rst  2021-12-30 11:35:05.0 +0100
@@ -3,6 +3,13 @@
 
 Here is the full history of mistune v2.
 
+Version 2.0.1
+~
+
+Released on Dec 30, 2021
+
+XSS fix for image link syntax.
+
 Version 2.0.0
 ~
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-2.0.0/mistune/__init__.py 
new/mistune-2.0.1/mistune/__init__.py
--- old/mistune-2.0.0/mistune/__init__.py   2021-12-05 09:12:24.0 
+0100
+++ new/mistune-2.0.1/mistune/__init__.py   2021-12-30 11:35:05.0 
+0100
@@ -60,4 +60,4 @@
 'html', 'create_markdown', 'markdown',
 ]
 
-__version__ = '2.0.0rc2'
+__version__ = '2.0.1'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-2.0.0/mistune/inline_parser.py 
new/mistune-2.0.1/mistune/inline_parser.py
--- old/mistune-2.0.0/mistune/inline_parser.py  2021-12-05 09:12:24.0 
+0100
+++ new/mistune-2.0.1/mistune/inline_parser.py  2021-12-30 11:35:05.0 
+0100
@@ -138,7 +138,7 @@
 title = ESCAPE_CHAR.sub(r'\1', title[1:-1])
 
 if line[0] == '!':
-return 'image', link, text, title
+return 'image', escape_url(link), text, title
 
 return self.tokenize_link(line, link, text, title, state)
 
@@ -156,7 +156,7 @@
 title = ESCAPE_CHAR.sub(r'\1', title)
 
 if line[0] == '!':
-return 'image', link, text, title
+return 'image', escape_url(link), text, title
 
 return self.tokenize_link(line, link, text, title, state)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-2.0.0/pyproject.toml 
new/mistune-2.0.1/pyproject.toml
--- old/mistune-2.0.0/pyproject.toml2021-12-05 09:12:24.0 +0100
+++ new/mistune-2.0.1/pyproject.toml2021-12-30 11:35:05.0 +0100
@@ -1,2 +1,3 @@
 [build-system]
 requires = [ "setuptools", "wheel" ]
+build-backend = "setuptools.build_meta"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mistune-2.0.0/setup.cfg new/mistune-2.0.1/setup.cfg
--- old/mistune-2.0.0/setup.cfg 2021-12-05 09:12:24.0 +0100
+++ new/mistune-2.0.1/setup.cfg 2021-12-30 11:35:05.0 +0100
@@ -1,6 +1,6 @@
 [metadata]
 name = mistune
-version = 2.0.0
+version = 2.0.1
 author = Hsiaoming Yang
 author_email = m...@lepture.com
 license = BSD 3-Clause License


commit python-mistune for openSUSE:Factory

2021-12-28 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-mistune for openSUSE:Factory 
checked in at 2021-12-28 12:26:05

Comparing /work/SRC/openSUSE:Factory/python-mistune (Old)
 and  /work/SRC/openSUSE:Factory/.python-mistune.new.2520 (New)


Package is "python-mistune"

Tue Dec 28 12:26:05 2021 rev:10 rq:942709 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/python-mistune/python-mistune.changes
2020-11-02 09:39:45.569573429 +0100
+++ /work/SRC/openSUSE:Factory/.python-mistune.new.2520/python-mistune.changes  
2021-12-28 12:26:15.716467812 +0100
@@ -1,0 +2,23 @@
+Sun Dec 26 17:24:01 UTC 2021 - Ben Greiner 
+
+- Cleanup specfile
+- Unskip python36: required by httpbin
+
+---
+Thu Dec 16 19:49:28 UTC 2021 - Andreas Schneider 
+
+- Fix building on openSUSE 15.3
+
+---
+Mon Dec  6 13:13:49 UTC 2021 - Matej Cepl 
+
+- Update to 2.0.0:
+  - Complete rewrite of the package with quite modern API.
+
+---
+Wed Nov 24 10:16:00 UTC 2021 - Matej Cepl 
+
+- Revert to 0.* version, because 2.* breaks python-m2r in the
+  current moment.
+
+---

Old:

  mistune-0.8.4.tar.gz

New:

  mistune-2.0.0.tar.gz



Other differences:
--
++ python-mistune.spec ++
--- /var/tmp/diff_new_pack.nrhimm/_old  2021-12-28 12:26:16.168468154 +0100
+++ /var/tmp/diff_new_pack.nrhimm/_new  2021-12-28 12:26:16.172468157 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mistune
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,33 +16,38 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-Name:   python-mistune
-Version:0.8.4
+%{?!python_module:%define python_module() python3-%{**}}
+%define modname mistune
+%define skip_python2 1
+Name:   python-%{modname}
+Version:2.0.0
 Release:0
-Summary:A markdown parser in pure Python
+Summary:Python Markdown parser with renderers and plugins
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 URL:https://github.com/lepture/mistune
-Source0:
https://files.pythonhosted.org/packages/source/m/mistune/mistune-%{version}.tar.gz
+Source: 
https://github.com/lepture/%{modname}/archive/refs/tags/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:  noarch
 %python_subpackages
 
 %description
-A markdown parser in pure Python, inspired by marked.
+A Python Markdown parser with renderers and plugins,
+compatible with sane CommonMark rules.
 
 %prep
-%setup -q -n mistune-%{version}
+%autosetup -p1 -n %{modname}-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
@@ -50,10 +55,8 @@
 
 %files %{python_files}
 %license LICENSE
-%doc CHANGES.rst README.rst
-%{python_sitelib}/mistune.py*
-%pycache_only %{python_sitelib}/__pycache__/*
-%dir %{python_sitelib}/mistune-%{version}-py*.egg-info
-%{python_sitelib}/mistune-%{version}-py*.egg-info/*
+%doc README.md
+%{python_sitelib}/%{modname}
+%{python_sitelib}/%{modname}-%{version}*-info
 
 %changelog

++ mistune-0.8.4.tar.gz -> mistune-2.0.0.tar.gz ++
 23533 lines of diff (skipped)