commit python-dateparser for openSUSE:Factory

2020-08-06 Thread root
Hello community,

here is the log from the commit of package python-dateparser for 
openSUSE:Factory checked in at 2020-08-06 17:31:06

Comparing /work/SRC/openSUSE:Factory/python-dateparser (Old)
 and  /work/SRC/openSUSE:Factory/.python-dateparser.new.3399 (New)


Package is "python-dateparser"

Thu Aug  6 17:31:06 2020 rev:4 rq:823471 version:0.7.6

Changes:

--- /work/SRC/openSUSE:Factory/python-dateparser/python-dateparser.changes  
2020-04-07 10:23:38.449983871 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-dateparser.new.3399/python-dateparser.changes
2020-08-06 17:32:01.253092985 +0200
@@ -1,0 +2,13 @@
+Thu Jul 30 01:41:23 UTC 2020 - Steve Kowalik 
+
+- Update to 0.7.6:
+  * Rename ``scripts`` to ``dateparser_scripts`` to avoid name collisions
+with modules from other packages or projects
+  * Add Python 3.8 support
+  * Implement a ``REQUIRE_PARTS`` setting
+  * Add support for subscript and superscript numbers
+  * Extended French support
+  * Extended German support
+- Switch from nose to pytest.
+
+---

Old:

  dateparser-0.7.4.tar.gz

New:

  dateparser-0.7.6.tar.gz



Other differences:
--
++ python-dateparser.spec ++
--- /var/tmp/diff_new_pack.3VsCxY/_old  2020-08-06 17:32:03.221093446 +0200
+++ /var/tmp/diff_new_pack.3VsCxY/_new  2020-08-06 17:32:03.225093447 +0200
@@ -18,11 +18,10 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-dateparser
-Version:0.7.4
+Version:0.7.6
 Release:0
 Summary:Date parsing library designed to parse dates from HTML pages
 License:BSD-3-Clause
-Group:  Development/Languages/Python
 URL:https://github.com/scrapinghub/dateparser
 Source: 
https://files.pythonhosted.org/packages/source/d/dateparser/dateparser-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
@@ -37,12 +36,13 @@
 Recommends: python-ruamel.yaml
 BuildArch:  noarch
 # SECTION test requirements
+BuildRequires:  %{python_module GitPython}
 BuildRequires:  %{python_module convertdate}
 BuildRequires:  %{python_module coverage}
 BuildRequires:  %{python_module jdatetime}
 BuildRequires:  %{python_module mock}
-BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module parameterized}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module python-dateutil}
 BuildRequires:  %{python_module pytz}
 BuildRequires:  %{python_module regex}
@@ -60,6 +60,8 @@
 # not py3 compatible and weird license of the imported module
 rm tests/test_hijri.py
 rm dateparser/calendars/hijri*
+# Requires files not shipped in PyPi tarball
+rm tests/test_dateparser_data_integrity.py
 
 %build
 %python_build
@@ -69,7 +71,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_expand nosetests-%{$python_bin_suffix}
+%pytest
 
 %files %{python_files}
 %doc AUTHORS.rst README.rst
