Summary: An autocompletion tool for Python that can be used for text editors
Summary(pl.UTF-8): Narzędzie do automatycznego dopełaniania dla Pythona, nadające się do użycia w edytorach
Name: python-jedi
-Version: 0.17.0
-Release: 2
+# keep 0.17.x here for python2 support
+Version: 0.17.2
+Release: 1
License: MIT (Jedi), Apache v2.0 (typeshed)
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/jedi/
Source0: https://files.pythonhosted.org/packages/source/j/jedi/jedi-%{version}.tar.gz
-# Source0-md5: d6a8e5832939c51dceda474b720696f6
+# Source0-md5: f012668907d76cebe9c4766f3b806fcf
URL: https://pypi.org/project/jedi/
%if %{with python2}
BuildRequires: python-modules >= 1:2.7
BuildRequires: python-colorama
BuildRequires: python-docopt
BuildRequires: python-parso >= 0.7.0
+BuildRequires: python-parso < 0.8.0
BuildRequires: python-pytest >= 3.9.0
-BuildRequires: python-pytest < 5.0.0
+BuildRequires: python-pytest < 5
%endif
%endif
%if %{with python3}
BuildRequires: python3-colorama
BuildRequires: python3-docopt
BuildRequires: python3-parso >= 0.7.0
+BuildRequires: python3-parso < 0.8.0
BuildRequires: python3-pytest >= 3.9.0
-BuildRequires: python3-pytest < 5.0.0
+BuildRequires: python3-pytest < 5
%endif
%endif
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
%if %{with doc}
-BuildRequires: python3-graphviz
-BuildRequires: python3-parso >= 0.7.0
-BuildRequires: sphinx-pdg-3
+BuildRequires: python-parso >= 0.7.0
+BuildRequires: sphinx-pdg-2
%endif
Requires: python-modules >= 1:2.7
BuildArch: noarch
%py_build
%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
%{__python} -m pytest
%endif
%endif
%py3_build
%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
%{__python3} -m pytest
%endif
%endif
%if %{with doc}
%{__make} -C docs html \
- SPHINXBUILD=sphinx-build-3
+ SPHINXBUILD=sphinx-build-2
%endif
%install