From c69ab0cdfb8a2c626c3b865d80ff3884c1941d62 Mon Sep 17 00:00:00 2001 From: nkrapp <> Date: May 27 2025 16:52:02 +0000 Subject: Update python-fb-re2 to version 1.0.7 / rev 7 via SR 1280568 https://build.opensuse.org/request/show/1280568 by user nkrapp + anag_factory --- diff --git a/.files b/.files index 7579588..beffbb9 100644 Binary files a/.files and b/.files differ diff --git a/.rev b/.rev index 0836b2d..6c51fa4 100644 --- a/.rev +++ b/.rev @@ -51,4 +51,12 @@ 1164088 + + 3f1cc1375f263a8b7556267237113eb1 + 1.0.7 + + anag_factory + + 1280568 + diff --git a/python-fb-re2.changes b/python-fb-re2.changes index e0e07d0..6551b7c 100644 --- a/python-fb-re2.changes +++ b/python-fb-re2.changes @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Tue May 27 11:38:59 UTC 2025 - Markéta Machová + +- Convert to pip-based build + +------------------------------------------------------------------- Thu Mar 28 12:31:02 UTC 2024 - ecsos - Add %{?sle15_python_module_pythons} diff --git a/python-fb-re2.spec b/python-fb-re2.spec index ecbe033..3c17a1a 100644 --- a/python-fb-re2.spec +++ b/python-fb-re2.spec @@ -1,7 +1,7 @@ # # spec file for package python-fb-re2 # -# 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 @@ -28,8 +28,10 @@ Source: https://github.com/facebook/pyre2/archive/v%{version}.tar.gz # PATCH-FIX-UPSTREAM cpp17.patch gh#facebook/pyre2#25 Patch0: cpp17.patch BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: python-rpm-macros @@ -46,10 +48,10 @@ sed -i 's/assertRaisesRegexp/assertRaisesRegex/g' tests/test_match.py %build export CFLAGS="%{optflags}" -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %check