[packages/python3-sphinxcontrib-applehelp] - new
qboosh
qboosh at pld-linux.org
Sun Apr 5 08:59:53 CEST 2020
commit 3d3246e05db3772e76fe9270a0e58e35ed950e61
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Apr 5 08:59:44 2020 +0200
- new
python3-sphinxcontrib-applehelp.spec | 59 ++++++++++++++++++++++++++++++++++++
1 file changed, 59 insertions(+)
---
diff --git a/python3-sphinxcontrib-applehelp.spec b/python3-sphinxcontrib-applehelp.spec
new file mode 100644
index 0000000..ec20d33
--- /dev/null
+++ b/python3-sphinxcontrib-applehelp.spec
@@ -0,0 +1,59 @@
+#
+# Conditional build:
+%bcond_with tests # unit tests (failing?)
+
+Summary: Sphinx extension which outputs Apple help books
+Summary(pl.UTF-8): Rozszerzenie Sphinksa zapisujące książki pomocy Apple
+Name: python3-sphinxcontrib-applehelp
+Version: 1.0.2
+Release: 1
+License: BSD
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/sphinxcontrib-applehelp/
+Source0: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-applehelp/sphinxcontrib-applehelp-%{version}.tar.gz
+# Source0-md5: 3f2de7681e12dde031acee0497c3cc2b
+URL: https://pypi.org/project/sphinxcontrib-applehelp/
+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-applehelp is a sphinx extension which outputs
+Apple help books.
+
+%description -l pl.UTF-8
+sphinxcontrib-applehelp to rozszerzenie Sphinksa, zapisujące
+książki pomocy Apple.
+
+%prep
+%setup -q -n sphinxcontrib-applehelp-%{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/applehelp
+%{py3_sitescriptdir}/sphinxcontrib_applehelp-%{version}-py*.egg-info
+%{py3_sitescriptdir}/sphinxcontrib_applehelp-%{version}-py*-nspkg.pth
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-sphinxcontrib-applehelp.git/commitdiff/3d3246e05db3772e76fe9270a0e58e35ed950e61
More information about the pld-cvs-commit
mailing list