forked from pool/python-MarkupSafe
- 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:
@@ -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>
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user