15
0

- update to 1.1.5:

* Parse short versions of day, month, and year
  * Add a test for “in 1d”
  * Update languages_info
  * Add a workaround for zipimporter not having exec_module before Python
    3.10
  * Stabilize tests at midnight
  * Add a test case for French
  * Improved support for languages such as Slovak, Indonesian, Hindi, German
    and Japanese
  * Recursively create a model home
  * Replace regex sub with simple string replace
  * Add Python 3.10, 3.11 support
  * Drop support for Python 3.5, 3.6 versions
- drop incompatible-regex-pattern.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dateparser?expand=0&rev=24
This commit is contained in:
2023-01-02 19:02:45 +00:00
committed by Git OBS Bridge
parent 746a8bd55c
commit adaf6dfc52
5 changed files with 24 additions and 23 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-dateparser
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,15 +19,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-dateparser
Version: 1.1.3
Version: 1.1.5
Release: 0
Summary: Date parsing library designed to parse dates from HTML pages
License: BSD-3-Clause
URL: https://github.com/scrapinghub/dateparser
Source: https://files.pythonhosted.org/packages/source/d/dateparser/dateparser-%{version}.tar.gz
# PATCH-FIX-UPSTREAM incompatible-regex-pattern.patch gh#scrapinghub/dateparser#1052 mcepl@suse.com
# use pattern compatible with the modern version of regex
Patch0: incompatible-regex-pattern.patch
# PATCH-FIX-UPSTREAM mark-network-tests.patch gh#scrapinghub/dateparser#1059 mcepl@suse.com
# mark test requiring network access
Patch1: mark-network-tests.patch