[packages/python3-sphinxcontrib-htmlhelp] - new
qboosh
qboosh at pld-linux.org
Sun Apr 5 10:08:02 CEST 2020
commit a5222088931c367c6b409ac401af7a594a525e42
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Apr 5 10:07:54 2020 +0200
- new
python3-sphinxcontrib-htmlhelp.spec | 60 +++++++++++++++++++++++++++++++++++++
1 file changed, 60 insertions(+)
---
diff --git a/python3-sphinxcontrib-htmlhelp.spec b/python3-sphinxcontrib-htmlhelp.spec
new file mode 100644
index 0000000..4f2d50c
--- /dev/null
+++ b/python3-sphinxcontrib-htmlhelp.spec
@@ -0,0 +1,60 @@
+#
+# Conditional build:
+%bcond_with tests # unit tests (failing?)
+
+Summary: Sphinx extension which renders HMTL help files
+Summary(pl.UTF-8): Rozszerzenie Sphinksa tworzące pliki pomocy HTML
+Name: python3-sphinxcontrib-htmlhelp
+Version: 1.0.3
+Release: 1
+License: BSD
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/sphinxcontrib-htmlhelp/
+Source0: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp-%{version}.tar.gz
+# Source0-md5: f1db7db2a467f08f6292ab0d76e38584
+URL: https://pypi.org/project/sphinxcontrib-htmlhelp/
+BuildRequires: python3-modules >= 1:3.5
+BuildRequires: python3-setuptools
+%if %{with tests}
+BuildRequires: python3-Sphinx
+BuildRequires: python3-html5lib
+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-htmlhelp is a Sphinx extension which renders HTML help
+files.
+
+%description -l pl.UTF-8
+sphinxcontrib-htmlhelp to rozszerzenie Sphinksa, tworzące pliki pomocy
+HTML.
+
+%prep
+%setup -q -n sphinxcontrib-htmlhelp-%{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/htmlhelp
+%{py3_sitescriptdir}/sphinxcontrib_htmlhelp-%{version}-py*.egg-info
+%{py3_sitescriptdir}/sphinxcontrib_htmlhelp-%{version}-py*-nspkg.pth
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-sphinxcontrib-htmlhelp.git/commitdiff/a5222088931c367c6b409ac401af7a594a525e42
More information about the pld-cvs-commit
mailing list