Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-titlecase for 
openSUSE:Factory checked in at 2023-10-25 18:02:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-titlecase (Old)
 and      /work/SRC/openSUSE:Factory/.python-titlecase.new.24901 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-titlecase"

Wed Oct 25 18:02:29 2023 rev:7 rq:1120008 version:2.4.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-titlecase/python-titlecase.changes        
2022-10-12 18:26:06.361876509 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-titlecase.new.24901/python-titlecase.changes 
    2023-10-25 18:03:12.815231799 +0200
@@ -1,0 +2,11 @@
+Tue Oct 24 14:01:36 UTC 2023 - Dirk Müller <dmuel...@suse.com>
+
+- update to 2.4.1:
+  * Fix invalid escape sequence warning
+
+-------------------------------------------------------------------
+Tue Oct 24 14:00:34 UTC 2023 - Dirk Müller <dmuel...@suse.com>
+
+- add setuptools_scm to get proper versions in the metadata
+
+-------------------------------------------------------------------

Old:
----
  titlecase-2.4.tar.gz

New:
----
  titlecase-2.4.1.tar.gz

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

Other differences:
------------------
++++++ python-titlecase.spec ++++++
--- /var/tmp/diff_new_pack.xRIDwq/_old  2023-10-25 18:03:13.307248346 +0200
+++ /var/tmp/diff_new_pack.xRIDwq/_new  2023-10-25 18:03:13.307248346 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-titlecase
 #
-# 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
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-titlecase
-Version:        2.4
+Version:        2.4.1
 Release:        0
 Summary:        Python library to capitalize strings
 License:        MIT
@@ -26,6 +26,7 @@
 URL:            https://github.com/ppannuto/python-titlecase
 Source:         
https://files.pythonhosted.org/packages/source/t/titlecase/titlecase-%{version}.tar.gz
 BuildRequires:  %{python_module regex >= 2020.4.4}
+BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -68,5 +69,6 @@
 %files %{python_files}
 %doc README.rst
 %python_alternative %{_bindir}/titlecase
-%{python_sitelib}/*
+%{python_sitelib}/titlecase
+%{python_sitelib}/titlecase-%{version}*-info
 

++++++ titlecase-2.4.tar.gz -> titlecase-2.4.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/titlecase-2.4/PKG-INFO new/titlecase-2.4.1/PKG-INFO
--- old/titlecase-2.4/PKG-INFO  2022-08-15 22:09:19.000000000 +0200
+++ new/titlecase-2.4.1/PKG-INFO        2023-09-23 07:03:27.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: titlecase
-Version: 2.4
+Version: 2.4.1
 Summary: Python Port of John Gruber's titlecase.pl
 Home-page: https://github.com/ppannuto/python-titlecase
 Author: Stuart Colville
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/titlecase-2.4/titlecase/__init__.py 
new/titlecase-2.4.1/titlecase/__init__.py
--- old/titlecase-2.4/titlecase/__init__.py     2022-08-15 22:02:33.000000000 
+0200
+++ new/titlecase-2.4.1/titlecase/__init__.py   2023-09-23 06:57:37.000000000 
+0200
@@ -23,7 +23,7 @@
     REGEX_AVAILABLE = True
 
 __all__ = ['titlecase']
-__version__ = '2.4.0'
+__version__ = '2.4.1'
 
 SMALL = r'a|an|and|as|at|but|by|en|for|if|in|of|on|or|the|to|v\.?|via|vs\.?'
 PUNCT = r"""!"“#$%&'‘()*+,\-–‒—―./:;?@[\\\]_`{|}~"""
@@ -167,7 +167,7 @@
             # too short (like "St", don't apply this)
             CONSONANTS = ''.join(set(string.ascii_lowercase)
                                  - {'a', 'e', 'i', 'o', 'u', 'y'})
-            is_all_consonants = regex.search('\A[' + CONSONANTS + ']+\Z', word,
+            is_all_consonants = regex.search(r'\A[' + CONSONANTS + r']+\Z', 
word,
                                              flags=regex.IGNORECASE)
             if is_all_consonants and len(word) > 2:
                 tc_line.append(word.upper())
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/titlecase-2.4/titlecase.egg-info/PKG-INFO 
new/titlecase-2.4.1/titlecase.egg-info/PKG-INFO
--- old/titlecase-2.4/titlecase.egg-info/PKG-INFO       2022-08-15 
22:09:19.000000000 +0200
+++ new/titlecase-2.4.1/titlecase.egg-info/PKG-INFO     2023-09-23 
07:03:26.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: titlecase
-Version: 2.4
+Version: 2.4.1
 Summary: Python Port of John Gruber's titlecase.pl
 Home-page: https://github.com/ppannuto/python-titlecase
 Author: Stuart Colville

Reply via email to