Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-patiencediff for 
openSUSE:Factory checked in at 2023-01-03 15:05:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-patiencediff (Old)
 and      /work/SRC/openSUSE:Factory/.python-patiencediff.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-patiencediff"

Tue Jan  3 15:05:29 2023 rev:9 rq:1046300 version:0.2.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-patiencediff/python-patiencediff.changes  
2022-12-15 19:25:09.436039943 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-patiencediff.new.1563/python-patiencediff.changes
        2023-01-03 15:05:48.166663041 +0100
@@ -1,0 +2,7 @@
+Mon Jan  2 20:02:11 UTC 2023 - Dirk Müller <dmuel...@suse.com>
+
+- update to 0.2.12:
+  * install patiencediff 
+  * drop python 3.6 
+
+-------------------------------------------------------------------

Old:
----
  patiencediff-0.2.11.tar.gz

New:
----
  patiencediff-0.2.12.tar.gz

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

Other differences:
------------------
++++++ python-patiencediff.spec ++++++
--- /var/tmp/diff_new_pack.DuEuLC/_old  2023-01-03 15:05:49.738672216 +0100
+++ /var/tmp/diff_new_pack.DuEuLC/_new  2023-01-03 15:05:49.746672263 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-patiencediff
 #
-# 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
@@ -17,18 +17,20 @@
 
 
 Name:           python-patiencediff
-Version:        0.2.11
+Version:        0.2.12
 Release:        0
 Summary:        Python implementation of the patiencediff algorithm
 License:        GPL-2.0-or-later
 Group:          Development/Languages/Python
 URL:            https://github.com/breezy-team/patiencediff
 Source:         
https://files.pythonhosted.org/packages/source/p/patiencediff/patiencediff-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module devel >= 3.7}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires(post): update-alternatives
+Requires(preun):update-alternatives
 %python_subpackages
 
 %description
@@ -44,6 +46,13 @@
 %install
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
+%python_clone -a %{buildroot}%{_bindir}/patiencediff
+
+%post
+%python_install_alternative patiencediff
+
+%postun
+%python_uninstall_alternative patiencediff
 
 %check
 %pytest
@@ -51,6 +60,7 @@
 %files %{python_files}
 %doc AUTHORS README.rst
 %license COPYING
+%python_alternative %{_bindir}/patiencediff
 %{python_sitearch}/patiencediff
 %{python_sitearch}/patiencediff-%{version}*-info
 

++++++ patiencediff-0.2.11.tar.gz -> patiencediff-0.2.12.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/patiencediff-0.2.11/PKG-INFO 
new/patiencediff-0.2.12/PKG-INFO
--- old/patiencediff-0.2.11/PKG-INFO    2022-12-09 21:03:58.473302600 +0100
+++ new/patiencediff-0.2.12/PKG-INFO    2022-12-15 19:02:25.126302200 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: patiencediff
-Version: 0.2.11
+Version: 0.2.12
 Summary: Python implementation of the patiencediff algorithm
 Maintainer: Breezy Developers
 Maintainer-email: t...@breezy-vcs.org
@@ -8,7 +8,6 @@
 Project-URL: Repository, https://github.com/breezy-team/patiencediff
 Classifier: Development Status :: 6 - Mature
 Classifier: License :: OSI Approved :: GNU General Public License v2 or later 
(GPLv2+)
-Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: 3.9
@@ -17,6 +16,7 @@
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Operating System :: POSIX
+Requires-Python: >=3.7
 License-File: COPYING
 License-File: AUTHORS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/patiencediff-0.2.11/patiencediff/__init__.py 
new/patiencediff-0.2.12/patiencediff/__init__.py
--- old/patiencediff-0.2.11/patiencediff/__init__.py    2022-12-09 
21:03:58.000000000 +0100
+++ new/patiencediff-0.2.12/patiencediff/__init__.py    2022-12-15 
19:02:24.000000000 +0100
@@ -24,7 +24,7 @@
 
 __all__ = ['PatienceSequenceMatcher', 'unified_diff', 'unified_diff_files']
 
