From 01f01d235fc2eb4843b0d391b5f2642abaabee27c6ded63690d8132a3b634f49 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 12 May 2020 08:50:38 +0000 Subject: [PATCH 1/2] - update to 0.15.6: - [NEW] Added ``humanize`` week granularity translation for German, Italian, Polish & Taiwanese locales. - [FIX] Consolidated and simplified German locales. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-arrow?expand=0&rev=34 --- arrow-0.15.5.tar.gz | 3 --- arrow-0.15.6.tar.gz | 3 +++ python-arrow.changes | 7 +++++++ python-arrow.spec | 4 ++-- 4 files changed, 12 insertions(+), 5 deletions(-) delete mode 100644 arrow-0.15.5.tar.gz create mode 100644 arrow-0.15.6.tar.gz diff --git a/arrow-0.15.5.tar.gz b/arrow-0.15.5.tar.gz deleted file mode 100644 index 63ef729..0000000 --- a/arrow-0.15.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5390e464e2c5f76971b60ffa7ee29c598c7501a294bc9f5e6dadcb251a5d027b -size 82264 diff --git a/arrow-0.15.6.tar.gz b/arrow-0.15.6.tar.gz new file mode 100644 index 0000000..0ce784a --- /dev/null +++ b/arrow-0.15.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eb5d339f00072cc297d7de252a2e75f272085d1231a3723f1026d1fa91367118 +size 83160 diff --git a/python-arrow.changes b/python-arrow.changes index 10708a7..c2263af 100644 --- a/python-arrow.changes +++ b/python-arrow.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue May 12 08:49:50 UTC 2020 - Dirk Mueller + +- update to 0.15.6: + - [NEW] Added ``humanize`` week granularity translation for German, Italian, Polish & Taiwanese locales. + - [FIX] Consolidated and simplified German locales. + ------------------------------------------------------------------- Sun Jan 5 02:48:30 UTC 2020 - Arun Persaud diff --git a/python-arrow.spec b/python-arrow.spec index 177fd46..44ca8f7 100644 --- a/python-arrow.spec +++ b/python-arrow.spec @@ -1,5 +1,5 @@ # -# spec file for package python-arrow +# spec file for package python # # Copyright (c) 2020 SUSE LLC # @@ -26,7 +26,7 @@ %endif %bcond_without python2 Name: python-arrow%{?psuffix} -Version: 0.15.5 +Version: 0.15.6 Release: 0 Summary: Better dates and times for Python License: Apache-2.0 From ae436f3f2b21f0d3a376f2d8224412bb18d5e75c970873205f97ea486e89506a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 16 May 2020 09:19:21 +0000 Subject: [PATCH 2/2] Accepting request 805926 from home:bnavigator:branches:devel:languages:python - new version needs pytest instead of nose OBS-URL: https://build.opensuse.org/request/show/805926 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-arrow?expand=0&rev=35 --- python-arrow.changes | 5 +++++ python-arrow.spec | 12 +++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/python-arrow.changes b/python-arrow.changes index c2263af..5ecc2eb 100644 --- a/python-arrow.changes +++ b/python-arrow.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 15 21:33:05 UTC 2020 - Benjamin Greiner + +- new version needs pytest instead of nose + ------------------------------------------------------------------- Tue May 12 08:49:50 UTC 2020 - Dirk Mueller diff --git a/python-arrow.spec b/python-arrow.spec index 44ca8f7..9e0c822 100644 --- a/python-arrow.spec +++ b/python-arrow.spec @@ -41,8 +41,10 @@ BuildArch: noarch BuildRequires: %{python_module arrow == %{version}} BuildRequires: %{python_module chai} BuildRequires: %{python_module dateparser} +BuildRequires: %{python_module dateutil} BuildRequires: %{python_module mock} -BuildRequires: %{python_module nose} +BuildRequires: %{python_module pytest-mock} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytz} BuildRequires: %{python_module simplejson} %endif @@ -80,16 +82,16 @@ rm -rf arrow.egg-info %check %if %{with test} -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} nosetests-%{$python_bin_suffix} -v +# remove pytest -cov* args. (Next release will move this to tox.ini) +rm setup.cfg +%pytest %endif %if %{without test} %files %{python_files} %license LICENSE %doc README.rst -%dir %{python_sitelib}/arrow -%{python_sitelib}/arrow/* -%dir %{python_sitelib}/arrow-%{version}-py*.egg-info +%{python_sitelib}/arrow %{python_sitelib}/arrow-%{version}-py*.egg-info %endif