Sync from SUSE:SLFO:Main python-tempora revision eedab1ce527c53a38ef4b913e5a33f70
This commit is contained in:
parent
29680a9040
commit
3e7291b9de
@ -1,3 +1,40 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-tempora
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,7 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%define skip_python2 1
|
||||
%if 0%{?suse_version} > 1500
|
||||
%bcond_without libalternatives
|
||||
%else
|
||||
@ -24,34 +23,35 @@
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-tempora
|
||||
Version: 5.2.2
|
||||
Version: 5.6.0
|
||||
Release: 0
|
||||
Summary: Objects and routines pertaining to date and time (tempora)
|
||||
License: MIT
|
||||
URL: https://github.com/jaraco/tempora
|
||||
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 jaraco.functools >= 1.20}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest > 4.6}
|
||||
BuildRequires: %{python_module pytest-freezegun}
|
||||
BuildRequires: %{python_module pytz}
|
||||
BuildRequires: %{python_module setuptools >= 56}
|
||||
BuildRequires: %{python_module setuptools_scm >= 3.4.1}
|
||||
BuildRequires: %{python_module toml}
|
||||
BuildRequires: %{python_module tzdata}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros >= 20210929
|
||||
Requires: python-jaraco.functools >= 1.20
|
||||
Requires: python-pytz
|
||||
Requires: python-tzdata
|
||||
BuildArch: noarch
|
||||
|
||||
%if %{with libalternatives}
|
||||
BuildRequires: alts
|
||||
Requires: alts
|
||||
%else
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
@ -93,7 +93,7 @@ donttest="tempora.parse_timedelta"
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc CHANGES.rst README.rst docs/*rst
|
||||
%doc NEWS.rst README.rst docs/*rst
|
||||
%python_alternative %{_bindir}/calc-prorate
|
||||
%{python_sitelib}/tempora
|
||||
%{python_sitelib}/tempora-%{version}.dist-info
|
||||
|
BIN
tempora-5.2.2.tar.gz
(Stored with Git LFS)
BIN
tempora-5.2.2.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
tempora-5.6.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
tempora-5.6.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user