-__version__ = (0, 2, 11)
+__version__ = (0, 2, 12)
 
 
 # This is a version of unified_diff which only adds a factory parameter
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/patiencediff-0.2.11/patiencediff/__main__.py 
new/patiencediff-0.2.12/patiencediff/__main__.py
--- old/patiencediff-0.2.11/patiencediff/__main__.py    2022-12-09 
21:03:56.000000000 +0100
+++ new/patiencediff-0.2.12/patiencediff/__main__.py    2022-12-15 
19:02:23.000000000 +0100
@@ -20,7 +20,7 @@
 from . import PatienceSequenceMatcher, unified_diff_files
 
 
-def main(args):
+def main(argv=None):
     import optparse
     p = optparse.OptionParser(usage='%prog [options] file_a file_b'
                                     '\nFiles can be "-" to read from stdin')
@@ -35,7 +35,7 @@
         'patience': PatienceSequenceMatcher,
         'difflib': difflib.SequenceMatcher}
 
-    (opts, args) = p.parse_args(args)
+    (opts, args) = p.parse_args(argv)
     matcher = algorithms[opts.matcher]
 
     if len(args) != 2:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/patiencediff-0.2.11/patiencediff.egg-info/PKG-INFO 
new/patiencediff-0.2.12/patiencediff.egg-info/PKG-INFO
--- old/patiencediff-0.2.11/patiencediff.egg-info/PKG-INFO      2022-12-09 
21:03:58.000000000 +0100
+++ new/patiencediff-0.2.12/patiencediff.egg-info/PKG-INFO      2022-12-15 
19:02:25.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: patiencediff
-Version: 0.2.11
+Version: 0.2.12
 Summary: Python implementation of the patiencediff algorithm
 Maintainer: Breezy Developers
 Maintainer-email: t...@breezy-vcs.org
@@ -8,7 +8,6 @@
 Project-URL: Repository, https://github.com/breezy-team/patiencediff
 Classifier: Development Status :: 6 - Mature
 Classifier: License :: OSI Approved :: GNU General Public License v2 or later 
(GPLv2+)
-Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: 3.9
@@ -17,6 +16,7 @@
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Operating System :: POSIX
+Requires-Python: >=3.7
 License-File: COPYING
 License-File: AUTHORS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patiencediff-0.2.11/patiencediff.egg-info/SOURCES.txt 
new/patiencediff-0.2.12/patiencediff.egg-info/SOURCES.txt
--- old/patiencediff-0.2.11/patiencediff.egg-info/SOURCES.txt   2022-12-09 
21:03:58.000000000 +0100
+++ new/patiencediff-0.2.12/patiencediff.egg-info/SOURCES.txt   2022-12-15 
19:02:25.000000000 +0100
@@ -14,4 +14,5 @@
 patiencediff.egg-info/PKG-INFO
 patiencediff.egg-info/SOURCES.txt
 patiencediff.egg-info/dependency_links.txt
+patiencediff.egg-info/entry_points.txt
 patiencediff.egg-info/top_level.txt
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/patiencediff-0.2.11/patiencediff.egg-info/entry_points.txt 
new/patiencediff-0.2.12/patiencediff.egg-info/entry_points.txt
--- old/patiencediff-0.2.11/patiencediff.egg-info/entry_points.txt      
1970-01-01 01:00:00.000000000 +0100
+++ new/patiencediff-0.2.12/patiencediff.egg-info/entry_points.txt      
2022-12-15 19:02:25.000000000 +0100
@@ -0,0 +1,2 @@
+[console_scripts]
+patiencediff = patiencediff.__main__:main
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/patiencediff-0.2.11/setup.cfg 
new/patiencediff-0.2.12/setup.cfg
--- old/patiencediff-0.2.11/setup.cfg   2022-12-09 21:03:58.473302600 +0100
+++ new/patiencediff-0.2.12/setup.cfg   2022-12-15 19:02:25.126302200 +0100
@@ -10,7 +10,6 @@
 classifiers = 
        Development Status :: 6 - Mature
        License :: OSI Approved :: GNU General Public License v2 or later 
(GPLv2+)
-       Programming Language :: Python :: 3.6
        Programming Language :: Python :: 3.7
        Programming Language :: Python :: 3.8
        Programming Language :: Python :: 3.9
@@ -23,9 +22,14 @@
        Repository = https://github.com/breezy-team/patiencediff
 
 [options]
+python_requires = >=3.7
 packages = 
        patiencediff
 
+[options.entry_points]
+console_scripts = 
+       patiencediff=patiencediff.__main__:main
+
 [egg_info]
 tag_build = 
 tag_date = 0

Reply via email to