Accepting request 702916 from devel:languages:python

- Update to 2019.04.14:
  * no upstream changelog provided

OBS-URL: https://build.opensuse.org/request/show/702916
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-regex?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2019-05-15 10:34:14 +00:00 committed by Git OBS Bridge
commit e34e25ffc4
4 changed files with 18 additions and 10 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue May 14 17:26:10 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 2019.04.14:
* no upstream changelog provided
-------------------------------------------------------------------
Mon Jul 2 03:23:26 UTC 2018 - toddrme2178@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-regex
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,20 +12,22 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-regex
Version: 2018.06.21
Version: 2019.04.14
Release: 0
Summary: Alternative regular expression module for Python
License: Python-2.0
Group: Development/Languages/Python
Url: https://bitbucket.org/mrabarnett/mrab-regex
URL: https://bitbucket.org/mrabarnett/mrab-regex
Source: https://files.pythonhosted.org/packages/source/r/regex/regex-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-testsuite
%python_subpackages
@ -50,14 +52,14 @@ An alternate regex implementation. It differs from "re" in that
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
%{python_expand PYTHONPATH=%{buildroot}%{$python_sitearch}
$python -B %{buildroot}%{$python_sitearch}/test_regex.py
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
$python -B %{buildroot}%{$python_sitearch}/regex/test/test_regex.py
}
%files %{python_files}
%defattr(-,root,root)
%doc README
%doc docs/*
%{python_sitearch}/*

View File

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

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

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