]> git.pld-linux.org Git - packages/python-sympy.git/commitdiff
- fixed doc build without sympy installed
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 15 Sep 2019 18:32:51 +0000 (20:32 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 15 Sep 2019 18:32:51 +0000 (20:32 +0200)
python-sympy.spec

index 1ac912525af7f6ffae10d19c9e1f282d11ca3f77..902ca99019a17c82673e364e9f3f3934cd1d2dbd 100644 (file)
@@ -42,6 +42,7 @@ BuildRequires:        python3-numpy
 %if %{with doc}
 BuildRequires: pydoc3
 BuildRequires: python3-matplotlib
+BuildRequires: python3-mpmath >= 0.19
 BuildRequires: sphinx-pdg-3
 BuildRequires: texlive-format-pdflatex
 BuildRequires: texlive-latex
@@ -112,7 +113,9 @@ Dokumentacja do SymPy w formacie HTML.
 %endif
 
 %if %{with doc}
+pydir=$(pwd)/build-3/lib
 cd doc
+PYTHONPATH=$pydir \
 %{__make} html \
        SPHINXBUILD=sphinx-build-3
 %{__make} cheatsheet
This page took 0.140172 seconds and 4 git commands to generate.