diff --git a/arrow-0.15.4.tar.gz b/arrow-0.15.4.tar.gz deleted file mode 100644 index ef41216..0000000 --- a/arrow-0.15.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e1a318a4c0b787833ae46302c02488b6eeef413c6a13324b3261ad320f21ec1e -size 77979 diff --git a/arrow-0.15.5.tar.gz b/arrow-0.15.5.tar.gz new file mode 100644 index 0000000..63ef729 --- /dev/null +++ b/arrow-0.15.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5390e464e2c5f76971b60ffa7ee29c598c7501a294bc9f5e6dadcb251a5d027b +size 82264 diff --git a/python-arrow.changes b/python-arrow.changes index f3feeb5..10708a7 100644 --- a/python-arrow.changes +++ b/python-arrow.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Sun Jan 5 02:48:30 UTC 2020 - Arun Persaud + +- specfile: + * update copyright year + +- update to version 0.15.5: + * [WARN] Python 2 reached EOL on 2020-01-01. arrow will drop support + for Python 2 in a future release to be decided (see #739). + * [NEW] Added bounds parameter to span_range, interval and span + methods. This allows you to include or exclude the start and end + values. + * [NEW] arrow.get() can now create arrow objects from a timestamp + with a timezone, for example: + >>> arrow.get(1367900664, tzinfo=tz.gettz('US/Pacific')) + + * [NEW] humanize can now combine multiple levels of granularity, for + example: + >>> later140 = arrow.utcnow().shift(seconds=+8400) + >>> later140.humanize(granularity="minute") + 'in 139 minutes' + >>> later140.humanize(granularity=["hour", "minute"]) + 'in 2 hours and 19 minutes' + * [NEW] Added Hong Kong locale (zh_hk). + * [NEW] Added humanize week granularity translation for Dutch. + * [NEW] Numbers are now displayed when using the seconds granularity + in humanize. + * [CHANGE] range now supports both the singular and plural forms of + the frames argument (e.g. day and days). + * [FIX] Improved parsing of strings that contain punctuation. + * [FIX] Improved behaviour of humanize when singular seconds are + involved. + ------------------------------------------------------------------- Sat Dec 14 23:42:58 UTC 2019 - Stefan BrĂ¼ns diff --git a/python-arrow.spec b/python-arrow.spec index eec3bc5..f0f8799 100644 --- a/python-arrow.spec +++ b/python-arrow.spec @@ -1,7 +1,7 @@ # -# spec file for package python-arrow +# spec file for package python # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,24 +17,26 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without python2 %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" -%bcond_without test %define psuffix -test +%bcond_without test %else %bcond_with test %endif +%bcond_without python2 Name: python-arrow%{?psuffix} -Version: 0.15.4 +Version: 0.15.5 Release: 0 Summary: Better dates and times for Python License: Apache-2.0 URL: https://github.com/crsmithdev/arrow Source: https://files.pythonhosted.org/packages/source/a/arrow/arrow-%{version}.tar.gz +BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: %{python_module setuptools} +Requires: python-python-dateutil +BuildArch: noarch %if %{with test} BuildRequires: %{python_module arrow == %{version}} BuildRequires: %{python_module chai} @@ -44,8 +46,6 @@ BuildRequires: %{python_module nose} BuildRequires: %{python_module pytz} BuildRequires: %{python_module simplejson} %endif -Requires: python-python-dateutil -BuildArch: noarch %if %{with python2} BuildRequires: python-backports.functools_lru_cache >= 1.2.1 %endif