forked from pool/python-regex
Accepting request 1236262 from home:nkrapp:branches:devel:languages:python
- Update to 2024.11.06: * Git issue 546: Partial match not working in some instances with non-greedy capture - from 2024.9.14: * Reverted to actions/download-artifact@v3 and actions/upload-artifact@v3 in main.yml because GitHub Actions failed when using them. - from 2024.9.13: * Updated to actions/upload-artifact@v4 in main.yml. - from 2024.9.12: * Updated to actions/download-artifact@v4 in main.yml. - from 2024.9.11: * Updated to Unicode 16.0.0. - from 2024.7.24: * Git issue 539: Bug: Partial matching fails on a simple example - from 2024.6.22: * Git issue 535: Regex fails Unicode 15.1 GraphemeBreakTest due to missing new GB9c rule implementation OBS-URL: https://build.opensuse.org/request/show/1236262 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-regex?expand=0&rev=58
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-regex
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 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 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-regex
|
||||
Version: 2024.5.15
|
||||
Version: 2024.11.6
|
||||
Release: 0
|
||||
Summary: Alternative regular expression module for Python
|
||||
License: Apache-2.0
|
||||
@@ -26,6 +26,7 @@ Group: Development/Languages/Python
|
||||
URL: https://github.com/mrabarnett/mrab-regex
|
||||
Source: https://files.pythonhosted.org/packages/source/r/regex/regex-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
@@ -49,10 +50,10 @@ An alternate regex implementation. It differs from "re" in that
|
||||
%setup -q -n regex-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
@@ -63,7 +64,8 @@ export PYTHONDONTWRITEBYTECODE=1
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
%doc README.rst
|
||||
%doc docs/*
|
||||
%{python_sitearch}/*
|
||||
%doc docs
|
||||
%{python_sitearch}/regex
|
||||
%{python_sitearch}/regex-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user