14
0
forked from pool/python-rebulk

Accepting request 727348 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/727348
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rebulk?expand=0&rev=8
This commit is contained in:
2019-09-02 11:25:38 +00:00
committed by Git OBS Bridge
4 changed files with 22 additions and 5 deletions

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Fri Aug 30 07:40:35 UTC 2019 - Luigi Baldoni <aloisio@gmx.com>
- Update to version 2.0.0
* Add named method to Match class
* Add tagged method to Match class
* Enhance defaults feature
* Some code refactoring and bugfixes
* BREAKING CHANGE: This change how chain **kwargs and
.defaults() is transmitted to chained patterns, so upgrades
should be performed with care.
Chain **kwargs are now only used inside chain pattern itself,
and doesn't implicitly set chain .defaults() anymore. You
may have to repeat some chain **kwargs to its own .defaults()
for Rebulk to behave as before, or set them accordingly to
chained patterns.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Aug 13 07:55:28 UTC 2019 - Luigi Baldoni <aloisio@gmx.com> Tue Aug 13 07:55:28 UTC 2019 - Luigi Baldoni <aloisio@gmx.com>

View File

@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-rebulk Name: python-rebulk
Version: 1.0.1 Version: 2.0.0
Release: 0 Release: 0
Summary: Library for defining bulk search patterns to perform advanced string matching Summary: Library for defining bulk search patterns to perform advanced string matching
License: MIT License: MIT
@@ -44,7 +44,7 @@ allow building a custom and complex string matcher.
%prep %prep
%setup -q -n rebulk-%{version} %setup -q -n rebulk-%{version}
# Remove shebang from non-executable files # Remove shebang from non-executable files
for i in {'chain','debug','formatters','__init__','introspector','loose','match','pattern','processors','rebulk','remodule','rules','toposort','utils','validators','__version__'}; do for i in {'builder','chain','debug','formatters','__init__','introspector','loose','match','pattern','processors','rebulk','remodule','rules','toposort','utils','validators','__version__'}; do
sed -i -e "1d" "rebulk/$i.py" sed -i -e "1d" "rebulk/$i.py"
done done
for i in {'default_rules_module','__init__','rebulk_rules_module','rules_module','test_chain','test_debug','test_introspector','test_loose','test_match','test_pattern','test_processors','test_rebulk','test_rules','test_toposort','test_validators'}; do for i in {'default_rules_module','__init__','rebulk_rules_module','rules_module','test_chain','test_debug','test_introspector','test_loose','test_match','test_pattern','test_processors','test_rebulk','test_rules','test_toposort','test_validators'}; do

View File

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

3
rebulk-2.0.0.tar.gz Normal file
View File

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