Accepting request 786436 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/786436
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-regex?expand=0&rev=8
This commit is contained in:
Dominique Leuenberger 2020-03-26 23:27:31 +00:00 committed by Git OBS Bridge
commit 3ccbe4c9f4
4 changed files with 15 additions and 9 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Mar 19 10:45:06 UTC 2020 - pgajdos@suse.com
- version update to 2020.2.20
* no upstream changelog found
-------------------------------------------------------------------
Tue Sep 10 10:53:26 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-regex
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-regex
Version: 2019.08.19
Version: 2020.2.20
Release: 0
Summary: Alternative regular expression module for Python
License: Python-2.0
@ -26,6 +26,7 @@ Group: Development/Languages/Python
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 pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@ -55,12 +56,11 @@ An alternate regex implementation. It differs from "re" in that
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
$python -B %{buildroot}%{$python_sitearch}/regex/test/test_regex.py
}
export PYTHONDONTWRITEBYTECODE=1
%pytest_arch %{buildroot}%{$python_sitearch}/regex
%files %{python_files}
%doc README
%doc README.rst
%doc docs/*
%{python_sitearch}/*

View File

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

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

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