Accepting request 86564 from home:jnweiger

Next generartion regex module.
A drop in replacement to re, with added features.

OBS-URL: https://build.opensuse.org/request/show/86564
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-regex?expand=0&rev=1
This commit is contained in:
Dirk Mueller 2011-10-04 17:34:25 +00:00 committed by Git OBS Bridge
commit 70c1d98b2c
5 changed files with 92 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

5
python-regex.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Tue Oct 4 16:18:57 UTC 2011 - jw@suse.com
- initial pull from pypi

60
python-regex.spec Normal file
View File

@ -0,0 +1,60 @@
#
# spec file for package python-regex-regex
#
# Copyright (c) 2011 jw@suse.de
#
# 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/
#
%define module_name regex
Name: python-regex
Version: 0.1.20111004
Release: 0
License: Python Software Foundation License
Summary: Python library - mrab regex manipulation
Url: https://code.google.com/p/mrab-regex-hg/
Group: Development/Libraries/Python
Source0: http://pypi.python.org/packages/source/r/regex/regex-0.1.20111004.tar.bz2
BuildRequires: python-devel
BuildRoot: %{_tmppath}/%{module_name}-%{version}-build
%{py_requires}
%description
A new regex implementation intended eventually to replace Python's current re
module implementation. For testing and comparison with the current 're'
module, the new implementation is in the form of a module called 'regex'.
Additional features include
* Approximate "fuzzy" matching
* Set operators
* Repeated captures
Author: Matthew Barnett
%prep
%setup -q -n %{module_name}-%{version}
%build
%{__python} setup.py build
%install
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
%clean
rm -rf %{buildroot}
%files -f INSTALLED_FILES
%defattr(-,root,root)
%changelog

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bac2b81c6b1bcd72c334623dc572f93a8b2110d0017bd865ab1fdc95e7c2c42a
size 1070143