@@ -78,6 +80,8 @@
 %{python_sitelib}/dateparser/*
 %dir %{python_sitelib}/dateparser_data
 %{python_sitelib}/dateparser_data/*
+%dir %{python_sitelib}/dateparser_scripts
+%{python_sitelib}/dateparser_scripts/*
 %dir %{python_sitelib}/dateparser-%{version}-py*.egg-info
 %{python_sitelib}/dateparser-%{version}-py*.egg-info
 

++ dateparser-0.7.4.tar.gz -> dateparser-0.7.6.tar.gz ++
 5849 lines of diff (skipped)




commit python-dateparser for openSUSE:Factory

2020-04-07 Thread root
Hello community,

here is the log from the commit of package python-dateparser for 
openSUSE:Factory checked in at 2020-04-07 10:23:18

Comparing /work/SRC/openSUSE:Factory/python-dateparser (Old)
 and  /work/SRC/openSUSE:Factory/.python-dateparser.new.3248 (New)


Package is "python-dateparser"

Tue Apr  7 10:23:18 2020 rev:3 rq:790846 version:0.7.4

Changes:

--- /work/SRC/openSUSE:Factory/python-dateparser/python-dateparser.changes  
2019-09-30 15:57:09.505574384 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-dateparser.new.3248/python-dateparser.changes
2020-04-07 10:23:38.449983871 +0200
@@ -1,0 +2,17 @@
+Thu Apr  2 09:44:00 UTC 2020 - Marketa Calabkova 
+
+- 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.
+
+---

Old:

  dateparser-0.7.2.tar.gz

New:

  dateparser-0.7.4.tar.gz



Other differences:
--
++ python-dateparser.spec ++
--- /var/tmp/diff_new_pack.NPGXT8/_old  2020-04-07 10:23:39.085984579 +0200
+++ /var/tmp/diff_new_pack.NPGXT8/_new  2020-04-07 10:23:39.085984579 +0200
@@ -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 @@
 %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

++ dateparser-0.7.2.tar.gz -> dateparser-0.7.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dateparser-0.7.2/CONTRIBUTING.rst 
new/dateparser-0.7.4/CONTRIBUTING.rst
--- old/dateparser-0.7.2/CONTRIBUTING.rst   2019-09-17 12:57:56.0 
+0200
+++ new/dateparser-0.7.4/CONTRIBUTING.rst   2020-03-06 12:31:08.0 
+0100
@@ -41,6 +41,13 @@
 official DateParser docs, in docstrings, or even on the web in blog posts,
 articles, and such.
 
+After you make local changes to the documentation, build it with ``tox``::
+
+tox -e docs
+
+Then open ``.tox/docs/tmp/html/index.html`` in a web browser to see your local
+build of the documentation.
+
 Submit Feedback
 ~~~
 
@@ -109,16 +116,44 @@
 
 Guidelines for Editing Translation Data
 ---
-English is the primary language of the dateparser. Dates in all other 
languages are translated into English equivalents before they are parsed.
-The language data required for parsing dates is contained in 
*dateparser/data/date_translation_data*.
-It contains variable parts that can be used in dates, language by language: 
month and week names - and their abbreviations, prepositions, conjunctions and 
frequently used descriptive words and phrases (like "today").
-The data in *dateparser/data/date_translation_data* is formed by supplementing 
data retrieved from unicode CLDR, contained in 
*data/cldr_language_data/date_translation_data*, with supplementary data 
contributed by the community, contained in 
*data/supplementary_language_data/date_translation_data*.
-Additional data to supplement existing data or translation data for a new 
language should be added to 
*dateparser_data/supplementary_language_data/date_translation_data*.
-The chosen data format is YAML because it is readable and simple to edit.
-After adding or changing any data in YAML files we need to move them to 
internal data files with *scripts/write_complete_data.py*. Otherwise the 
changes to YAML files will not have any effect.
-
-Refer to :ref:`language-data-template` for details about its structure and 
take a look at already implemented languages for examples.
-As we deal with the delicate fabric of interwoven languages, tests are 
essential to 

commit python-dateparser for openSUSE:Factory

2019-09-30 Thread root
Hello community,

here is the log from the commit of package python-dateparser for 
openSUSE:Factory checked in at 2019-09-30 15:57:06

Comparing /work/SRC/openSUSE:Factory/python-dateparser (Old)
 and  /work/SRC/openSUSE:Factory/.python-dateparser.new.2352 (New)


Package is "python-dateparser"

Mon Sep 30 15:57:06 2019 rev:2 rq:733872 version:0.7.2

Changes:

--- /work/SRC/openSUSE:Factory/python-dateparser/python-dateparser.changes  
2019-09-23 12:16:50.097812403 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-dateparser.new.2352/python-dateparser.changes
2019-09-30 15:57:09.505574384 +0200
@@ -1,0 +2,25 @@
+Sat Sep 21 19:14:39 UTC 2019 - Arun Persaud 
+
+- specfile:
+  * be more precise in %file section
+
+- update to version 0.7.2:
+  * Features:
++ Extended Czech support
++ Added time to valid periods
++ Added timezone information to dates found with search_dates()
++ Support strings as date formats
+  * Improvements:
++ Fixed Collections ABCs depreciation warning
++ Fixed dates with trailing colons not being parsed
++ Fixed date format override on any settings change
++ Fixed parsing current weekday as past date, regardless of
+  settings
++ Added UTC -2:30 as a valid offset
++ Added Python 3.7 to supported versions, dropped support for
+  Python 3.3 and 3.4
++ Moved to importlib from imp where possible
++ Improved support for Catalan
++ Documentation improvements
+
+---

Old:

  dateparser-0.7.1.tar.gz

New:

  dateparser-0.7.2.tar.gz



Other differences:
--
++ python-dateparser.spec ++
--- /var/tmp/diff_new_pack.NqfNgC/_old  2019-09-30 15:57:10.081572851 +0200
+++ /var/tmp/diff_new_pack.NqfNgC/_new  2019-09-30 15:57:10.085572840 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-dateparser
-Version:0.7.1
+Version:0.7.2
 Release:0
 Summary:Date parsing library designed to parse dates from HTML pages
 License:BSD-3-Clause
@@ -74,6 +74,11 @@
 %files %{python_files}
 %doc AUTHORS.rst README.rst
 %license LICENSE
-%{python_sitelib}/*
+%dir %{python_sitelib}/dateparser
+%{python_sitelib}/dateparser/*
+%dir %{python_sitelib}/dateparser_data
+%{python_sitelib}/dateparser_data/*
+%dir %{python_sitelib}/dateparser-%{version}-py*.egg-info
+%{python_sitelib}/dateparser-%{version}-py*.egg-info
 
 %changelog

++ dateparser-0.7.1.tar.gz -> dateparser-0.7.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dateparser-0.7.1/AUTHORS.rst 
new/dateparser-0.7.2/AUTHORS.rst
--- old/dateparser-0.7.1/AUTHORS.rst2019-02-12 22:42:27.0 +0100
+++ new/dateparser-0.7.2/AUTHORS.rst2019-09-17 12:57:56.0 +0200
@@ -7,16 +7,19 @@
 --
 
 * Adam LeVasseur
+* Adrián Chaves
 * Ahmad Musaffa
 * Alec Koumjian
 * Alexis Svinartchouk
 * Ammar Azif
+* Anderson Berg
 * Andrés Portillo
-* Andrey Zhelnin
 * Andrey Rahmatullin
+* Andrey Zhelnin
 * Artur Sadurski
 * Artur Gaspar
 * atchoum31
+* Atul Krishna
 * Benjamin Bach
 * Bruno Alla
 * Cesar Flores
@@ -26,6 +29,8 @@
 * David Beitey
 * Dawid Wolski
 * demelziraptor
+* Derek Schmidt
+* Dongkuo Ma
 * Edwin Zhang
 * Elena Zakharova
 * Elias Dorneles
@@ -34,13 +39,18 @@
 * Fernando Tricas García
 * Georgi Valkov
 * Hristo Vrigazov
+* Hugo van Kemenade
 * ishirav
 * Ismael Carnales
 * James M. Allen
 * Ján Jančár
+* Jan Rygl
+* Jakub Kukul
 * Jolo Balbin
 * Joseph Kahn
+* Kishan Mehta
 * Konstantin Lopuhin
+* Marc Hernández
 * Mark Baas
 * Marko Horvatić
 * Mateusz Golewski
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dateparser-0.7.1/HISTORY.rst 
new/dateparser-0.7.2/HISTORY.rst
--- old/dateparser-0.7.1/HISTORY.rst2019-02-12 22:42:27.0 +0100
+++ new/dateparser-0.7.2/HISTORY.rst2019-09-17 12:57:56.0 +0200
@@ -3,6 +3,30 @@
 History
 ===
 
+0.7.2 (2019-09-17)
+--
+
+Features:
+
+* Extended Czech support
+* Added `time` to valid periods
+* Added timezone information to dates found with `search_dates()`
+* Support strings as date formats
+
+
+Improvements:
+
+* Fixed Collections ABCs depreciation warning
+* Fixed dates with trailing colons not being parsed
+* Fixed date format override on any settings change
+* Fixed parsing current weekday as past date, regardless of settings
+* Added UTC -2:30 as a valid offset
+* Added Python 3.7 to supported versions, dropped support for Python 3.3 and 
3.4
+* Moved to importlib from imp where possible
+* Improved support for Catalan
+* Documentation improvements
+
+
 0.7.1 (2019-02-12)