Hello community,

here is the log from the commit of package python-markdown2 for 
openSUSE:Factory checked in at 2019-04-08 20:53:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-markdown2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-markdown2.new.3908 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-markdown2"

Mon Apr  8 20:53:19 2019 rev:3 rq:691804 version:2.3.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-markdown2/python-markdown2.changes        
2018-07-31 16:01:06.215720043 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-markdown2.new.3908/python-markdown2.changes  
    2019-04-08 20:53:24.338562610 +0200
@@ -1,0 +2,25 @@
+Fri Apr  5 12:17:28 UTC 2019 - Tomáš Chvátal <tchva...@suse.com>
+
+- Update to 2.3.7:
+  [pull #282] Add TOC depth option
+  [pull #283] Fix to add TOC html to output via CLI
+  [pull #284] Do not remove anchors in safe_mode
+  [pull #288] fixing cuddled-lists with a single list item
+  [pull #292] Fix Wrong rendering of last list element
+  [pull #295] link-patterns fix
+  [pull #300] Replace a deprecated method
+  [pull #301] DeprecationWarning: invalid escape sequence
+  [pull #302] Fix "make test" in Python 3
+  [pull #303] Fix CVE-2018-5773
+  [pull #306] Drop support for legacy Python versions
+  [pull #307] Fix syntax highlighting test cases that depend on Pygments output
+  [pull #308] Add support for Python 3.7
+  [pull #304] Add Wheel package support
+  [pull #312] Fix toc_depth initialization regression
+  [pull #315] XSS fix
+- Drop merged patch:
+  * disable-failing-tests.patch
+- Add patch from upstream to fix build command:
+  * fix-build.patch
+
+-------------------------------------------------------------------

Old:
----
  disable-failing-tests.patch
  markdown2-2.3.5.zip

New:
----
  fix-build.patch
  markdown2-2.3.7.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-markdown2.spec ++++++
--- /var/tmp/diff_new_pack.OCyPPp/_old  2019-04-08 20:53:25.106563175 +0200
+++ /var/tmp/diff_new_pack.OCyPPp/_new  2019-04-08 20:53:25.122563186 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-markdown2
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,23 +12,21 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without  test
 Name:           python-markdown2
-Version:        2.3.5
+Version:        2.3.7
 Release:        0
 Summary:        A Python implementation of Markdown
 License:        MIT
 Group:          Development/Languages/Python
-URL:            https://pypi.python.org/pypi/markdown2
-Source:         
https://files.pythonhosted.org/packages/source/m/markdown2/markdown2-%{version}.zip
-# PATCH-FIX-UPSTREAM disable-failing-tests.patch 
https://github.com/trentm/python-markdown2/issues/281
-Patch0:         disable-failing-tests.patch 
-BuildRequires:  %{python_module base}
+URL:            https://github.com/trentm/python-markdown2
+Source:         
https://files.pythonhosted.org/packages/source/m/markdown2/markdown2-%{version}.tar.gz
+Patch0:         fix-build.patch
 BuildRequires:  %{python_module pygments}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -49,7 +47,6 @@
 %prep
 %setup -q -n markdown2-%{version}
 %patch0 -p1
-sed -i -e '/^#!\//, 1d' lib/markdown2.py
 
 %build
 %python_build
@@ -57,13 +54,11 @@
 %install
 %python_install
 %python_clone -a %{buildroot}%{_bindir}/markdown2
-%python_expand %fdupes %{buildroot}%{$python_bin_suffix}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 pushd test
-%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
-%python_exec test.py -- -knownfailure
-}
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python test.py -- 
-knownfailure
 popd
 
 %post

++++++ fix-build.patch ++++++
>From 7f8a48b504fc20fa5bc5016f9bc96f5cc06cf891 Mon Sep 17 00:00:00 2001
From: Nicholas Serra <nickse...@gmail.com>
Date: Tue, 5 Mar 2019 14:45:01 -0500
Subject: [PATCH] Remove build alias fixes #323

---
 setup.cfg            | 3 ---
 tools/cutarelease.py | 2 +-
 2 files changed, 1 insertion(+), 4 deletions(-)

Index: markdown2-2.3.7/setup.cfg
===================================================================
--- markdown2-2.3.7.orig/setup.cfg
+++ markdown2-2.3.7/setup.cfg
@@ -1,6 +1,3 @@
-[aliases]
-build = sdist bdist_wheel
-
 [wheel]
 universal = 1
 

Reply via email to