15
0

- 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
This commit is contained in:
2024-07-11 14:27:21 +00:00
committed by Git OBS Bridge
parent e512efb9b8
commit e0ff67140f
2 changed files with 11 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jul 11 14:26:38 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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 <dmueller@suse.com>

View File

@@ -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}