commit a1554f509d54f39011b89d4a1d47ee6f34aa968e
Author: Jan RÄ™korajski <[email protected]>
Date:   Tue Nov 5 00:07:06 2019 +0100

    - docs need python3 to build
    - rel 3

 python-pyopencl.spec | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/python-pyopencl.spec b/python-pyopencl.spec
index 01cab30..0298dcf 100644
--- a/python-pyopencl.spec
+++ b/python-pyopencl.spec
@@ -15,7 +15,7 @@ Summary:      Python 2 wrapper for OpenCL
 Summary(pl.UTF-8):     Interfejs Pythona 2 do OpenCL
 Name:          python-pyopencl
 Version:       2018.1.1
-Release:       2
+Release:       3
 License:       MIT
 Group:         Libraries/Python
 #Source0Download: https://pypi.python.org/simple/pyopencl/
@@ -38,13 +38,6 @@ BuildRequires:       python-pytest >= 2
 BuildRequires: python-pytools >= %{pytools_ver}
 BuildRequires: python-six >= 1.9.0
 %endif
-%if %{with doc}
-BuildRequires: python-numpy
-BuildRequires: python-pytools >= %{pytools_ver}
-BuildRequires: python-six >= 1.9.0
-BuildRequires: python-sphinx_bootstrap_theme
-BuildRequires: sphinx-pdg-2
-%endif
 %endif
 %if %{with python3}
 BuildRequires: python3-cffi >= 1.1.0
@@ -59,6 +52,13 @@ BuildRequires:       python3-pytest >= 2
 BuildRequires: python3-pytools >= %{pytools_ver}
 BuildRequires: python3-six >= 1.9.0
 %endif
+%if %{with doc}
+BuildRequires: python3-numpy
+BuildRequires: python3-pytools >= %{pytools_ver}
+BuildRequires: python3-six >= 1.9.0
+BuildRequires: python3-sphinx_bootstrap_theme
+BuildRequires: sphinx-pdg-3
+%endif
 %endif
 Requires:      OpenCL >= 1.1
 Requires:      python-appdirs >= 1.4.0
@@ -149,12 +149,6 @@ PYTHONPATH="$(echo build-2/lib.*):." \
 %{__python} -m pytest test
 %endif
 
-%if %{with doc}
-%{__make} -C doc html \
-       PYTHONPATH="$(echo $(pwd)/build-2/lib.*):$(pwd)" \
-       SPHINXBUILD=sphinx-build-2
-%endif
-
 %{__mv} siteconf.py siteconf-2.py
 %endif
 
@@ -171,6 +165,12 @@ PYTHONPATH="$(echo build-3/lib.*):." \
 %{__python3} -m pytest test
 %endif
 
+%if %{with doc}
+%{__make} -C doc html \
+       PYTHONPATH="$(echo $(pwd)/build-3/lib.*):$(pwd)" \
+       SPHINXBUILD=sphinx-build-3
+%endif
+
 %{__mv} siteconf.py siteconf-3.py
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pyopencl.git/commitdiff/a1554f509d54f39011b89d4a1d47ee6f34aa968e

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to