]> git.pld-linux.org Git - packages/python-sympy.git/commitdiff
- disable werror for docs build auto/th/python-sympy-1.7.1-1
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 12 Mar 2021 08:42:57 +0000 (09:42 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 12 Mar 2021 08:42:57 +0000 (09:42 +0100)
docs-build.patch [new file with mode: 0644]
python-sympy.spec

diff --git a/docs-build.patch b/docs-build.patch
new file mode 100644 (file)
index 0000000..6052705
--- /dev/null
@@ -0,0 +1,10 @@
+--- sympy-1.7.1/doc/Makefile~  2020-11-18 01:03:10.000000000 +0100
++++ sympy-1.7.1/doc/Makefile   2021-03-12 09:34:45.978437636 +0100
+@@ -44,7 +44,6 @@
+       -rm -rf sphinx
+       -rm -f $(PDFFILES)
+-html: SPHINXOPTS += -W --keep-going
+ html: _build/logo/sympy-notailtext-favicon.ico
+       mkdir -p src/.static
+       mkdir -p _build/html
index 6c9214cb5d60c6cdba6f9d3c16af2933c9e975cf..504daabec3d22deb76932e94195038be0dd3531e 100644 (file)
@@ -15,6 +15,7 @@ Group:                Libraries/Python
 #Source0Download: https://pypi.org/simple/sympy/
 Source0:       https://files.pythonhosted.org/packages/source/s/sympy/sympy-%{version}.tar.gz
 # Source0-md5: f5973bcbe33fdc86203ca397cc901994
+Patch0:                docs-build.patch
 URL:           https://www.sympy.org/
 BuildRequires: gettext
 BuildRequires: graphviz
@@ -39,6 +40,7 @@ BuildRequires:        python3-numpy
 %endif
 %endif
 %if %{with doc}
+BuildRequires: fonts-TTF-DejaVu
 BuildRequires: pydoc3
 BuildRequires: python3-matplotlib
 BuildRequires: python3-mpmath >= 0.19
@@ -102,6 +104,7 @@ Dokumentacja do SymPy w formacie HTML.
 
 %prep
 %setup -q -n sympy-%{version}
+%patch0 -p1
 
 %build
 %if %{with python2}
@@ -152,24 +155,24 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with python2}
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS LICENSE README.rst
+%doc AUTHORS LICENSE README.md
 %attr(755,root,root) %{_bindir}/isympy
 %{py_sitescriptdir}/isympy.py[co]
 %{py_sitescriptdir}/sympy
 %{py_sitescriptdir}/sympy-%{version}-*.egg-info
-%{_mandir}/man1/isympy.1*
 %{_examplesdir}/%{name}-%{version}
 %endif
 
 %if %{with python3}
 %files -n python3-sympy
 %defattr(644,root,root,755)
-%doc AUTHORS LICENSE README.rst
+%doc AUTHORS LICENSE README.md
 %attr(755,root,root) %{_bindir}/isympy3
 %{py3_sitescriptdir}/isympy.py
 %{py3_sitescriptdir}/__pycache__/isympy.cpython-*.py[co]
 %{py3_sitescriptdir}/sympy
 %{py3_sitescriptdir}/sympy-%{version}-*.egg-info
+%{_mandir}/man1/isympy.1*
 %{_examplesdir}/python3-sympy-%{version}
 %endif
 
This page took 0.156065 seconds and 4 git commands to generate.