SHA256
1
0
forked from pool/python-regex
python-regex/python-regex.spec

52 lines
1.6 KiB
RPMSpec
Raw Normal View History

#
# spec file for package python-regex
#
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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
Version: 2016.08.27
Release: 0
License: Python-2.0
Summary: Alternative regular expression module, to replace re
Url: https://bitbucket.org/mrabarnett/mrab-regex
Group: Development/Libraries/Python
Source: https://files.pythonhosted.org/packages/source/r/regex/regex-%{version}.tar.gz
BuildRequires: python-devel
%description
This new regex implementation is intended eventually to
replace Pythons 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'.
%prep
%setup -q -n regex-%{version}
%build
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root)
%doc README
%doc docs/*
%{python_sitearch}/*
%changelog