[packages/python-zope.deferredimport] - disable python3 here, switched docs to python2; release 8
qboosh
qboosh at pld-linux.org
Wed Apr 30 20:24:54 CEST 2025
commit 5115c4862d9e12ae699af954bab66fb498d9990f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Apr 30 20:11:39 2025 +0200
- disable python3 here, switched docs to python2; release 8
python-zope.deferredimport.spec | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/python-zope.deferredimport.spec b/python-zope.deferredimport.spec
index 6f32faf..5ad96a7 100644
--- a/python-zope.deferredimport.spec
+++ b/python-zope.deferredimport.spec
@@ -3,7 +3,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-zope.deferredimport.spec)
%define module zope.deferredimport
Summary: Defer Python module import
@@ -11,7 +11,7 @@ Summary(pl.UTF-8): Opóźnianie importu modułów Pythona
Name: python-%{module}
# keep 4.x here for python2 support
Version: 4.4
-Release: 7
+Release: 8
License: ZPL v2.1
Group: Libraries/Python
Source0: https://files.pythonhosted.org/packages/source/z/zope.deferredimport/zope.deferredimport-%{version}.tar.gz
@@ -39,7 +39,7 @@ BuildRequires: python3-zope.testrunner
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
%if %{with doc}
-BuildRequires: sphinx-pdg
+BuildRequires: sphinx-pdg-2
%endif
Requires: python-modules >= 1:2.7
Obsoletes: Zope-DeferredImport < 3.6.0
@@ -100,7 +100,8 @@ zope-testrunner-3 --test-path=src -v
%if %{with doc}
PYTHONPATH=$(pwd)/src \
-%{__make} -C docs html
+%{__make} -C docs html \
+ SPHINXBUILD=sphinx-build-2
%endif
%install
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-zope.deferredimport.git/commitdiff/5115c4862d9e12ae699af954bab66fb498d9990f
More information about the pld-cvs-commit
mailing list