commit python-rebulk for openSUSE:Factory

2020-05-03 Thread root
Hello community,

here is the log from the commit of package python-rebulk for openSUSE:Factory 
checked in at 2020-05-03 22:46:37

Comparing /work/SRC/openSUSE:Factory/python-rebulk (Old)
 and  /work/SRC/openSUSE:Factory/.python-rebulk.new.2738 (New)


Package is "python-rebulk"

Sun May  3 22:46:37 2020 rev:11 rq:799664 version:2.0.1

Changes:

--- /work/SRC/openSUSE:Factory/python-rebulk/python-rebulk.changes  
2020-04-22 20:53:49.515490073 +0200
+++ /work/SRC/openSUSE:Factory/.python-rebulk.new.2738/python-rebulk.changes
2020-05-03 22:46:40.871087140 +0200
@@ -1,0 +2,9 @@
+Sat May  2 07:49:27 UTC 2020 - Luigi Baldoni 
+
+- 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)
+
+---

Old:

  fix-for-regex-2020.1.7.patch
  rebulk-2.0.0.tar.gz

New:

  rebulk-2.0.1.tar.gz



Other differences:
--
++ python-rebulk.spec ++
--- /var/tmp/diff_new_pack.nEwDU0/_old  2020-05-03 22:46:41.331088076 +0200
+++ /var/tmp/diff_new_pack.nEwDU0/_new  2020-05-03 22:46:41.331088076 +0200
@@ -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 @@
 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

++ rebulk-2.0.0.tar.gz -> rebulk-2.0.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rebulk-2.0.0/PKG-INFO new/rebulk-2.0.1/PKG-INFO
--- old/rebulk-2.0.0/PKG-INFO   2019-08-30 00:21:28.0 +0200
+++ new/rebulk-2.0.1/PKG-INFO   2020-05-01 23:32:59.909084600 +0200
@@ -1,12 +1,12 @@
 Metadata-Version: 2.1
 Name: rebulk
-Version: 2.0.0
+Version: 2.0.1
 Summary: Rebulk - Define simple search patterns in bulk to perform advanced 
matching on any string.
 Home-page: https://github.com/Toilal/rebulk/
 Author: Rémi Alvergnat
 Author-email: toilal@gmail.com
 License: MIT
-Download-URL: 
https://pypi.python.org/packages/source/r/rebulk/rebulk-2.0.0.tar.gz
+Download-URL: 
https://pypi.python.org/packages/source/r/rebulk/rebulk-2.0.1.tar.gz
 Description: ReBulk
 ===
 
@@ -543,6 +543,6 @@
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
-Provides-Extra: test
 Provides-Extra: native
+Provides-Extra: test
 Provides-Extra: dev
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rebulk-2.0.0/rebulk/__version__.py 
new/rebulk-2.0.1/rebulk/__version__.py
--- old/rebulk-2.0.0/rebulk/__version__.py  2019-08-30 00:21:27.0 
+0200
+++ new/rebulk-2.0.1/rebulk/__version__.py  2020-05-01 23:32:59.0 
+0200
@@ -4,4 +4,4 @@
 Version module
 """
 # pragma: no cover
-__version__ = '2.0.0'
+__version__ = '2.0.1'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rebulk-2.0.0/rebulk/chain.py 
new/rebulk-2.0.1/rebulk/chain.py
--- old/rebulk-2.0.0/rebulk/chain.py2019-08-30 00:21:27.0 +0200
+++ new/rebulk-2.0.1/rebulk/chain.py2020-05-01 23:32:59.0 +0200
@@ -119,34 +119,39 @@
 :type match:
 :param match_index:
 :type match_index:
-:param yield_:
-:type yield_:
+:param child:
+:type child:
 :return:
 :rtype:
 """
 # pylint: disable=too-many-locals
 ret = super(Chain, self)._process_match(match, match_index, 
child=child)
-original_children = Matches(match.children)
-original_end = match.end
-while not ret and match.children:
+if ret:
+return True
+
+if match.children:
 last_pattern = match.children[

commit python-rebulk for openSUSE:Factory

2020-04-22 Thread root
Hello community,

here is the log from the commit of package python-rebulk for openSUSE:Factory 
checked in at 2020-04-22 20:53:46

Comparing /work/SRC/openSUSE:Factory/python-rebulk (Old)
 and  /work/SRC/openSUSE:Factory/.python-rebulk.new.2738 (New)


Package is "python-rebulk"

Wed Apr 22 20:53:46 2020 rev:10 rq:796023 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/python-rebulk/python-rebulk.changes  
2019-10-16 09:15:44.111398002 +0200
+++ /work/SRC/openSUSE:Factory/.python-rebulk.new.2738/python-rebulk.changes
2020-04-22 20:53:49.515490073 +0200
@@ -1,0 +2,9 @@
+Tue Apr 21 09:54:25 UTC 2020 - Antonio Larrosa 
+
+- Add patch to fix an incompatible change introduced in
+  python-regex 2020.1.7, where unused arguments now raise an
+  exception:
+  * fix-for-regex-2020.1.7.patch
+- Use %pytest in %check section
+
+---

New:

  fix-for-regex-2020.1.7.patch



Other differences:
--
++ python-rebulk.spec ++
--- /var/tmp/diff_new_pack.f5AnCn/_old  2020-04-22 20:53:50.519492038 +0200
+++ /var/tmp/diff_new_pack.f5AnCn/_new  2020-04-22 20:53:50.519492038 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-rebulk
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,12 +24,14 @@
 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}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:  noarch
