[packages/python-zope.deprecation] - disable python3 here, switched doc to python2; release 6
qboosh
qboosh at pld-linux.org
Mon Apr 28 21:34:44 CEST 2025
commit 8e79ac92378ca33a4f23e97be51b3beee16035cf
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Apr 28 21:27:47 2025 +0200
- disable python3 here, switched doc to python2; release 6
python-zope.deprecation.spec | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/python-zope.deprecation.spec b/python-zope.deprecation.spec
index cfa8ca9..7f198f1 100644
--- a/python-zope.deprecation.spec
+++ b/python-zope.deprecation.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.deprecation.spec)
%define module zope.deprecation
Summary: Deprecation library for Python code
@@ -11,7 +11,7 @@ Summary(pl.UTF-8): Biblioteka odradzająca dla kodu w Pythonie
Name: python-%{module}
# keep 4.x here for python2 support
Version: 4.4.0
-Release: 5
+Release: 6
License: ZPL v2.1
Group: Libraries/Python
Source0: https://files.pythonhosted.org/packages/source/z/zope.deprecation/zope.deprecation-%{version}.tar.gz
@@ -34,7 +34,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
Provides: Zope-Deprecation
@@ -93,7 +93,8 @@ Dokumentacja API modułu Pythona zope.deprecation.
%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.deprecation.git/commitdiff/8e79ac92378ca33a4f23e97be51b3beee16035cf
More information about the pld-cvs-commit
mailing list