[packages/python3-sphinxcontrib-serializinghtml] - new

qboosh qboosh at pld-linux.org
Sat Apr 4 21:06:19 CEST 2020


commit 1268e1c484c762cbbfe2d718b58baa684a3a3b30
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Apr 4 21:06:09 2020 +0200

    - new

 python3-sphinxcontrib-serializinghtml.spec | 59 ++++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)
---
diff --git a/python3-sphinxcontrib-serializinghtml.spec b/python3-sphinxcontrib-serializinghtml.spec
new file mode 100644
index 0000000..a67afda
--- /dev/null
+++ b/python3-sphinxcontrib-serializinghtml.spec
@@ -0,0 +1,59 @@
+#
+# Conditional build:
+%bcond_with	tests	# unit tests (failing?)
+
+Summary:	Sphinx extension which outputs "serialized" HTML files
+Summary(pl.UTF-8):	Rozszerzenie Sphinksa zapisujące "zserializowane" pliki HTML
+Name:		python3-sphinxcontrib-serializinghtml
+Version:	1.1.4
+Release:	1
+License:	BSD
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/sphinxcontrib-serializinghtml/
+Source0:	https://files.pythonhosted.org/packages/source/s/sphinxcontrib-serializinghtml/sphinxcontrib-serializinghtml-%{version}.tar.gz
+# Source0-md5:	518ff437dcb05a74ed32ba19c892ce05
+URL:		https://pypi.org/project/sphinxcontrib-serializinghtml/
+BuildRequires:	python3-modules >= 1:3.5
+BuildRequires:	python3-setuptools
+%if %{with tests}
+BuildRequires:	python3-Sphinx
+BuildRequires:	python3-pytest
+%endif
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
+Requires:	python3-modules >= 1:3.5
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+sphinxcontrib-serializinghtml is a sphinx extension which outputs
+"serialized" HTML files (json and pickle).
+
+%description -l pl.UTF-8
+sphinxcontrib-serializinghtml to rozszerzenie Sphinksa, zapisujące
+"zserializowane" pliki HTML (w oparciu o json i pickle).
+
+%prep
+%setup -q -n sphinxcontrib-serializinghtml-%{version}
+
+%build
+%py3_build
+
+%if %{with tests}
+%{__python3} -m pytest tests
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES LICENSE README.rst
+%{py3_sitescriptdir}/sphinxcontrib/serializinghtml
+%{py3_sitescriptdir}/sphinxcontrib_serializinghtml-%{version}-py*.egg-info
+%{py3_sitescriptdir}/sphinxcontrib_serializinghtml-%{version}-py*-nspkg.pth
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-sphinxcontrib-serializinghtml.git/commitdiff/1268e1c484c762cbbfe2d718b58baa684a3a3b30



More information about the pld-cvs-commit mailing list