Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-ansi2html for 
openSUSE:Factory checked in at 2022-04-27 21:42:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ansi2html (Old)
 and      /work/SRC/openSUSE:Factory/.python-ansi2html.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ansi2html"

Wed Apr 27 21:42:15 2022 rev:4 rq:973214 version:1.7.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ansi2html/python-ansi2html.changes        
2020-03-26 23:33:26.178778553 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-ansi2html.new.1538/python-ansi2html.changes  
    2022-04-27 21:42:25.477092365 +0200
@@ -1,0 +2,39 @@
+Wed Apr 27 11:41:26 UTC 2022 - pgaj...@suse.com
+
+- version update to 1.7.0
+  1.7.0
+  -----
+  Minor Changes
+  ^^^^^^^^^^^^^
+  * Replace recommendation of using system packages with pip3  @ssbarnea
+  * Add truecolor support  @miltolstoy
+  * Generate documentation with Sphinx and use Read the Docs  @tristanlatr
+  * Adds support for OSC hyperlink sequences.  @hakonhagland
+  Bugfixes
+  ^^^^^^^^
+  * Add test coverage  @ziegenberg
+  * Replace pkg_resources with importlib.metadata  @ziegenberg
+  * fix including of CHANGELOG.rst  @ziegenberg
+  * Update linting dependencies  @ziegenberg
+  * Upgrade the build process  @ziegenberg
+  * Add type hinting  @ziegenberg
+  * Update CI badges in readme  @ssbarnea
+  * Bump setuptools-scm version  @ssbarnea
+  1.6.0
+  -----
+  Changes
+  ^^^^^^^
+  * Switching from nosetest to unittest  @paolostivanin
+  * Add dracula colorscheme  @ahmubashshir
+  * Refactor packaging by replacing old setup.py based packaging with modern 
pep517 based one 
+  * Replace travis with github actions  @ssbarnea
+  Bugfixes
+  ^^^^^^^^
+  * Correct author metadata  @ssbarnea
+  Deprecations
+  ^^^^^^^^^^^^
+  * Officialy retire support for python <= 3.6  @ssbarnea
+- deleted patches
+  - remove_nose.patch (upstreamed)
+
+-------------------------------------------------------------------

Old:
----
  1.5.2.tar.gz
  remove_nose.patch

New:
----
  1.7.0.tar.gz

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

Other differences:
------------------
++++++ python-ansi2html.spec ++++++
--- /var/tmp/diff_new_pack.WHc7Ll/_old  2022-04-27 21:42:26.013093019 +0200
+++ /var/tmp/diff_new_pack.WHc7Ll/_new  2022-04-27 21:42:26.017093024 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-ansi2html
 #
-# Copyright (c) 2020 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
@@ -18,23 +18,22 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-ansi2html
-Version:        1.5.2
+Version:        1.7.0
 Release:        0
 Summary:        Python module to convert text with ANSI color codes to HTML or 
LaTeX
 License:        LGPL-3.0-or-later
 Group:          Development/Languages/Python
 URL:            https://github.com/ralphbean/ansi2html/
 Source:         
https://github.com/ralphbean/ansi2html/archive/%{version}.tar.gz
-# https://github.com/ralphbean/ansi2html/pull/103
-Patch0:         remove_nose.patch
-BuildRequires:  %{python_module mock}
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module six}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-six
 Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
 BuildArch:      noarch
 %python_subpackages
 
@@ -43,18 +42,21 @@
 
 %prep
 %setup -q -n ansi2html-%{version}
-%patch0 -p1
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 %python_clone -a %{buildroot}%{_bindir}/ansi2html
 
 %check
-%python_exec -m unittest discover -s tests/ -v
+# https://github.com/pycontribs/ansi2html/issues/169
+sed -i 's:from mock:from unittest.mock:' tests/test_ansi2html.py
+# ansi2html not available (update alternatives); solvable
+# but it runs just ansi2html --version
+%pytest -k 'not test_command_script'
 
 %post
 %python_install_alternative ansi2html

++++++ 1.5.2.tar.gz -> 1.7.0.tar.gz ++++++
++++ 5306 lines of diff (skipped)

Reply via email to