Compare commits

1 Commits
1.1 ... main

4 changed files with 68 additions and 12 deletions

View File

@@ -1,3 +1,58 @@
-------------------------------------------------------------------
Sun Mar 30 08:11:32 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 5.8.0:
* Drop support for Python 3.8, now EOL.
-------------------------------------------------------------------
Wed Nov 20 15:25:28 UTC 2024 - Dirk Müller <dmueller@suse.com>
- add missing requires on dateutil
-------------------------------------------------------------------
Thu Nov 14 12:05:48 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 5.7.0
* Add a tzinfos mapping and parse method for
easy datetime parsing with timezone support.
-------------------------------------------------------------------
Tue Jul 2 15:18:11 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 5.6.0:
* Removed dependency on pytz.
* In utc.now(), bind late to allow for monkeypatching.
-------------------------------------------------------------------
Sat Mar 16 14:39:37 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 5.5.1:
* Remove test dependency on backports.unittest_mock.
-------------------------------------------------------------------
Wed Jul 19 09:02:01 UTC 2023 - ecsos <ecsos@opensuse.org>
- %{?sle15_python_module_pythons} must be at beginning to work.
-------------------------------------------------------------------
Wed Jul 12 22:50:07 UTC 2023 - Arun Persaud <arun@gmx.de>
- specfile:
* require 3.8 or later
* Changelog got renamed to NEWS
- update to version 5.5.0:
* Features
+ Stopwatch now uses time.monotonic.
- changes from version 5.4.0:
* Features
+ Require Python 3.8 or later.
- changes from version 5.3.0:
* #24: Removed use of datetime.utc** functions deprecated in Python
3.12.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 4 21:03:54 UTC 2023 - Dirk Müller <dmueller@suse.com> Thu May 4 21:03:54 UTC 2023 - Dirk Müller <dmueller@suse.com>
@@ -32,7 +87,7 @@ Wed Jan 4 18:47:50 UTC 2023 - Dirk Müller <dmueller@suse.com>
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 5 13:41:37 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com> Mon Dec 5 13:41:37 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 5.1.0 - Update to version 5.1.0
* Introduced infer_datetime and added some type hints. * Introduced infer_datetime and added some type hints.
------------------------------------------------------------------- -------------------------------------------------------------------

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-tempora # spec file for package python-tempora
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
# #
%define skip_python2 1
%if 0%{?suse_version} > 1500 %if 0%{?suse_version} > 1500
%bcond_without libalternatives %bcond_without libalternatives
%else %else
@@ -24,34 +23,36 @@
%endif %endif
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-tempora Name: python-tempora
Version: 5.2.2 Version: 5.8.0
Release: 0 Release: 0
Summary: Objects and routines pertaining to date and time (tempora) Summary: Objects and routines pertaining to date and time (tempora)
License: MIT License: MIT
URL: https://github.com/jaraco/tempora URL: https://github.com/jaraco/tempora
Source: https://files.pythonhosted.org/packages/source/t/tempora/tempora-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/t/tempora/tempora-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module freezegun} BuildRequires: %{python_module freezegun}
BuildRequires: %{python_module jaraco.functools >= 1.20} BuildRequires: %{python_module jaraco.functools >= 1.20}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest > 4.6} BuildRequires: %{python_module pytest > 4.6}
BuildRequires: %{python_module pytest-freezegun} BuildRequires: %{python_module pytest-freezegun}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module setuptools >= 56} BuildRequires: %{python_module setuptools >= 56}
BuildRequires: %{python_module setuptools_scm >= 3.4.1} BuildRequires: %{python_module setuptools_scm >= 3.4.1}
BuildRequires: %{python_module toml} BuildRequires: %{python_module toml}
BuildRequires: %{python_module tzdata}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros >= 20210929 BuildRequires: python-rpm-macros >= 20210929
Requires: python-jaraco.functools >= 1.20 Requires: python-jaraco.functools >= 1.20
Requires: python-pytz Requires: python-python-dateutil
Requires: python-tzdata
BuildArch: noarch BuildArch: noarch
%if %{with libalternatives} %if %{with libalternatives}
BuildRequires: alts BuildRequires: alts
Requires: alts Requires: alts
%else %else
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun):update-alternatives Requires(postun): update-alternatives
%endif %endif
%python_subpackages %python_subpackages
@@ -93,7 +94,7 @@ donttest="tempora.parse_timedelta"
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc CHANGES.rst README.rst docs/*rst %doc NEWS.rst README.rst docs/*rst
%python_alternative %{_bindir}/calc-prorate %python_alternative %{_bindir}/calc-prorate
%{python_sitelib}/tempora %{python_sitelib}/tempora
%{python_sitelib}/tempora-%{version}.dist-info %{python_sitelib}/tempora-%{version}.dist-info

BIN
tempora-5.2.2.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
tempora-5.8.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.