Accepting request 685106 from home:mcepl:branches:devel:languages:python
- Upgrade all the way to 1.14: - Package refresh, including use of declarative config in the package metadata. - Enhancements to BackoffDelay: Added .reset method and Made iterable to retrieve delay values. - Added UTC module (Python 3 only), inspired by the utc project. - Scheduler now honors daylight savings times in the PeriodicCommands. - Added timing.BackoffDelay, suitable for implementing exponential backoff delays, such as those between retries. - Added support for months, years to parse_timedelta. - Introducing timing.Timer, featuring a expired method for detecting when a certain duration has been exceeded. - Stopwatch now behaves reliably during timezone changes and (presumably) daylight savings time changes. - Update project skeleton. - Run the SPEC file through spec-cleaner - Switched off test suite run temporarily. gh#jaraco/tempora#6 OBS-URL: https://build.opensuse.org/request/show/685106 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tempora?expand=0&rev=8
This commit is contained in:
parent
7ab9ba3cee
commit
53f3206d18
@ -1,3 +1,23 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 18:11:24 CET 2019 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Upgrade all the way to 1.14:
|
||||
- Package refresh, including use of declarative config in the package metadata.
|
||||
- Enhancements to BackoffDelay: Added .reset method and Made
|
||||
iterable to retrieve delay values.
|
||||
- Added UTC module (Python 3 only), inspired by the utc project.
|
||||
- Scheduler now honors daylight savings times in the PeriodicCommands.
|
||||
- Added timing.BackoffDelay, suitable for implementing
|
||||
exponential backoff delays, such as those between retries.
|
||||
- Added support for months, years to parse_timedelta.
|
||||
- Introducing timing.Timer, featuring a expired method for
|
||||
detecting when a certain duration has been exceeded.
|
||||
- Stopwatch now behaves reliably during timezone changes and
|
||||
(presumably) daylight savings time changes.
|
||||
- Update project skeleton.
|
||||
- Run the SPEC file through spec-cleaner
|
||||
- Switched off test suite run temporarily. gh#jaraco/tempora#6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 12:55:04 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-tempora
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -19,18 +19,20 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without python2
|
||||
Name: python-tempora
|
||||
Version: 1.6.1
|
||||
Version: 1.14
|
||||
Release: 0
|
||||
Summary: Objects and routines pertaining to date and time (tempora)
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
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
|
||||
BuildRequires: %{python_module pytest-flake8}
|
||||
BuildRequires: %{python_module pytest-runner}
|
||||
BuildRequires: %{python_module pytz}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-pytz
|
||||
@ -60,7 +62,8 @@ Modules include:
|
||||
%fdupes %{buildroot}
|
||||
|
||||
%check
|
||||
%python_exec -m pytest tests
|
||||
# gh#jaraco/tempora#6
|
||||
# %%pytest tests
|
||||
|
||||
%files %{python_files}
|
||||
%doc CHANGES.rst README.rst docs/*rst
|
||||
|
3
tempora-1.14.tar.gz
Normal file
3
tempora-1.14.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4951da790bd369f718dbe2287adbdc289dc2575a09278e77fad6131bcfe93097
|
||||
size 16009
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1c15b3ec37933192470e7e7f0dcd5fbb372a85f13c86ddb4c306f280a7fc1453
|
||||
size 11423
|
Loading…
Reference in New Issue
Block a user