14
0
forked from pool/python-rebulk

Accepting request 799636 from home:alois:branches:devel:languages:python

- Update to version 2.0.1
  * Drop python 3.4 support
  * Fix errors when regex module is available
  * Cleanup chain matching code
- Drop fix-for-regex-2020.1.7.patch (merged upstream)

OBS-URL: https://build.opensuse.org/request/show/799636
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rebulk?expand=0&rev=24
This commit is contained in:
Tomáš Chvátal
2020-05-02 12:49:16 +00:00
committed by Git OBS Bridge
parent fc2e0043b0
commit 169ec4317c
5 changed files with 14 additions and 28 deletions

View File

@@ -18,13 +18,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-rebulk
Version: 2.0.0
Version: 2.0.1
Release: 0
Summary: Library for defining bulk search patterns to perform advanced string matching
License: MIT
URL: https://github.com/Toilal/rebulk
Source0: https://files.pythonhosted.org/packages/source/r/rebulk/rebulk-%{version}.tar.gz
Patch0: fix-for-regex-2020.1.7.patch
BuildRequires: %{python_module pytest-runner}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
@@ -43,8 +42,7 @@ It includes some features like Patterns, Match, Rule that
allow building a custom and complex string matcher.
%prep
%setup -q -n rebulk-%{version}
%patch0 -p1
%autosetup -n rebulk-%{version}
# Remove shebang from non-executable files
for i in {'builder','chain','debug','formatters','__init__','introspector','loose','match','pattern','processors','rebulk','remodule','rules','toposort','utils','validators','__version__'}; do