[packages/python-sphinxcontrib-doxylink] Rel 14; python3 in python3-sphinxcontrib-doxylink.spec
arekm
arekm at pld-linux.org
Wed May 28 21:34:54 CEST 2025
commit 682b9f0bce45770bdc14ef9d980aed279421ad5c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed May 28 21:27:43 2025 +0200
Rel 14; python3 in python3-sphinxcontrib-doxylink.spec
python-sphinxcontrib-doxylink.spec | 56 ++------------------------------------
1 file changed, 2 insertions(+), 54 deletions(-)
---
diff --git a/python-sphinxcontrib-doxylink.spec b/python-sphinxcontrib-doxylink.spec
index 3ac992d..380a4b3 100644
--- a/python-sphinxcontrib-doxylink.spec
+++ b/python-sphinxcontrib-doxylink.spec
@@ -1,13 +1,8 @@
-#
-# Conditional build:
-%bcond_without python2 # CPython 2.x module
-%bcond_without python3 # CPython 3.x module
-#
Summary: Sphinx extension to link to external Doxygen API documentation
Summary(pl.UTF-8): Rozszerzenie Sphinksa do łączenia z zewnętrzną dokumentacją API z Doxygena
Name: python-sphinxcontrib-doxylink
Version: 1.3
-Release: 13
+Release: 14
License: BSD
Group: Development/Languages/Python
#Source0Download: https://pypi.org/simple/sphinxcontrib-doxylink/
@@ -15,14 +10,8 @@ Source0: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-doxylink
# Source0-md5: f6800726c2d31bcd6b4a65d40852881f
Patch0: Force-qualifier-result-to-be-a-single-string.patch
URL: https://pypi.org/project/sphinxcontrib-doxylink/
-%if %{with python2}
BuildRequires: python-modules
BuildRequires: python-setuptools
-%endif
-%if %{with python3}
-BuildRequires: python3-modules
-BuildRequires: python3-setuptools
-%endif
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
Requires: python-Sphinx >= 0.6
@@ -37,53 +26,23 @@ Sphinx extension to link to external Doxygen API documentation.
Rozszerzenie Sphinksa do łączenia z zewnętrzną dokumentacją API z
Doxygena.
-%package -n python3-sphinxcontrib-doxylink
-Summary: Sphinx extension to link to external Doxygen API documentation
-Summary(pl.UTF-8): Rozszerzenie Sphinksa do łączenia z zewnętrzną dokumentacją API z Doxygena
-Group: Libraries/Python
-Requires: python3-modules
-Requires: python3-Sphinx >= 0.6
-Requires: python3-pyparsing
-
-%description -n python3-sphinxcontrib-doxylink
-Sphinx extension to link to external Doxygen API documentation.
-
-%description -n python3-sphinxcontrib-doxylink -l pl.UTF-8
-Rozszerzenie Sphinksa do łączenia z zewnętrzną dokumentacją API z
-Doxygena.
-
%prep
%setup -q -n sphinxcontrib-doxylink-%{version}
-%patch0 -p1
+%patch -P0 -p1
%build
-%if %{with python2}
%py_build
-%endif
-
-%if %{with python2}
-%py3_build
-%endif
%install
rm -rf $RPM_BUILD_ROOT
-%if %{with python2}
%py_install
%py_postclean
%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/tests
-%endif
-
-%if %{with python2}
-%py3_install
-%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/tests
-%endif
-
%clean
rm -rf $RPM_BUILD_ROOT
-%if %{with python2}
%files
%defattr(644,root,root,755)
%doc CHANGES.rst README.rst
@@ -91,14 +50,3 @@ rm -rf $RPM_BUILD_ROOT
%{py_sitescriptdir}/sphinxcontrib/doxylink
%{py_sitescriptdir}/sphinxcontrib_doxylink-%{version}-py*.egg-info
%{py_sitescriptdir}/sphinxcontrib_doxylink-%{version}-py*-nspkg.pth
-%endif
-
-%if %{with python3}
-%files -n python3-sphinxcontrib-doxylink
-%defattr(644,root,root,755)
-%doc CHANGES.rst README.rst
-%dir %{py3_sitescriptdir}/sphinxcontrib
-%{py3_sitescriptdir}/sphinxcontrib/doxylink
-%{py3_sitescriptdir}/sphinxcontrib_doxylink-%{version}-py*.egg-info
-%{py3_sitescriptdir}/sphinxcontrib_doxylink-%{version}-py*-nspkg.pth
-%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-sphinxcontrib-doxylink.git/commitdiff/682b9f0bce45770bdc14ef9d980aed279421ad5c
More information about the pld-cvs-commit
mailing list