Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-time-machine for
openSUSE:Factory checked in at 2023-06-03 00:06:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-time-machine (Old)
and /work/SRC/openSUSE:Factory/.python-time-machine.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-time-machine"
Sat Jun 3 00:06:21 2023 rev:12 rq:1089987 version:2.9.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-time-machine/python-time-machine.changes
2023-05-28 19:23:46.429294607 +0200
+++
/work/SRC/openSUSE:Factory/.python-time-machine.new.15902/python-time-machine.changes
2023-06-03 00:06:30.961738220 +0200
@@ -1,0 +2,7 @@
+Wed May 31 09:26:06 UTC 2023 - Ben Greiner <[email protected]>
+
+- Move to PEP517
+- Do not use pytzdata, but system timezone directly
+- Don't catchall sitearch
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-time-machine.spec ++++++
--- /var/tmp/diff_new_pack.l1cTKd/_old 2023-06-03 00:06:32.257745872 +0200
+++ /var/tmp/diff_new_pack.l1cTKd/_new 2023-06-03 00:06:32.301746132 +0200
@@ -16,7 +16,6 @@
#
-%define skip_python2 1
Name: python-time-machine
Group: Development/Languages/Python
Version: 2.9.0
@@ -27,17 +26,20 @@
# pypi packages don't contain the tests anymore since 2.2.0, see changelog
Source:
https://github.com/adamchainz/time-machine/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: %{python_module devel >= 3.7}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
# SECTION tests
+BuildRequires: %{python_module backports.zoneinfo if %python-base < 3.9}
BuildRequires: %{python_module pytest}
-BuildRequires: %{python_module dateutil}
-BuildRequires: %{python_module pytzdata}
-BuildRequires: (python38-backports.zoneinfo if python38-base)
+BuildRequires: %{python_module python-dateutil}
+BuildRequires: timezone
# /SECTION
BuildRequires: fdupes
BuildRequires: python-rpm-generators
-%{?python_enable_dependency_generator}
+Requires: python-python-dateutil
+Requires: timezone
%python_subpackages
%description
@@ -48,10 +50,10 @@
%setup -q -n time-machine-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -60,6 +62,8 @@
%files %{python_files}
%doc README.rst HISTORY.rst
%license LICENSE
-%{python_sitearch}/*
+%{python_sitearch}/time_machine
+%{python_sitearch}/_time_machine.*.so
+%{python_sitearch}/time_machine-%{version}.dist-info
%changelog