[packages/python-sphinxcontrib-golangdomain] - new

qboosh qboosh at pld-linux.org
Fri Oct 31 21:52:40 CET 2025


commit 3fd70f80e164fa554a46a96fc2debfa699a45586
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Oct 31 21:52:33 2025 +0100

    - new

 python-sphinxcontrib-golangdomain.spec | 115 +++++++++++++++++++++++++++++++++
 1 file changed, 115 insertions(+)
---
diff --git a/python-sphinxcontrib-golangdomain.spec b/python-sphinxcontrib-golangdomain.spec
new file mode 100644
index 0000000..2d28c3c
--- /dev/null
+++ b/python-sphinxcontrib-golangdomain.spec
@@ -0,0 +1,115 @@
+#
+# Conditional build:
+%bcond_without	python2 # CPython 2.x module
+%bcond_without	python3 # CPython 3.x module
+
+Summary:	Sphinx extension to add Golang domain
+Summary(pl.UTF-8):	Rozszerzenie Sphinksa dodające domenę Golang
+Name:		python-sphinxcontrib-golangdomain
+Version:	0.2.0.dev0
+Release:	1
+License:	BSD
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/sphinxcontrib-golangdomain/
+Source0:	https://files.pythonhosted.org/packages/source/s/sphinxcontrib-golangdomain/sphinxcontrib-golangdomain-%{version}.tar.gz
+# Source0-md5:	1cd3d39593c65837d9df1bc47a4d3423
+URL:		https://pypi.org/project/sphinxcontrib-golangdomain/
+%if %{with python2}
+BuildRequires:	python-modules >= 1:2.7
+BuildRequires:	python-setuptools
+%endif
+%if %{with python3}
+BuildRequires:	python3-modules >= 1:3.2
+BuildRequires:	python3-setuptools
+%endif
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
+Requires:	python-modules >= 1:2.7
+Requires:	python-sphinxcontrib
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This package contains the sphinxcontrib-golangdomain Sphinx extension.
+
+This extension adds Golang Domain to Sphinx.
+
+%description -l pl.UTF-8
+Ten pakiet zawiera rozszerzenie Sphinksa sphinxcontrib-golangdomain.
+
+To rozszerzenie dodaje do Sphinksa domenę Golang.
+
+%package -n python3-sphinxcontrib-golangdomain
+Summary:	Sphinx extension to add Golang domain
+Summary(pl.UTF-8):	Rozszerzenie Sphinksa dodające domenę Golang
+Group:		Libraries/Python
+Requires:	python3-modules >= 1:3.2
+Requires:	python3-sphinxcontrib
+
+%description -n python3-sphinxcontrib-golangdomain
+This package contains the sphinxcontrib-golangdomain Sphinx extension.
+
+This extension adds Golang Domain to Sphinx.
+
+%description -n python3-sphinxcontrib-golangdomain -l pl.UTF-8
+Ten pakiet zawiera rozszerzenie Sphinksa sphinxcontrib-golangdomain.
+
+To rozszerzenie dodaje do Sphinksa domenę Golang.
+
+%package apidocs
+Summary:	API documentation for Python sphinxcontrib-golangdomain module
+Summary(pl.UTF-8):	Dokumentacja API modułu Pythona sphinxcontrib-golangdomain
+Group:		Documentation
+
+%description apidocs
+API documentation for Python sphinxcontrib-golangdomain module.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API modułu Pythona sphinxcontrib-golangdomain.
+
+%prep
+%setup -q -n sphinxcontrib-golangdomain-%{version}
+
+%build
+%if %{with python2}
+%py_build
+%endif
+
+%if %{with python3}
+%py3_build
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%if %{with python2}
+%py_install
+
+%py_postclean
+%endif
+
+%if %{with python3}
+%py3_install
+%endif
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%if %{with python2}
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README.rst
+%{py_sitescriptdir}/sphinxcontrib/golangdomain.py[co]
+%{py_sitescriptdir}/sphinxcontrib_golangdomain-%{version}-py*.egg-info
+%{py_sitescriptdir}/sphinxcontrib_golangdomain-%{version}-py*-nspkg.pth
+%endif
+
+%if %{with python3}
+%files -n python3-sphinxcontrib-golangdomain
+%defattr(644,root,root,755)
+%doc LICENSE README.rst
+%{py3_sitescriptdir}/sphinxcontrib/golangdomain.py
+%{py3_sitescriptdir}/sphinxcontrib/__pycache__/golangdomain.cpython-*.py[co]
+%{py3_sitescriptdir}/sphinxcontrib_golangdomain-%{version}-py*.egg-info
+%{py3_sitescriptdir}/sphinxcontrib_golangdomain-%{version}-py*-nspkg.pth
+%endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-sphinxcontrib-golangdomain.git/commitdiff/3fd70f80e164fa554a46a96fc2debfa699a45586



More information about the pld-cvs-commit mailing list