[packages/python-zope.copy] - disable python3 here, switched sphinx to python2; release 4
qboosh
qboosh at pld-linux.org
Fri May 30 20:41:37 CEST 2025
commit 8143d79dcb67314a24e6eb2e46a47a05aa773330
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri May 30 20:30:25 2025 +0200
- disable python3 here, switched sphinx to python2; release 4
python-zope.copy.spec | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/python-zope.copy.spec b/python-zope.copy.spec
index ecf3da7..080f0ba 100644
--- a/python-zope.copy.spec
+++ b/python-zope.copy.spec
@@ -3,16 +3,18 @@
%bcond_without doc # Sphinx documentation
%bcond_with tests # unit tests (circular dependencies)
%bcond_without python2 # CPython 2.x module
-%bcond_without python3 # CPython 3.x module
+%bcond_with python3 # CPython 3.x module
%define module zope.copy
Summary: Pluggable object copying mechanism
Summary(pl.UTF-8): Mechanizm kopiowania obiektów z obsługą wtyczek
Name: python-%{module}
+# keep 4.x here for python2 support
Version: 4.3
-Release: 3
+Release: 4
License: ZPL v2.1
Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/zope-copy/
Source0: https://files.pythonhosted.org/packages/source/z/zope.copy/zope.copy-%{version}.tar.gz
# Source0-md5: f4d53472086a1261c7f1ccb6738b9db8
URL: https://www.zope.dev/
@@ -43,8 +45,8 @@ BuildRequires: python3-zope.testrunner
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
%if %{with doc}
-BuildRequires: python3-repoze.sphinx.autointerface
-BuildRequires: sphinx-pdg-3
+BuildRequires: python-repoze.sphinx.autointerface
+BuildRequires: sphinx-pdg-2
%endif
Requires: python-modules >= 1:2.7
BuildArch: noarch
@@ -108,7 +110,7 @@ zope-testrunner-3 --test-path=src -v
%if %{with doc}
PYTHONPATH=$(pwd)/src \
%{__make} -C docs html \
- SPHINXBUILD=sphinx-build-3
+ SPHINXBUILD=sphinx-build-2
%endif
%install
@@ -151,5 +153,5 @@ rm -rf $RPM_BUILD_ROOT
%if %{with doc}
%files apidocs
%defattr(644,root,root,755)
-%doc docs/_build/html/{_static,*.html,*.js}
+%doc docs/_build/html/{_modules,_static,*.html,*.js}
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-zope.copy.git/commitdiff/8143d79dcb67314a24e6eb2e46a47a05aa773330
More information about the pld-cvs-commit
mailing list