+Recommends: python-regex
 %python_subpackages
 
 %description
@@ -42,6 +44,8 @@
 
 %prep
 %setup -q -n rebulk-%{version}
+%patch0 -p1
+
 # 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
 sed -i -e "1d" "rebulk/$i.py"
@@ -59,9 +63,7 @@
 
 %check
 export PYTHONDONTWRITEBYTECODE=1
-%{python_expand PYTHONPATH=%{buildroot}%{$python_sitelib}
-py.test-%{$python_version} rebulk/test/
-}
+%pytest rebulk/test/
 
 %files %{python_files}
 %doc README.rst

++ fix-for-regex-2020.1.7.patch ++
From: Antonio Larrosa 
Subject: Fix for incompatible changes in python-regex 2020.1.7

See the comments on https://github.com/Toilal/rebulk/issues/20

This fixes also https://github.com/pymedusa/Medusa/issues/7743
and https://github.com/Diaoul/subliminal/issues/992
 
Index: rebulk-2.0.0/rebulk/loose.py
===
--- rebulk-2.0.0.orig/rebulk/loose.py
+++ rebulk-2.0.0/rebulk/loose.py
@@ -56,7 +56,7 @@ def call(function, *args, **kwargs):
 :rtype: object
 """
 func = constructor_args if isclass(function) else function_args
-call_args, call_kwargs = func(function, *args, **kwargs)
+call_args, call_kwargs = func(function, *args, ignore_unused=True, 
**kwargs)
 return function(*call_args, **call_kwargs)
 
 



commit python-rebulk for openSUSE:Factory

2019-10-16 Thread root
Hello community,

here is the log from the commit of package python-rebulk for openSUSE:Factory 
checked in at 2019-10-16 09:15:39

Comparing /work/SRC/openSUSE:Factory/python-rebulk (Old)
 and  /work/SRC/openSUSE:Factory/.python-rebulk.new.2352 (New)


Package is "python-rebulk"

Wed Oct 16 09:15:39 2019 rev:9 rq:738394 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/python-rebulk/python-rebulk.changes  
2019-09-02 13:25:39.385308966 +0200
+++ /work/SRC/openSUSE:Factory/.python-rebulk.new.2352/python-rebulk.changes
2019-10-16 09:15:44.111398002 +0200
@@ -1,0 +2,5 @@
+Mon Oct 14 14:40:59 UTC 2019 - Matej Cepl 
+
+- Replace %fdupes -s with plain %fdupes; hardlinks are better.
+
+---



Other differences:
--
++ python-rebulk.spec ++
--- /var/tmp/diff_new_pack.S3iZWn/_old  2019-10-16 09:15:44.959395817 +0200
+++ /var/tmp/diff_new_pack.S3iZWn/_new  2019-10-16 09:15:44.967395796 +0200
@@ -22,9 +22,8 @@
 Release:0
 Summary:Library for defining bulk search patterns to perform advanced 
string matching
 License:MIT
-Group:  Development/Languages/Python
 URL:https://github.com/Toilal/rebulk
-Source0:
https://pypi.io/packages/source/r/rebulk/rebulk-%{version}.tar.gz
+Source0:
https://files.pythonhosted.org/packages/source/r/rebulk/rebulk-%{version}.tar.gz
 BuildRequires:  %{python_module pytest-runner}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
@@ -56,7 +55,7 @@
 
 %install
 %python_install
-%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 export PYTHONDONTWRITEBYTECODE=1




commit python-rebulk for openSUSE:Factory

2019-09-02 Thread root
Hello community,

here is the log from the commit of package python-rebulk for openSUSE:Factory 
checked in at 2019-09-02 13:25:38

Comparing /work/SRC/openSUSE:Factory/python-rebulk (Old)
 and  /work/SRC/openSUSE:Factory/.python-rebulk.new.7948 (New)


Package is "python-rebulk"

Mon Sep  2 13:25:38 2019 rev:8 rq:727348 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/python-rebulk/python-rebulk.changes  
2019-08-13 20:33:46.571243960 +0200
+++ /work/SRC/openSUSE:Factory/.python-rebulk.new.7948/python-rebulk.changes
2019-09-02 13:25:39.385308966 +0200
@@ -1,0 +2,17 @@
+Fri Aug 30 07:40:35 UTC 2019 - Luigi Baldoni 
+
+- 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.
+
+---

Old:

  rebulk-1.0.1.tar.gz

New:

  rebulk-2.0.0.tar.gz



Other differences:
--
++ python-rebulk.spec ++
--- /var/tmp/diff_new_pack.ugkrFf/_old  2019-09-02 13:25:40.093308832 +0200
+++ /var/tmp/diff_new_pack.ugkrFf/_new  2019-09-02 13:25:40.093308832 +0200
@@ -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 @@
 %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

++ rebulk-1.0.1.tar.gz -> rebulk-2.0.0.tar.gz ++
 1848 lines of diff (skipped)




commit python-rebulk for openSUSE:Factory

2019-08-13 Thread root
Hello community,

here is the log from the commit of package python-rebulk for openSUSE:Factory 
checked in at 2019-08-13 20:33:45

Comparing /work/SRC/openSUSE:Factory/python-rebulk (Old)
 and  /work/SRC/openSUSE:Factory/.python-rebulk.new.9556 (New)


Package is "python-rebulk"

Tue Aug 13 20:33:45 2019 rev:7 rq:723044 version:1.0.1

Changes:

--- /work/SRC/openSUSE:Factory/python-rebulk/python-rebulk.changes  
2019-08-13 13:27:41.437316920 +0200
+++ /work/SRC/openSUSE:Factory/.python-rebulk.new.9556/python-rebulk.changes
2019-08-13 20:33:46.571243960 +0200
@@ -1,0 +2,5 @@
+Tue Aug 13 07:55:28 UTC 2019 - Luigi Baldoni 
+
+- Re-enable debug test
+
+---



Other differences:
--
++ python-rebulk.spec ++
--- /var/tmp/diff_new_pack.WNojrm/_old  2019-08-13 20:33:47.219243773 +0200
+++ /var/tmp/diff_new_pack.WNojrm/_new  2019-08-13 20:33:47.231243769 +0200
@@ -50,8 +50,6 @@
 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
 sed -i -e "1d" "rebulk/test/$i.py"
 done
-# remove debug test that will always fail in OBS
-rm rebulk/test/test_debug.py
 
 %build
 %python_build




commit python-rebulk for openSUSE:Factory

2019-08-13 Thread root
Hello community,

here is the log from the commit of package python-rebulk for openSUSE:Factory 
checked in at 2019-08-13 13:27:40

Comparing /work/SRC/openSUSE:Factory/python-rebulk (Old)
 and  /work/SRC/openSUSE:Factory/.python-rebulk.new.9556 (New)


Package is "python-rebulk"

Tue Aug 13 13:27:40 2019 rev:6 rq:722962 version:1.0.1

Changes:

--- /work/SRC/openSUSE:Factory/python-rebulk/python-rebulk.changes  
2018-12-24 11:43:04.329362743 +0100
+++ /work/SRC/openSUSE:Factory/.python-rebulk.new.9556/python-rebulk.changes
2019-08-13 13:27:41.437316920 +0200
@@ -1,0 +2,7 @@
+Mon Aug 12 21:00:04 UTC 2019 - Luigi Baldoni 
+
+- Update to version 1.0.1
+  * Add python 3.8-dev support and make debug tests asserts less
+strict 
+
+---

Old:

  rebulk-1.0.0.tar.gz

New:

  rebulk-1.0.1.tar.gz



Other differences:
--
++ python-rebulk.spec ++
--- /var/tmp/diff_new_pack.88tPBp/_old  2019-08-13 13:27:41.917316794 +0200
+++ /var/tmp/diff_new_pack.88tPBp/_new  2019-08-13 13:27:41.917316794 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-rebulk
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,12 +18,12 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-rebulk
-Version:1.0.0
+Version:1.0.1
 Release:0
 Summary:Library for defining bulk search patterns to perform advanced 
string matching
 License:MIT
 Group:  Development/Languages/Python
-Url:https://github.com/Toilal/rebulk
+URL:https://github.com/Toilal/rebulk
 Source0:
https://pypi.io/packages/source/r/rebulk/rebulk-%{version}.tar.gz
 BuildRequires:  %{python_module pytest-runner}
 BuildRequires:  %{python_module pytest}

++ rebulk-1.0.0.tar.gz -> rebulk-1.0.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rebulk-1.0.0/PKG-INFO new/rebulk-1.0.1/PKG-INFO
--- old/rebulk-1.0.0/PKG-INFO   2018-10-12 23:06:53.0 +0200
+++ new/rebulk-1.0.1/PKG-INFO   2019-08-12 22:32:11.0 +0200
@@ -1,12 +1,12 @@
 Metadata-Version: 2.1
 Name: rebulk
-Version: 1.0.0
+Version: 1.0.1
 Summary: Rebulk - Define simple search patterns in bulk to perform advanced 
matching on any string.
 Home-page: https://github.com/Toilal/rebulk/
 Author: Rémi Alvergnat
 Author-email: toilal@gmail.com
 License: MIT
-Download-URL: 
https://pypi.python.org/packages/source/r/rebulk/rebulk-1.0.0.tar.gz
+Download-URL: 
https://pypi.python.org/packages/source/r/rebulk/rebulk-1.0.1.tar.gz
 Description: ReBulk
 ===
 
@@ -533,6 +533,6 @@
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
-Provides-Extra: dev
-Provides-Extra: test
 Provides-Extra: native
+Provides-Extra: test
+Provides-Extra: dev
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rebulk-1.0.0/pylintrc new/rebulk-1.0.1/pylintrc
--- old/rebulk-1.0.0/pylintrc   2018-10-12 23:06:52.0 +0200
+++ new/rebulk-1.0.1/pylintrc   2019-08-12 22:32:10.0 +0200
@@ -69,7 +69,7 @@
 
unicode-builtin,old-division,xrange-builtin,old-octal-literal,coerce-method,
 
too-few-public-methods,too-many-arguments,too-many-instance-attributes,bad-builtin,too-many-ancestors,
 
too-few-format-args,fixme,duplicate-code,deprecated-lambda,cyclic-import,useless-object-inheritance,
-inconsistent-return-statements,
+inconsistent-return-statements,unnecessary-pass,
 I
 
 [REPORTS]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rebulk-1.0.0/rebulk/__version__.py 
new/rebulk-1.0.1/rebulk/__version__.py
--- old/rebulk-1.0.0/rebulk/__version__.py  2018-10-12 23:06:52.0 
+0200
+++ new/rebulk-1.0.1/rebulk/__version__.py  2019-08-12 22:32:10.0 
+0200
@@ -4,4 +4,4 @@
 Version module
 """
 # pragma: no cover
