diff --git a/dateparser-0.7.4.tar.gz b/dateparser-0.7.4.tar.gz deleted file mode 100644 index 77d9c86..0000000 --- a/dateparser-0.7.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fb5bfde4795fa4b179fe05c2c25b3981f785de26bec37e247dee1079c63d5689 -size 312033 diff --git a/dateparser-0.7.6.tar.gz b/dateparser-0.7.6.tar.gz new file mode 100644 index 0000000..09bd3e2 --- /dev/null +++ b/dateparser-0.7.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e875efd8c57c85c2d02b238239878db59ff1971f5a823457fcc69e493bf6ebfa +size 320578 diff --git a/python-dateparser.changes b/python-dateparser.changes index b0d4271..063d2b7 100644 --- a/python-dateparser.changes +++ b/python-dateparser.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +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. + ------------------------------------------------------------------- Thu Apr 2 09:44:00 UTC 2020 - Marketa Calabkova diff --git a/python-dateparser.spec b/python-dateparser.spec index 14b0069..569ad82 100644 --- a/python-dateparser.spec +++ b/python-dateparser.spec @@ -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-jdatetime 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 @@ Date parsing library designed to parse dates from HTML pages # 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 @@ rm dateparser/calendars/hijri* %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 @@ rm dateparser/calendars/hijri* %{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