Accepting request 686862 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/686862
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tempora?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2019-03-29 19:36:10 +00:00 committed by Git OBS Bridge
commit 0d699ef94a
4 changed files with 46 additions and 11 deletions

View File

@ -1,3 +1,37 @@
-------------------------------------------------------------------
Wed Mar 20 01:58:47 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Add missing %license
- Re-activate test suite
- Remove bcond python2
- Add missing build dependency jaraco.functools >= 1.20
- Remove inappropriate build dependency pytest-flake8
-------------------------------------------------------------------
Mon Mar 18 09:31:58 UTC 2019 - Dirk Mueller <dmueller@suse.com>
- fix last version update missing new runtime requires
-------------------------------------------------------------------
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> Tue Dec 4 12:55:04 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-tempora # 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 # 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
@ -17,28 +17,28 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-tempora Name: python-tempora
Version: 1.6.1 Version: 1.14
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
Group: Development/Languages/Python 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 Source: https://files.pythonhosted.org/packages/source/t/tempora/tempora-%{version}.tar.gz
BuildRequires: %{python_module jaraco.functools >= 1.20}
BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module pytest-runner}
BuildRequires: %{python_module pytz} BuildRequires: %{python_module pytz}
BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six} BuildRequires: %{python_module six}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: python2-backports.unittest_mock
Requires: python-jaraco.functools >= 1.20
Requires: python-pytz Requires: python-pytz
Requires: python-six Requires: python-six
BuildArch: noarch BuildArch: noarch
%if %{with python2}
BuildRequires: python2-backports.unittest_mock
%endif
%python_subpackages %python_subpackages
%description %description
@ -60,9 +60,10 @@ Modules include:
%fdupes %{buildroot} %fdupes %{buildroot}
%check %check
%python_exec -m pytest tests %python_exec setup.py test
%files %{python_files} %files %{python_files}
%license LICENSE
%doc CHANGES.rst README.rst docs/*rst %doc CHANGES.rst README.rst docs/*rst
%python3_only %{_bindir}/calc-prorate %python3_only %{_bindir}/calc-prorate
%{python_sitelib}/* %{python_sitelib}/*

3
tempora-1.14.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4951da790bd369f718dbe2287adbdc289dc2575a09278e77fad6131bcfe93097
size 16009

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1c15b3ec37933192470e7e7f0dcd5fbb372a85f13c86ddb4c306f280a7fc1453
size 11423