2011-10-04 17:34:25 +00:00
|
|
|
|
#
|
2016-09-17 00:41:28 +00:00
|
|
|
|
# spec file for package python-regex
|
2011-10-04 17:34:25 +00:00
|
|
|
|
#
|
2016-09-17 00:41:28 +00:00
|
|
|
|
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2011-10-04 17:34:25 +00:00
|
|
|
|
#
|
|
|
|
|
# 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/
|
|
|
|
|
|
|
|
|
|
Name: python-regex
|
2016-09-17 00:41:28 +00:00
|
|
|
|
Version: 2016.08.27
|
2011-10-04 17:34:25 +00:00
|
|
|
|
Release: 0
|
2016-09-17 00:41:28 +00:00
|
|
|
|
License: Python-2.0
|
|
|
|
|
Summary: Alternative regular expression module, to replace re
|
|
|
|
|
Url: https://bitbucket.org/mrabarnett/mrab-regex
|
2011-10-04 17:34:25 +00:00
|
|
|
|
Group: Development/Libraries/Python
|
2016-09-17 00:41:28 +00:00
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/r/regex/regex-%{version}.tar.gz
|
2011-10-04 17:34:25 +00:00
|
|
|
|
BuildRequires: python-devel
|
|
|
|
|
|
|
|
|
|
%description
|
2016-09-17 00:41:28 +00:00
|
|
|
|
This new regex implementation is intended eventually to
|
|
|
|
|
replace Python’s current re module implementation.
|
2011-10-04 17:34:25 +00:00
|
|
|
|
|
2016-09-17 00:41:28 +00:00
|
|
|
|
For testing and comparison with the current 're' module
|
|
|
|
|
the new implementation is in the form of a module called
|
|
|
|
|
'regex'.
|
2011-10-04 17:34:25 +00:00
|
|
|
|
|
|
|
|
|
%prep
|
2016-09-17 00:41:28 +00:00
|
|
|
|
%setup -q -n regex-%{version}
|
2011-10-04 17:34:25 +00:00
|
|
|
|
|
|
|
|
|
%build
|
2016-09-17 00:41:28 +00:00
|
|
|
|
python setup.py build
|
2011-10-04 17:34:25 +00:00
|
|
|
|
|
|
|
|
|
%install
|
2016-09-17 00:41:28 +00:00
|
|
|
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
2011-10-04 17:34:25 +00:00
|
|
|
|
|
2016-09-17 00:41:28 +00:00
|
|
|
|
%files
|
2011-10-04 17:34:25 +00:00
|
|
|
|
%defattr(-,root,root)
|
2016-09-17 00:41:28 +00:00
|
|
|
|
%doc README
|
|
|
|
|
%doc docs/*
|
|
|
|
|
%{python_sitearch}/*
|
2011-10-04 17:34:25 +00:00
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
|