-__version__ = '1.0.0'
+__version__ = '1.0.1'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rebulk-1.0.0/rebulk/introspector.py 
new/rebulk-1.0.1/rebulk/introspector.py
--- old/rebulk-1.0.0/rebulk/introspector.py 2018-10-12 23:06:52.0 
+0200
+++ new/rebulk-1.0.1/rebulk/introspector.py 2019-08-12 22:32:10.0 
+0200
@@ -3,7 +3,7 @@
 """
 Introspect rebulk object t

commit python-rebulk for openSUSE:Factory

2018-12-24 Thread root
Hello community,

here is the log from the commit of package python-rebulk for openSUSE:Factory 
checked in at 2018-12-24 11:43:03

Comparing /work/SRC/openSUSE:Factory/python-rebulk (Old)
 and  /work/SRC/openSUSE:Factory/.python-rebulk.new.28833 (New)


Package is "python-rebulk"

Mon Dec 24 11:43:03 2018 rev:5 rq:659636 version:1.0.0

Changes:

--- /work/SRC/openSUSE:Factory/python-rebulk/python-rebulk.changes  
2018-10-15 09:44:06.363326949 +0200
+++ /work/SRC/openSUSE:Factory/.python-rebulk.new.28833/python-rebulk.changes   
2018-12-24 11:43:04.329362743 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:53:35 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-rebulk.spec ++
--- /var/tmp/diff_new_pack.1yYSlJ/_old  2018-12-24 11:43:04.737362382 +0100
+++ /var/tmp/diff_new_pack.1yYSlJ/_new  2018-12-24 11:43:04.741362378 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -25,7 +25,6 @@
 Group:  Development/Languages/Python
 Url:https://github.com/Toilal/rebulk
 Source0:
https://pypi.io/packages/source/r/rebulk/rebulk-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module pytest-runner}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}




commit python-rebulk for openSUSE:Factory

2018-10-15 Thread root
Hello community,

here is the log from the commit of package python-rebulk for openSUSE:Factory 
checked in at 2018-10-15 09:43:44

Comparing /work/SRC/openSUSE:Factory/python-rebulk (Old)
 and  /work/SRC/openSUSE:Factory/.python-rebulk.new (New)


Package is "python-rebulk"

Mon Oct 15 09:43:44 2018 rev:4 rq:641808 version:1.0.0

Changes:

--- /work/SRC/openSUSE:Factory/python-rebulk/python-rebulk.changes  
2018-09-13 12:10:47.938342368 +0200
+++ /work/SRC/openSUSE:Factory/.python-rebulk.new/python-rebulk.changes 
2018-10-15 09:44:06.363326949 +0200
@@ -1,0 +2,6 @@
+Sat Oct 13 05:58:00 UTC 2018 - aloi...@gmx.com
+
+- Update to version 1.0.0
+  * Add python 3.7 support
+
+---

Old:

  rebulk-0.9.0.tar.gz

New:

  rebulk-1.0.0.tar.gz



Other differences:
--
++ python-rebulk.spec ++
--- /var/tmp/diff_new_pack.39Mzwn/_old  2018-10-15 09:44:10.307322526 +0200
+++ /var/tmp/diff_new_pack.39Mzwn/_new  2018-10-15 09:44:10.311322522 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-rebulk
-Version:0.9.0
+Version:1.0.0
 Release:0
 Summary:Library for defining bulk search patterns to perform advanced 
string matching
 License:MIT

++ rebulk-0.9.0.tar.gz -> rebulk-1.0.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rebulk-0.9.0/PKG-INFO new/rebulk-1.0.0/PKG-INFO
--- old/rebulk-0.9.0/PKG-INFO   2017-05-31 15:41:53.0 +0200
+++ new/rebulk-1.0.0/PKG-INFO   2018-10-12 23:06:53.0 +0200
@@ -1,12 +1,12 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
 Name: rebulk
-Version: 0.9.0
+Version: 1.0.0
 Summary: Rebulk - Define simple search patterns in bulk to perform advanced 
matching on any string.
 Home-page: https://github.com/Toilal/rebulk/
 Author: Rémi Alvergnat
 Author-email: toilal@gmail.com
 License: MIT
-Download-URL: 
https://pypi.python.org/packages/source/r/rebulk/rebulk-0.9.0.tar.gz
+Download-URL: 
https://pypi.python.org/packages/source/r/rebulk/rebulk-1.0.0.tar.gz
 Description: ReBulk
 ===
 
@@ -105,7 +105,7 @@
 
 .. code-block:: python
 
->>> Rebulk().regex(r'Wint\wr', 'com\w{3}').matches("Winter is 
coming...")
+>>> Rebulk().regex(r'Wint\wr', r'com\w{3}').matches("Winter is 
coming...")
 [, ]
 
 All keyword arguments from `re.compile`_ are supported.
@@ -145,7 +145,7 @@
   Defined as a list of 2-tuple, each tuple is an abbreviation. It 
simply replace ``tuple[0]`` with ``tuple[1]`` in the
   expression.
 
-  >>> Rebulk().regex(r'Custom-separators', abbreviations=[("-", 
"[\W_]+")])\
+  >>> Rebulk().regex(r'Custom-separators', abbreviations=[("-", 
r"[\W_]+")])\
   ... .matches("Custom_separators using-abbreviations")
   []
 
@@ -526,10 +526,13 @@
 Classifier: Operating System :: OS Independent
 Classifier: Intended Audience :: Developers
 Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.6
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
+Provides-Extra: dev
+Provides-Extra: test
+Provides-Extra: native
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rebulk-0.9.0/README.rst new/rebulk-1.0.0/README.rst
--- old/rebulk-0.9.0/README.rst 2017-05-31 15:41:51.0 +0200
+++ new/rebulk-1.0.0/README.rst 2018-10-12 23:06:52.0 +0200
@@ -96,7 +96,7 @@
 
 .. code-block:: python
 
->>> Rebulk().regex(r'Wint\wr', 'com\w{3}').matches("Winter is coming...")
+>>> Rebulk().regex(r'Wint\wr', r'com\w{3}').matches("Winter is coming...")
 [, ]
 
 All keyword arguments from `re.compile`_ are supported.
@@ -136,7 +136,7 @@
   Defined as a list of 2-tuple, each tuple is an abbreviation. It simply 
replace ``tuple[0]`` with ``tuple[1]`` in the
   expression.
 
-  >>> Rebulk().regex(r'Custom-separators', abbreviations=[("-", "[\W_]+")])\
+  >>> Rebulk().regex(r'Custom-separators', abbreviations=[("-", r"[\W_]+")])\
   ... .matches("Custom_separators using-abbreviations")
   []
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnign

commit python-rebulk for openSUSE:Factory

2018-09-13 Thread root
Hello community,

here is the log from the commit of package python-rebulk for openSUSE:Factory 
checked in at 2018-09-13 12:10:47

Comparing /work/SRC/openSUSE:Factory/python-rebulk (Old)
 and  /work/SRC/openSUSE:Factory/.python-rebulk.new (New)


Package is "python-rebulk"

Thu Sep 13 12:10:47 2018 rev:3 rq:634223 version:0.9.0

Changes:

--- /work/SRC/openSUSE:Factory/python-rebulk/python-rebulk.changes  
2018-09-04 22:56:15.993020676 +0200
+++ /work/SRC/openSUSE:Factory/.python-rebulk.new/python-rebulk.changes 
2018-09-13 12:10:47.938342368 +0200
@@ -1,0 +2,6 @@
+Fri Sep  7 08:32:08 UTC 2018 - Jan Engelhardt 
+
+- Trim name repetition in summary. Ensure neutrality of
+  description.
+
+---



Other differences:
--
++ python-rebulk.spec ++
--- /var/tmp/diff_new_pack.10Z4ZD/_old  2018-09-13 12:10:48.298341963 +0200
+++ /var/tmp/diff_new_pack.10Z4ZD/_new  2018-09-13 12:10:48.302341959 +0200
@@ -20,7 +20,7 @@
 Name:   python-rebulk
 Version:0.9.0
 Release:0
-Summary:Rebulk - Define bulk search patterns to perform advanced 
string matching
+Summary:Library for defining bulk search patterns to perform advanced 
string matching
 License:MIT
 Group:  Development/Languages/Python
 Url:https://github.com/Toilal/rebulk
@@ -35,14 +35,12 @@
 %python_subpackages
 
 %description
-ReBulk is a python library that performs advanced searches in
-strings that would be hard to implement using re module or
+ReBulk is a Python library that performs advanced searches in
+strings that would be hard to implement using the re module or
 String methods only.
 
 It includes some features like Patterns, Match, Rule that
-allow developers to build a custom and complex string
-matcher using a readable and extendable API.
-
+allow building a custom and complex string matcher.
 
 %prep
 %setup -q -n rebulk-%{version}




commit python-rebulk for openSUSE:Factory

2018-09-04 Thread root
Hello community,

here is the log from the commit of package python-rebulk for openSUSE:Factory 
checked in at 2018-09-04 22:56:14

Comparing /work/SRC/openSUSE:Factory/python-rebulk (Old)
 and  /work/SRC/openSUSE:Factory/.python-rebulk.new (New)


Package is "python-rebulk"

Tue Sep  4 22:56:14 2018 rev:2 rq:632806 version:0.9.0

Changes:

--- /work/SRC/openSUSE:Factory/python-rebulk/python-rebulk.changes  
2017-04-29 10:52:27.261296943 +0200
+++ /work/SRC/openSUSE:Factory/.python-rebulk.new/python-rebulk.changes 
2018-09-04 22:56:15.993020676 +0200
@@ -1,0 +2,14 @@
+Mon Sep  3 08:57:02 UTC 2018 - Tomáš Chvátal 
+
+- Write up the tests syntax to match up rest python packages
+
+---
+Sat Sep  1 11:11:27 UTC 2018 - aloi...@gmx.com
+
+- Update to version 0.9.0
+  * Fix pylint issues
+  * Refactor Matches to_dict() method for better API 
+
+- Enabled tests
+
+---

Old:

  rebulk-0.8.2.tar.gz

New:

  rebulk-0.9.0.tar.gz



Other differences:
--
++ python-rebulk.spec ++
--- /var/tmp/diff_new_pack.1wqe01/_old  2018-09-04 22:56:16.597022739 +0200
+++ /var/tmp/diff_new_pack.1wqe01/_new  2018-09-04 22:56:16.601022753 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-rebulk
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,23 +15,22 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-rebulk
-Version:0.8.2
+Version:0.9.0
 Release:0
 Summary:Rebulk - Define bulk search patterns to perform advanced 
string matching
 License:MIT
 Group:  Development/Languages/Python
 Url:https://github.com/Toilal/rebulk
 Source0:
https://pypi.io/packages/source/r/rebulk/rebulk-%{version}.tar.gz
-BuildRequires:  fdupes
 BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module docutils}
-BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module pytest-runner}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
 %python_subpackages
 
@@ -54,6 +53,8 @@
 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
 sed -i -e "1d" "rebulk/test/$i.py"
 done
+# remove debug test that will always fail in OBS
+rm rebulk/test/test_debug.py
 
 %build
 %python_build
@@ -62,15 +63,15 @@
 %python_install
 %python_expand %fdupes -s %{buildroot}%{$python_sitelib}
 
-# unable to fix this
-#%%check
-#pushd build
-#%%python_exec %%{_bindir}/py.test
-#popd
+%check
+export PYTHONDONTWRITEBYTECODE=1
+%{python_expand PYTHONPATH=%{buildroot}%{$python_sitelib}
+py.test-%{$python_version} rebulk/test/
+}
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc LICENSE README.rst
+%doc README.rst
+%license LICENSE
 %{python_sitelib}/rebulk
 %{python_sitelib}/rebulk-%{version}-py%{python_version}.egg-info
 

++ rebulk-0.8.2.tar.gz -> rebulk-0.9.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rebulk-0.8.2/PKG-INFO new/rebulk-0.9.0/PKG-INFO
--- old/rebulk-0.8.2/PKG-INFO   2016-11-27 15:43:34.0 +0100
+++ new/rebulk-0.9.0/PKG-INFO   2017-05-31 15:41:53.0 +0200
@@ -1,12 +1,12 @@
 Metadata-Version: 1.1
 Name: rebulk
-Version: 0.8.2
+Version: 0.9.0
 Summary: Rebulk - Define simple search patterns in bulk to perform advanced 
matching on any string.
 Home-page: https://github.com/Toilal/rebulk/
 Author: Rémi Alvergnat
 Author-email: toilal@gmail.com
 License: MIT
-Download-URL: 
https://pypi.python.org/packages/source/r/rebulk/rebulk-0.8.2.tar.gz
+Download-URL: 
https://pypi.python.org/packages/source/r/rebulk/rebulk-0.9.0.tar.gz
 Description: ReBulk
 ===
 
@@ -183,7 +183,7 @@
 ... .regex(r'v(?P\d+)').repeater('?')\
 ... .regex(r'[ex-](?P\d{1,4})').repeater('*')\
 ... .close() # .repeater(1) could be omitted as it's 
the default behavior
->>> r.matches("This is E14v2-15-16-17").to_dict(implicit=T

commit python-rebulk for openSUSE:Factory

2017-04-29 Thread root
Hello community,

here is the log from the commit of package python-rebulk for openSUSE:Factory 
checked in at 2017-04-29 10:52:24

Comparing /work/SRC/openSUSE:Factory/python-rebulk (Old)
 and  /work/SRC/openSUSE:Factory/.python-rebulk.new (New)


Package is "python-rebulk"

Sat Apr 29 10:52:24 2017 rev:1 rq:485767 version:0.8.2

Changes:

New Changes file:

--- /dev/null   2017-03-01 00:40:19.279048016 +0100
+++ /work/SRC/openSUSE:Factory/.python-rebulk.new/python-rebulk.changes 
2017-04-29 10:52:27.261296943 +0200
@@ -0,0 +1,42 @@
+---
+Tue Mar 28 20:53:53 UTC 2017 - aloi...@gmx.com
+
+- Converted to single-spec
+- Dropped python-rebulk-rpmlintrc
+
+---
+Thu Dec 15 15:14:53 UTC 2016 - aloi...@gmx.com
+
+- Update to version 0.8.2
+  * Remove fake usage of kwargs, in favor of pylint local ignore
+  * Merge pull request #8 from ratoaq2/feature/performance-improvements
+  * Handle unused kwargs
+  * Performance improvements
+
+  changes since version 0.8.1:
+  * Avoid dict comprehension (unsupported in Python 2.6)
+  * Fix unit tests
+
+  changes since version 0.8.0:
+  * Add chain_breaker option to implement dynamic breaking of chain patterns
+  * Add pattern post processor
+
+  changes since version 0.7.7:
+  * Remove twine workaround for zest releaser
+  * Fix chain patterns not properly detected in certain scenarios
+
+---
+Fri Sep  9 08:05:43 UTC 2016 - aloi...@gmx.com
+
+- update to version 0.7.3:
+  * Fix pylint issue
+  * Add initiator value in matches logs
+  * Use string representation for Regexp Pattern
+  * Fix missing parent on matches generated by chain()
+  * Add more logs for conflict solving
+
+---
+Mon Apr 25 13:41:36 UTC 2016 - aloi...@gmx.com
+
+- Initial version 0.7.1 
+

New:

  python-rebulk.changes
  python-rebulk.spec
  rebulk-0.8.2.tar.gz



Other differences:
--
++ python-rebulk.spec ++
#
# spec file for package python-rebulk
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name:   python-rebulk
Version:0.8.2
Release:0
Summary:Rebulk - Define bulk search patterns to perform advanced string 
matching
License:MIT
Group:  Development/Languages/Python
Url:https://github.com/Toilal/rebulk
Source0:
https://pypi.io/packages/source/r/rebulk/rebulk-%{version}.tar.gz
BuildRequires:  fdupes
BuildRequires:  %{python_module devel}
BuildRequires:  %{python_module docutils}
BuildRequires:  %{python_module pytest}
BuildRequires:  %{python_module pytest-runner}
BuildRequires:  %{python_module setuptools}
BuildRequires:  python-rpm-macros
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildArch:  noarch
%python_subpackages

%description
ReBulk is a python library that performs advanced searches in
strings that would be hard to implement using re module or
String methods only.

It includes some features like Patterns, Match, Rule that
allow developers to build a custom and complex string
matcher using a readable and extendable API.


%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
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
sed -i -e "1d" "rebulk/test/$i.py"
done

%build
%python_build

%install
%python_install
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}

# unable to fix this
#%%check
#pushd build
#%%python_exec %%{_bindir}/py.test
#popd

%files %{python_files}
%