From e0ff67140f2e6ed6e77b4ecb26dba8e249584c10952c67c185e4e419a57c7a78 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 11 Jul 2024 14:27:21 +0000 Subject: [PATCH] - add buildignores to break buildcycle over p11-kit/dbus-1/systemd:mini/python-MarkupSafe OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-MarkupSafe?expand=0&rev=51 --- python-MarkupSafe.changes | 6 ++++++ python-MarkupSafe.spec | 7 +++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/python-MarkupSafe.changes b/python-MarkupSafe.changes index e1967ae..08ef527 100644 --- a/python-MarkupSafe.changes +++ b/python-MarkupSafe.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jul 11 14:26:38 UTC 2024 - Dirk Müller + +- add buildignores to break buildcycle over + p11-kit/dbus-1/systemd:mini/python-MarkupSafe + ------------------------------------------------------------------- Sun Feb 4 10:45:37 UTC 2024 - Dirk Müller diff --git a/python-MarkupSafe.spec b/python-MarkupSafe.spec index c2f0d5a..1e79f65 100644 --- a/python-MarkupSafe.spec +++ b/python-MarkupSafe.spec @@ -26,6 +26,9 @@ License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/pallets/markupsafe Source: https://files.pythonhosted.org/packages/source/M/MarkupSafe/MarkupSafe-%{version}.tar.gz +# Buildcycle p11-kit/dbus-1/systemd:mini/python-MarkupSafe because of pip depending on ca-certificates +#!BuildIgnore: ca-certificates:p11-kit +#!BuildIgnore: ca-certificates:p11-kit-tools BuildRequires: %{python_module devel} BuildRequires: %{python_module pip} BuildRequires: %{python_module wheel} @@ -53,8 +56,8 @@ export CFLAGS="%{optflags}" %python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand rm %{buildroot}%{$python_sitearch}/markupsafe/_speedups.c # Upstream changed the Python package metadata to require Python 3.7, but the tests pass on Python 3.6. -%if %python_version_nodots == 36 -%python_expand sed 's/Requires-Python: >=3.7/Requires-Python: >=3.6/' -i %{buildroot}%{python_sitearch}/MarkupSafe-%{version}-py3.6.egg-info/PKG-INFO +%if %{python_version_nodots} == 36 +%python_expand sed 's/Requires-Python: >=3.7/Requires-Python: >=3.6/' -i %{buildroot}%{$python_sitearch}/MarkupSafe-%{version}-py3.6.egg-info/PKG-INFO %endif %if %{with test}