Hello community, here is the log from the commit of package python-regex for openSUSE:Factory checked in at 2017-09-05 15:16:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-regex (Old) and /work/SRC/openSUSE:Factory/.python-regex.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-regex" Tue Sep 5 15:16:21 2017 rev:2 rq:520560 version:2017.07.28 Changes: -------- --- /work/SRC/openSUSE:Factory/python-regex/python-regex.changes 2017-07-04 09:09:23.399082823 +0200 +++ /work/SRC/openSUSE:Factory/.python-regex.new/python-regex.changes 2017-09-05 15:16:23.699329127 +0200 @@ -1,0 +2,17 @@ +Sat Sep 2 09:22:13 UTC 2017 - [email protected] + +- Specify in description what makes regex worthwhile to have. + Fix RPM group. + +------------------------------------------------------------------- +Thu Aug 31 06:19:11 UTC 2017 - [email protected] + +- Update to 2017.07.28 + * Too many changes to list + +------------------------------------------------------------------- +Thu Aug 24 13:53:27 UTC 2017 - [email protected] + +- singlespec auto-conversion + +------------------------------------------------------------------- @@ -22,0 +40 @@ + Old: ---- regex-2017.06.07.tar.gz New: ---- regex-2017.07.28.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-regex.spec ++++++ --- /var/tmp/diff_new_pack.SeRgWe/_old 2017-09-05 15:16:24.699188583 +0200 +++ /var/tmp/diff_new_pack.SeRgWe/_new 2017-09-05 15:16:24.703188020 +0200 @@ -16,34 +16,47 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-regex -Version: 2017.06.07 +Version: 2017.07.28 Release: 0 -Summary: Alternative regular expression module, to replace re +Summary: Alternative regular expression module for Python License: Python-2.0 -Group: Development/Libraries/Python +Group: Development/Languages/Python Url: https://bitbucket.org/mrabarnett/mrab-regex Source: https://files.pythonhosted.org/packages/source/r/regex/regex-%{version}.tar.gz -BuildRequires: python-devel +BuildRequires: %{python_module devel} +BuildRequires: python-rpm-macros +BuildRequires: python3-testsuite +%python_subpackages %description -This new regex implementation is intended eventually to -replace Python’s current re module implementation. +An alternate regex implementation. It differs from "re" in that -For testing and comparison with the current 're' module -the new implementation is in the form of a module called -'regex'. +* Zero-width matches are handled like in Perl and PCRE: + * ``.split`` will split a string at a zero-width match. + * ``.sub`` will handle zero-width matches correctly. +* Inline flags apply to the end of the group or pattern, and they can + be turned off. +* Nested sets and set operations are supported. +* Case-insensitive matches in Unicode use full case-folding by + default. %prep %setup -q -n regex-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install -%files +%check +%{python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} +$python -B %{buildroot}%{$python_sitearch}/test_regex.py +} + +%files %{python_files} %defattr(-,root,root) %doc README %doc docs/* ++++++ regex-2017.06.07.tar.gz -> regex-2017.07.28.tar.gz ++++++ ++++ 25019 lines of diff (skipped)
