forked from pool/python-rebulk
Accepting request 727157 from home:alois:branches:devel:languages:python
Update to version 2.0.0 OBS-URL: https://build.opensuse.org/request/show/727157 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rebulk?expand=0&rev=18
This commit is contained in:
committed by
Git OBS Bridge
parent
b6ba3cc6eb
commit
fd24e4c432
@@ -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>
|
||||
|
||||
|
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-rebulk
|
||||
Version: 1.0.1
|
||||
Version: 2.0.0
|
||||
Release: 0
|
||||
Summary: Library for defining bulk search patterns to perform advanced string matching
|
||||
License: MIT
|
||||
@@ -44,7 +44,7 @@ allow building a custom and complex string matcher.
|
||||
%prep
|
||||
%setup -q -n rebulk-%{version}
|
||||
# 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"
|
||||
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
|
||||
|
@@ -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
3
rebulk-2.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1b0d526859ef3e8647f37c606d7ae7c32259e370b3f1519e4219a3ba72740aec
|
||||
size 257112
|
Reference in New Issue
Block a user