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

View File

@ -20,23 +20,27 @@
Name: python-regex
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_module devel}
BuildRequires: python3-testsuite
BuildRequires: python-rpm-macros
BuildRequires: python3-testsuite
%python_subpackages
%description
This new regex implementation is intended eventually to
replace Pythons 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}