Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-Pyphen for openSUSE:Factory 
checked in at 2024-08-19 23:44:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Pyphen (Old)
 and      /work/SRC/openSUSE:Factory/.python-Pyphen.new.2698 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Pyphen"

Mon Aug 19 23:44:25 2024 rev:8 rq:1194574 version:0.16.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Pyphen/python-Pyphen.changes      
2024-06-07 15:04:45.230804610 +0200
+++ /work/SRC/openSUSE:Factory/.python-Pyphen.new.2698/python-Pyphen.changes    
2024-08-19 23:44:26.843483788 +0200
@@ -1,0 +2,7 @@
+Sun Aug 18 16:59:58 UTC 2024 - Dirk Müller <dmuel...@suse.com>
+
+- update to 0.16.0:
+  * Close file when reading encoding
+  * Update dictionary repository
+
+-------------------------------------------------------------------

Old:
----
  0.15.0.tar.gz

New:
----
  0.16.0.tar.gz

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

Other differences:
------------------
++++++ python-Pyphen.spec ++++++
--- /var/tmp/diff_new_pack.jNd1V9/_old  2024-08-19 23:44:28.211541069 +0200
+++ /var/tmp/diff_new_pack.jNd1V9/_new  2024-08-19 23:44:28.215541236 +0200
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-Pyphen
-Version:        0.15.0
+Version:        0.16.0
 Release:        0
 Summary:        Pure Python module to hyphenate text
 License:        GPL-2.0-or-later AND LGPL-2.1-or-later AND MPL-1.1

++++++ 0.15.0.tar.gz -> 0.16.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Pyphen-0.15.0/LICENSE new/Pyphen-0.16.0/LICENSE
--- old/Pyphen-0.15.0/LICENSE   2024-04-23 16:29:12.000000000 +0200
+++ new/Pyphen-0.16.0/LICENSE   2024-07-30 13:41:03.000000000 +0200
@@ -5,4 +5,4 @@
 repository and are distributed under GPL, LGPL and/or MPL. See the
 dictionaries and the libreoffice's repository for more details.
 
-http://cgit.freedesktop.org/libreoffice/dictionaries/tree/
+https://git.libreoffice.org/dictionaries
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Pyphen-0.15.0/README.rst new/Pyphen-0.16.0/README.rst
--- old/Pyphen-0.15.0/README.rst        2024-04-23 16:29:12.000000000 +0200
+++ new/Pyphen-0.16.0/README.rst        2024-07-30 13:41:03.000000000 +0200
@@ -8,7 +8,7 @@
 modified in this repository. See the dictionaries and LibreOffice's repository
 for more details.
 
-https://cgit.freedesktop.org/libreoffice/dictionaries/tree/
+https://git.libreoffice.org/dictionaries
 
 * Free software: GPL 2.0+ or LGPL 2.1+ or MPL 1.1 for the code
 * For Python 3.8+, tested on CPython and PyPy
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Pyphen-0.15.0/docs/changelog.rst 
new/Pyphen-0.16.0/docs/changelog.rst
--- old/Pyphen-0.15.0/docs/changelog.rst        2024-04-23 16:29:12.000000000 
+0200
+++ new/Pyphen-0.16.0/docs/changelog.rst        2024-07-30 13:41:03.000000000 
+0200
@@ -2,6 +2,15 @@
 =========
 
 
+Version 0.16.0
+--------------
+
+Released on 2024-07-30.
+
+* Close file when reading encoding
+* Update dictionary repository
+
+
 Version 0.15.0
 --------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Pyphen-0.15.0/pyphen/__init__.py 
new/Pyphen-0.16.0/pyphen/__init__.py
--- old/Pyphen-0.15.0/pyphen/__init__.py        2024-04-23 16:29:12.000000000 
+0200
+++ new/Pyphen-0.16.0/pyphen/__init__.py        2024-07-30 13:41:03.000000000 
+0200
@@ -11,7 +11,7 @@
 from importlib import resources
 from pathlib import Path
 
-VERSION = __version__ = '0.15.0'
+VERSION = __version__ = '0.16.0'
 
 __all__ = ('Pyphen', 'LANGUAGES', 'language_fallback')
 
@@ -115,7 +115,8 @@
         self.patterns = {}
 
         # see "man 4 hunspell", iscii-devanagari is not supported by python
-        encoding = path.open('rb').readline().decode()
+        with path.open('rb') as fd:
+            encoding = fd.readline().decode()
         if encoding.lower() == 'microsoft-cp1251':
             encoding = 'cp1251'
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Pyphen-0.15.0/pyphen/dictionaries/update.sh 
new/Pyphen-0.16.0/pyphen/dictionaries/update.sh
--- old/Pyphen-0.15.0/pyphen/dictionaries/update.sh     2024-04-23 
16:29:12.000000000 +0200
+++ new/Pyphen-0.16.0/pyphen/dictionaries/update.sh     2024-07-30 
13:41:03.000000000 +0200
@@ -1,4 +1,4 @@
-git clone git://anongit.freedesktop.org/libreoffice/dictionaries 
libreoffice-dictionaries
+git clone https://git.libreoffice.org/dictionaries libreoffice-dictionaries
 cd libreoffice-dictionaries
 git pull
 cd ..

Reply via email to