Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pytz for openSUSE:Factory 
checked in at 2024-06-04 12:50:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytz (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytz.new.24587 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytz"

Tue Jun  4 12:50:52 2024 rev:57 rq:1177996 version:2024.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytz/python-pytz.changes  2024-02-02 
15:44:52.951506982 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytz.new.24587/python-pytz.changes       
2024-06-04 12:51:24.716437992 +0200
@@ -1,0 +2,11 @@
+Fri May 31 21:53:27 UTC 2024 - Matej Cepl <mc...@cepl.eu>
+
+- Clean up SPEC file.
+
+-------------------------------------------------------------------
+Fri May 31 11:52:05 UTC 2024 - Antonio Larrosa <alarr...@suse.com>
+
+- update to 2024.1:
+  * Update olson to 2024a
+
+-------------------------------------------------------------------

Old:
----
  pytz-2023.4.tar.gz

New:
----
  pytz-2024.1.tar.gz

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

Other differences:
------------------
++++++ python-pytz.spec ++++++
--- /var/tmp/diff_new_pack.jj9lFB/_old  2024-06-04 12:51:25.536467749 +0200
+++ /var/tmp/diff_new_pack.jj9lFB/_new  2024-06-04 12:51:25.536467749 +0200
@@ -18,19 +18,10 @@
 
 # Ensure you update the tzdata_version for any minor version increase
 # otherwise the update python library has the incorrect timezone data.
-%define tzdata_version 2023d
-%define oldpython python
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%{?!pyunittest:%define 
pyunittest(+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-=) 
\\\
-    %{lua: local args = rpm.expand("%**");
-           local broot = rpm.expand("%buildroot");
-           local intro = "%{python_expand 
PYTHONPATH=${PYTHONPATH:+$PYTHONPATH:}" .. broot .. "%{$python_sitelib} 
PYTHONDONTWRITEBYTECODE=1 $python -m unittest ";
-           print(rpm.expand(intro .. args .. "}"))
-    } }
-
+%define tzdata_version 2024a
 %{?sle15_python_module_pythons}
 Name:           python-pytz
-Version:        2023.4
+Version:        2024.1
 Release:        0
 Summary:        World timezone definitions, modern and historical
 License:        MIT
@@ -41,17 +32,15 @@
 Patch0:         fix-tests.patch
 # PATCH-FIX-UPSTREAM 0001-Fix-tests-for-older-timezone-versions.patch -- 
https://code.launchpad.net/~toabctl/pytz/+git/pytz/+merge/326419
 Patch2:         0001-Fix-tests-for-older-timezone-versions.patch
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  timezone >= %{tzdata_version}
 Requires:       python-base
 Requires:       timezone >= %{tzdata_version}
 BuildArch:      noarch
-%ifpython2
-Provides:       %{oldpython}-tz = %{version}
-Obsoletes:      %{oldpython}-tz < %{version}
-%endif
 %python_subpackages
 
 %description
@@ -75,10 +64,10 @@
 touch pytz/tests/__init__.py
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 # Replace custom data with symlink to /usr/share/zoneinfo
 %{python_expand rm -r %{buildroot}%{$python_sitelib}/pytz/zoneinfo
 ln -s %{_datadir}/zoneinfo %{buildroot}%{$python_sitelib}/pytz/zoneinfo
@@ -97,5 +86,5 @@
 %license LICENSE.txt
 %doc README.rst
 %{python_sitelib}/pytz
-%{python_sitelib}/pytz-%{version}-py*.egg-info
+%{python_sitelib}/pytz-%{version}*-info
 

++++++ pytz-2023.4.tar.gz -> pytz-2024.1.tar.gz ++++++
++++ 7303 lines of diff (skipped)

Reply via email to