Accepting request 822660 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/822660 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tempora?expand=0&rev=8
This commit is contained in:
commit
5c6afff4de
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 24 12:28:31 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- update to 4.0.0
|
||||
* Removed ``strptime`` function in favor of
|
||||
`datetime.datetime.strptime`. If passing
|
||||
a ``tzinfo`` parameter, instead invoke `.replace(tzinfo=...)`
|
||||
on the result.
|
||||
* Deprecated ``divide_timedelta`` and ``divide_timedelta_float``
|
||||
now that Python supports this functionality natively.
|
||||
* Deprecated ``Parser`` class. The
|
||||
'dateutil.parser' provides more sophistication.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 14 09:12:12 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-tempora
|
||||
Version: 3.0.0
|
||||
Version: 4.0.0
|
||||
Release: 0
|
||||
Summary: Objects and routines pertaining to date and time (tempora)
|
||||
License: MIT
|
||||
@ -30,15 +30,13 @@ BuildRequires: %{python_module jaraco.functools >= 1.20}
|
||||
BuildRequires: %{python_module pytest-freezegun}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module pytz}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools_scm >= 3.4.1}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: %{python_module toml}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-jaraco.functools >= 1.20
|
||||
Requires: python-pytz
|
||||
Requires: python-setuptools
|
||||
Requires: python-six
|
||||
BuildArch: noarch
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
@ -54,6 +52,7 @@ Modules include:
|
||||
|
||||
%prep
|
||||
%setup -q -n tempora-%{version}
|
||||
sed -i '/--mypy/d' pytest.ini
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e370d822cf48f5356aab0734ea45807250f5120e291c76712a1d766b49ae34f8
|
||||
size 21500
|
3
tempora-4.0.0.tar.gz
Normal file
3
tempora-4.0.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:599a3a910b377f2b544c7b221582ecf4cb049b017c994b37f2b1a9ed1099716e
|
||||
size 47217
|
Loading…
x
Reference in New Issue
Block a user