[packages/python3-sphinxcontrib-moderncmakedomain] - new

qboosh qboosh at pld-linux.org
Sat Jun 6 18:27:58 CEST 2026


commit c847b1d24cecafd300dfd7915e6c87021ae1b454
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jun 6 18:28:07 2026 +0200

    - new

 python3-sphinxcontrib-moderncmakedomain.spec | 64 ++++++++++++++++++++++++++++
 1 file changed, 64 insertions(+)
---
diff --git a/python3-sphinxcontrib-moderncmakedomain.spec b/python3-sphinxcontrib-moderncmakedomain.spec
new file mode 100644
index 0000000..1841018
--- /dev/null
+++ b/python3-sphinxcontrib-moderncmakedomain.spec
@@ -0,0 +1,64 @@
+#
+# Conditional build:
+%bcond_with	tests	# unit tests (require package already installed)
+
+Summary:	Sphinx Domain for Modern CMake
+Summary(pl.UTF-8):	Domena Sphinksa dla współczesnego CMake'a
+Name:		python3-sphinxcontrib-moderncmakedomain
+Version:	3.29.0
+Release:	1
+License:	BSD
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/sphinxcontrib-moderncmakedomain/
+Source0:	https://files.pythonhosted.org/packages/source/s/sphinxcontrib-moderncmakedomain/sphinxcontrib_moderncmakedomain-%{version}.tar.gz
+# Source0-md5:	ffffa47c797b3260c3f9553900818cd3
+URL:		https://pypi.org/project/sphinxcontrib-moderncmakedomain/
+BuildRequires:	python3-build
+BuildRequires:	python3-hatchling
+BuildRequires:	python3-installer
+BuildRequires:	python3-modules >= 1:3.7
+%if %{with tests}
+BuildRequires:	python3-Sphinx >= 2
+BuildRequires:	python3-defusedxml
+BuildRequires:	python3-pytest
+%endif
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 2.044
+Requires:	python3-modules >= 1:3.7
+Requires:	python3-sphinxcontrib
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module is taken directly from the Kitware git repository's
+Utilities directory.
+
+%description -l pl.UTF-8
+Ten moduł pochodzi bezpośrednio z katalogu Utilities repozytorium git
+Kitware.
+
+%prep
+%setup -q -n sphinxcontrib_moderncmakedomain-%{version}
+
+%build
+%py3_build_pyproject
+
+%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTHONPATH=$(pwd) \
+%{__python3} -m pytest tests
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install_pyproject
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README.md
+%{py3_sitescriptdir}/sphinxcontrib/moderncmakedomain
+%{py3_sitescriptdir}/sphinxcontrib_moderncmakedomain-%{version}.dist-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-sphinxcontrib-moderncmakedomain.git/commitdiff/c847b1d24cecafd300dfd7915e6c87021ae1b454



More information about the pld-cvs-commit mailing list