forked from pool/python-regex
Accepting request 428337 from home:TheBlackCat:branches:devel:languages:python
- Update to 2016.08.27 - Complete rewrite of the .spec file. OBS-URL: https://build.opensuse.org/request/show/428337 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-regex?expand=0&rev=3
This commit is contained in:
parent
c388977b19
commit
9da90d2b58
8
_service
8
_service
@ -1,8 +0,0 @@
|
|||||||
<services>
|
|
||||||
<service name="download_url">
|
|
||||||
<param name="host">pypi.python.org</param>
|
|
||||||
<param name="protocol">http</param>
|
|
||||||
<param name="path">/packages/source/r/regex/regex-0.1.20120506.tar.gz</param>
|
|
||||||
</service>
|
|
||||||
|
|
||||||
</services>
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f3243f10336cb9625bcd1d06a201854d915287700e4e4668401f4335c8de056f
|
|
||||||
size 1481810
|
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 17 00:36:59 UTC 2016 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Update to 2016.08.27
|
||||||
|
* Too many changes to list
|
||||||
|
- Complete rewrite of the .spec file.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 9 15:44:16 UTC 2012 - froh@suse.com
|
Wed May 9 15:44:16 UTC 2012 - froh@suse.com
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-regex-regex
|
# spec file for package python-regex
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 jw@suse.de,
|
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# Copyright (c) 2012 froh@suse.de
|
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -14,48 +13,39 @@
|
|||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
|
||||||
|
|
||||||
%define module_name regex
|
|
||||||
|
|
||||||
Name: python-regex
|
Name: python-regex
|
||||||
Version: 0.1.20120506
|
Version: 2016.08.27
|
||||||
Release: 0
|
Release: 0
|
||||||
License: Python Software Foundation License
|
License: Python-2.0
|
||||||
Summary: Python library - mrab regex manipulation
|
Summary: Alternative regular expression module, to replace re
|
||||||
Url: https://code.google.com/p/mrab-regex-hg/
|
Url: https://bitbucket.org/mrabarnett/mrab-regex
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Source0: http://pypi.python.org/packages/source/r/regex/regex-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/r/regex/regex-%{version}.tar.gz
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRoot: %{_tmppath}/%{module_name}-%{version}-build
|
|
||||||
%{py_requires}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A new regex implementation intended eventually to replace Python's current re
|
This new regex implementation is intended eventually to
|
||||||
module implementation. For testing and comparison with the current 're'
|
replace Python’s current re module implementation.
|
||||||
module, the new implementation is in the form of a module called 'regex'.
|
|
||||||
|
|
||||||
Additional features include
|
For testing and comparison with the current 're' module
|
||||||
* Approximate "fuzzy" matching
|
the new implementation is in the form of a module called
|
||||||
* Set operators
|
'regex'.
|
||||||
* Repeated captures
|
|
||||||
|
|
||||||
Author: Matthew Barnett
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{module_name}-%{version}
|
%setup -q -n regex-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__python} setup.py build
|
python setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
|
||||||
%clean
|
%files
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%files -f INSTALLED_FILES
|
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%doc README
|
||||||
|
%doc docs/*
|
||||||
|
%{python_sitearch}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|
||||||
|
3
regex-2016.08.27.tar.gz
Normal file
3
regex-2016.08.27.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:53b97d85ebcbae7536dc24e798da114551a50de925a565ca14df17e6aa562389
|
||||||
|
size 598942
|
Loading…
x
Reference in New Issue
Block a user