Accepting request 520332 from home:jengelh:branches:devel:languages:python

- Specify in description what makes regex worthwhile to have.
  Fix RPM group.

OBS-URL: https://build.opensuse.org/request/show/520332
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-regex?expand=0&rev=7
This commit is contained in:
Thomas Bechtold 2017-09-04 05:31:45 +00:00 committed by Git OBS Bridge
parent dcdeba13f2
commit 5832d55e05
2 changed files with 18 additions and 8 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Sep 2 09:22:13 UTC 2017 - jengelh@inai.de
- Specify in description what makes regex worthwhile to have.
Fix RPM group.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Aug 31 06:19:11 UTC 2017 - toddrme2178@gmail.com Thu Aug 31 06:19:11 UTC 2017 - toddrme2178@gmail.com

View File

@ -20,23 +20,27 @@
Name: python-regex Name: python-regex
Version: 2017.07.28 Version: 2017.07.28
Release: 0 Release: 0
Summary: Alternative regular expression module, to replace re Summary: Alternative regular expression module for Python
License: Python-2.0 License: Python-2.0
Group: Development/Libraries/Python Group: Development/Languages/Python
Url: https://bitbucket.org/mrabarnett/mrab-regex Url: https://bitbucket.org/mrabarnett/mrab-regex
Source: https://files.pythonhosted.org/packages/source/r/regex/regex-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/r/regex/regex-%{version}.tar.gz
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: python3-testsuite
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: python3-testsuite
%python_subpackages %python_subpackages
%description %description
This new regex implementation is intended eventually to An alternate regex implementation. It differs from "re" in that
replace Pythons current re module implementation.
For testing and comparison with the current 're' module * Zero-width matches are handled like in Perl and PCRE:
the new implementation is in the form of a module called * ``.split`` will split a string at a zero-width match.
'regex'. * ``.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 %prep
%setup -q -n regex-%{version} %setup -q -n regex-%{version}