17
0

Accepting request 790831 from home:mcalabkova:branches:devel:languages:python

- update to version 0.7.4
  * Fixed Python 2.7 tests
  * Extended Norwegian support
  * Implement a PARSERS setting 
  * Add support for `PREFER_DATES_FROM` in relative/freshness parser 
  * Add support for `PREFER_DAY_OF_MONTH` in base-formats parser 
  * Added UTC -00:00 as a valid offset 
  * Fix support for “one” 
  * Fix tokenizer for non recognized characters 
  * Prevent installing regex 2019.02.19 
  * Added Hungarian language.
  * Added setting, `STRICT_PARSING` to ignore incomplete dates.
  * More simplifications for Russian and Ukrainian languages.

OBS-URL: https://build.opensuse.org/request/show/790831
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dateparser?expand=0&rev=6
This commit is contained in:
Tomáš Chvátal
2020-04-02 10:37:36 +00:00
committed by Git OBS Bridge
parent d7d06f7289
commit cf7e64d577
4 changed files with 23 additions and 6 deletions

View File

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

3
dateparser-0.7.4.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Thu Apr 2 09:44:00 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- update to version 0.7.4
* Fixed Python 2.7 tests
* Extended Norwegian support
* Implement a PARSERS setting
* Add support for `PREFER_DATES_FROM` in relative/freshness parser
* Add support for `PREFER_DAY_OF_MONTH` in base-formats parser
* Added UTC -00:00 as a valid offset
* Fix support for “one”
* Fix tokenizer for non recognized characters
* Prevent installing regex 2019.02.19
* Added Hungarian language.
* Added setting, `STRICT_PARSING` to ignore incomplete dates.
* More simplifications for Russian and Ukrainian languages.
-------------------------------------------------------------------
Sat Sep 21 19:14:39 UTC 2019 - Arun Persaud <arun@gmx.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-dateparser
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-dateparser
Version: 0.7.2
Version: 0.7.4
Release: 0
Summary: Date parsing library designed to parse dates from HTML pages
License: BSD-3-Clause
@@ -69,7 +69,7 @@ rm dateparser/calendars/hijri*
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
%python_expand nosetests-%{$python_bin_suffix}
%files %{python_files}
%doc AUTHORS.rst README.rst