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:
Todd R 2016-09-17 00:41:28 +00:00 committed by Git OBS Bridge
parent c388977b19
commit 9da90d2b58
5 changed files with 29 additions and 40 deletions

View File

@ -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>

View File

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

View File

@ -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

View File

@ -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) 2012 froh@suse.de
# 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
@ -14,48 +13,39 @@
# 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.20120506
Version: 2016.08.27
Release: 0
License: Python Software Foundation License
Summary: Python library - mrab regex manipulation
Url: https://code.google.com/p/mrab-regex-hg/
License: Python-2.0
Summary: Alternative regular expression module, to replace re
Url: https://bitbucket.org/mrabarnett/mrab-regex
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
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'.
This new regex implementation is intended eventually to
replace Pythons current re module implementation.
Additional features include
* Approximate "fuzzy" matching
* Set operators
* Repeated captures
Author: Matthew Barnett
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 %{module_name}-%{version}
%setup -q -n regex-%{version}
%build
%{__python} setup.py build
python setup.py build
%install
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%clean
rm -rf %{buildroot}
%files -f INSTALLED_FILES
%files
%defattr(-,root,root)
%doc README
%doc docs/*
%{python_sitearch}/*
%changelog

3
regex-2016.08.27.tar.gz Normal file
View File

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