diff --git a/python-tempora.changes b/python-tempora.changes index e1c6cf5..556d4ca 100644 --- a/python-tempora.changes +++ b/python-tempora.changes @@ -1,3 +1,40 @@ +------------------------------------------------------------------- +Tue Jul 2 15:18:11 UTC 2024 - Dirk Müller + +- 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 + +- update to 5.5.1: + * Remove test dependency on backports.unittest_mock. + +------------------------------------------------------------------- +Wed Jul 19 09:02:01 UTC 2023 - ecsos + +- %{?sle15_python_module_pythons} must be at beginning to work. + +------------------------------------------------------------------- +Wed Jul 12 22:50:07 UTC 2023 - Arun Persaud + +- 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 diff --git a/python-tempora.spec b/python-tempora.spec index 43d6c58..c1520af 100644 --- a/python-tempora.spec +++ b/python-tempora.spec @@ -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 diff --git a/tempora-5.2.2.tar.gz b/tempora-5.2.2.tar.gz deleted file mode 100644 index 1f5da55..0000000 --- a/tempora-5.2.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:98ee27bc528c91a236f9a5d612ede4ef391b01f7862bf11b483ce549053651c1 -size 20957 diff --git a/tempora-5.6.0.tar.gz b/tempora-5.6.0.tar.gz new file mode 100644 index 0000000..9ad21be --- /dev/null +++ b/tempora-5.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3bfcc12cbdbbbafecaaccb9097fc3754435b9d063dce43338e4fa87d39104aed +size 21659