[packages/python-bleach] - disabled python3 here
qboosh
qboosh at pld-linux.org
Thu Oct 13 21:33:25 CEST 2022
commit b288807e481e712e32bf619c8ff2bbc6603b42aa
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Oct 13 21:34:20 2022 +0200
- disabled python3 here
python-bleach.spec | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/python-bleach.spec b/python-bleach.spec
index 5e5295f..1115534 100644
--- a/python-bleach.spec
+++ b/python-bleach.spec
@@ -4,7 +4,7 @@
%bcond_without doc # Sphinx documentation
%bcond_without tests # unit tests
%bcond_without python2 # CPython 2.x module
-%bcond_without python3 # CPython 3.x module
+%bcond_with python3 # CPython 3.x module (built from python3-bleach.spec)
Summary: An easy safelist-based HTML-sanitizing tool
Summary(pl.UTF-8): Proste, oparte na liście elementów bezpiecznych, narzędzie do porządkowania HTML-a
@@ -39,7 +39,7 @@ BuildRequires: python3-webencodings
%endif
%endif
%if %{with doc}
-BuildRequires: sphinx-pdg
+BuildRequires: sphinx-pdg-2
%endif
Requires: python-modules >= 1:2.7
BuildArch: noarch
@@ -101,7 +101,8 @@ PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
%endif
%if %{with doc}
-%{__make} -C docs html
+%{__make} -C docs html \
+ SPHINXBUILD=sphinx-build-2
%endif
%install
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-bleach.git/commitdiff/b288807e481e712e32bf619c8ff2bbc6603b42aa
More information about the pld-cvs-commit
mailing list