Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-antlr4-python3-runtime for 
openSUSE:Factory checked in at 2021-01-31 16:52:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-antlr4-python3-runtime (Old)
 and      /work/SRC/openSUSE:Factory/.python-antlr4-python3-runtime.new.28504 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-antlr4-python3-runtime"

Sun Jan 31 16:52:35 2021 rev:2 rq:868140 version:4.9.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-antlr4-python3-runtime/python-antlr4-python3-runtime.changes
      2020-05-07 14:48:39.933736369 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-antlr4-python3-runtime.new.28504/python-antlr4-python3-runtime.changes
   2021-01-31 16:52:41.256761230 +0100
@@ -1,0 +2,10 @@
+Sun Jan 31 10:41:57 UTC 2021 - andy great <andythe_gr...@pm.me>
+
+- Update to version 4.9.1.
+  * Improve python3 performance by adding slots
+  * Fix incorrect python token string templates
+- Add testing.
+- Skip python2 because this is for python3.
+- Use python_alternative
+
+-------------------------------------------------------------------

Old:
----
  antlr4-python3-runtime-4.8.tar.gz

New:
----
  antlr4-python3-runtime-4.9.1.tar.gz

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

Other differences:
------------------
++++++ python-antlr4-python3-runtime.spec ++++++
--- /var/tmp/diff_new_pack.GOfnDa/_old  2021-01-31 16:52:41.948762230 +0100
+++ /var/tmp/diff_new_pack.GOfnDa/_new  2021-01-31 16:52:41.952762236 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-antlr4-python3-runtime
 #
-# 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
@@ -17,8 +17,9 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define         skip_python2 1
 Name:           python-antlr4-python3-runtime
-Version:        4.8
+Version:        4.9.1
 Release:        0
 Summary:        ANTLR runtime for Python 3
 License:        BSD-3-Clause
@@ -28,6 +29,8 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 %if %{python3_version_nodots} < 35
 Requires:       python-typing
@@ -49,11 +52,24 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/pygrun
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
+%prepare_alternative pygrun
+
+%post
+%python_install_alternative pygrun
+
+%postun
+%python_uninstall_alternative pygrun
+
+%check
+%pyunittest discover -v --pattern "*.py" --start-directory test
 
 %files %{python_files}
 %doc README.txt
 %license LICENSE.txt
-%{python_sitelib}/*
+%python_alternative %{_bindir}/pygrun
+%{python_sitelib}/antlr4_python3_runtime-*.egg-info
+%{python_sitelib}/antlr4
 
 %changelog

++++++ antlr4-python3-runtime-4.8.tar.gz -> antlr4-python3-runtime-4.9.1.tar.gz 
++++++
++++ 13042 lines of diff (skipped)

Reply via email to