From ea2b33388709551e1819656b0fd88413d74b726205018cf5f8ceb999fc150132 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 26 Dec 2020 13:07:48 +0000 Subject: [PATCH] Accepting request 858746 from home:alois:branches:devel:languages:python - Update to version 3.0.1 * Fix broken package No such file or directory: 'CHANGELOG.md' - Update to version 3.0.0 * regex: Replace REGEX_DISABLED environment variable with REBULK_REGEX_ENABLED * Add python 3.8/3.9 support, drop python 2.7/3.4 support * regex module is now disabled by default, even if it's available in the python interpreter. You have to set REBULK_REGEX_ENABLED=1 in your environment to enable it, as this module may cause some issues. - 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) - 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 - Replace %fdupes -s with plain %fdupes; hardlinks are better. - 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. - Re-enable debug test - Update to version 1.0.1 * Add python 3.8-dev support and make debug tests asserts less strict - Remove superfluous devel dependency for noarch package - Update to version 1.0.0 * Add python 3.7 support - Trim name repetition in summary. Ensure neutrality of description. - Write up the tests syntax to match up rest python packages - Update to version 0.9.0 * Fix pylint issues * Refactor Matches to_dict() method for better API - Enabled tests - Converted to single-spec - Dropped python-rebulk-rpmlintrc - 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 - 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 - Initial version 0.7.1 OBS-URL: https://build.opensuse.org/request/show/858746 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rebulk?expand=0&rev=28 --- python-rebulk.changes | 16 +++++++++++++--- python-rebulk.spec | 5 ++--- rebulk-3.0.0.tar.gz | 3 --- rebulk-3.0.1.tar.gz | 3 +++ 4 files changed, 18 insertions(+), 9 deletions(-) delete mode 100644 rebulk-3.0.0.tar.gz create mode 100644 rebulk-3.0.1.tar.gz diff --git a/python-rebulk.changes b/python-rebulk.changes index a715ae2..247aafb 100644 --- a/python-rebulk.changes +++ b/python-rebulk.changes @@ -1,10 +1,20 @@ +------------------------------------------------------------------- +Sat Dec 26 10:13:50 UTC 2020 - Luigi Baldoni + +- Update to version 3.0.1 + * Fix broken package No such file or directory: 'CHANGELOG.md' + ------------------------------------------------------------------- Thu Dec 24 09:55:48 UTC 2020 - Luigi Baldoni - Update to version 3.0.0 - * feat(regex): replace REGEX_DISABLED environment variable with - REBULK_… - * feat: add python 3.8/3.9 support, drop python 2.7/3.4 support + * regex: Replace REGEX_DISABLED environment variable with + REBULK_REGEX_ENABLED + * Add python 3.8/3.9 support, drop python 2.7/3.4 support + * regex module is now disabled by default, even if it's + available in the python interpreter. You have to set + REBULK_REGEX_ENABLED=1 in your environment to enable it, + as this module may cause some issues. ------------------------------------------------------------------- Sat May 2 07:49:27 UTC 2020 - Luigi Baldoni diff --git a/python-rebulk.spec b/python-rebulk.spec index 4dd30cd..2a28317 100644 --- a/python-rebulk.spec +++ b/python-rebulk.spec @@ -18,7 +18,7 @@ %define skip_python2 1 Name: python-rebulk -Version: 3.0.0 +Version: 3.0.1 Release: 0 Summary: Library for defining bulk search patterns to perform advanced string matching License: MIT @@ -43,7 +43,6 @@ allow building a custom and complex string matcher. %prep %autosetup -n rebulk-%{version} -touch CHANGELOG.md # 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 @@ -64,7 +63,7 @@ done %pytest rebulk/test/ %files %{python_files} -%doc README.md +%doc CHANGELOG.md README.md %license LICENSE %{python_sitelib}/rebulk %{python_sitelib}/rebulk-%{version}-py%{python_version}.egg-info diff --git a/rebulk-3.0.0.tar.gz b/rebulk-3.0.0.tar.gz deleted file mode 100644 index 29b6b73..0000000 --- a/rebulk-3.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:268ac10a2cd86c172df1fd85ea249a7667ac34409b062f8cbbf32ab4075c4c01 -size 259227 diff --git a/rebulk-3.0.1.tar.gz b/rebulk-3.0.1.tar.gz new file mode 100644 index 0000000..e1f8f93 --- /dev/null +++ b/rebulk-3.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:025d191c11abf9174c6aff0006579624047d3371a654333c4bf7a4b421552cdc +size 260207