diff --git a/python-regex.changes b/python-regex.changes index 9a309a5..9079f10 100644 --- a/python-regex.changes +++ b/python-regex.changes @@ -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 diff --git a/python-regex.spec b/python-regex.spec index e4724ba..f8dbb59 100644 --- a/python-regex.spec +++ b/python-regex.spec @@ -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}/* diff --git a/regex-2019.08.19.tar.gz b/regex-2019.08.19.tar.gz deleted file mode 100644 index d41771c..0000000 --- a/regex-2019.08.19.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:587b62d48ca359d2d4f02d486f1f0aa9a20fbaf23a9d4198c4bed72ab2f6c849 -size 654616 diff --git a/regex-2020.2.20.tar.gz b/regex-2020.2.20.tar.gz new file mode 100644 index 0000000..35691df --- /dev/null +++ b/regex-2020.2.20.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9e9624440d754733eddbcd4614378c18713d2d9d0dc647cf9c72f64e39671be5 +size 681215