Accepting request 706299 from devel:languages:python
- Disable tests as it is not working at all on python 3.7 - Do not bother condition for typing, on 3.7+ it is provided by base - Update to 0.13.3: * Fixed an issue with embedded Python see https://github.com/davidhalter/jedi-vim/issues/870 - Fix the typing dependency - Really run the tests OBS-URL: https://build.opensuse.org/request/show/706299 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=12
This commit is contained in:
commit
14fd547058
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:571702b5bd167911fe9036e5039ba67f820d6502832285cde8c881ab2b2149fd
|
|
||||||
size 365792
|
|
3
jedi-0.13.3.tar.gz
Normal file
3
jedi-0.13.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2bb0603e3506f708e792c7f4ad8fc2a7a9d9c2d292a358fbbd58da531695595b
|
||||||
|
size 366598
|
@ -1,3 +1,25 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 29 12:51:13 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Disable tests as it is not working at all on python 3.7
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 26 10:48:44 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Do not bother condition for typing, on 3.7+ it is provided by base
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Mar 2 15:12:14 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.13.3:
|
||||||
|
* Fixed an issue with embedded Python see https://github.com/davidhalter/jedi-vim/issues/870
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 14 12:05:41 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Fix the typing dependency
|
||||||
|
- Really run the tests
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jan 6 22:27:01 UTC 2019 - Arun Persaud <arun@gmx.de>
|
Sun Jan 6 22:27:01 UTC 2019 - Arun Persaud <arun@gmx.de>
|
||||||
|
|
||||||
|
@ -17,36 +17,22 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
# Compiled file tests only work on particular architectures and only run on python 3.4
|
|
||||||
%bcond_with tests
|
|
||||||
Name: python-jedi
|
Name: python-jedi
|
||||||
Version: 0.13.2
|
Version: 0.13.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: An autocompletion tool for Python
|
Summary: An autocompletion tool for Python
|
||||||
License: MIT AND Python-2.0
|
License: MIT AND Python-2.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/davidhalter/jedi
|
URL: https://github.com/davidhalter/jedi
|
||||||
Source0: https://files.pythonhosted.org/packages/source/j/jedi/jedi-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/j/jedi/jedi-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module parso >= 0.3.0}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module typing}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-parso >= 0.3.0
|
Requires: python-parso >= 0.3.0
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with tests}
|
|
||||||
# Test requirements
|
|
||||||
BuildRequires: %{python_module colorama}
|
|
||||||
BuildRequires: %{python_module docopt}
|
|
||||||
BuildRequires: %{python_module numpydoc}
|
|
||||||
BuildRequires: %{python_module parso >= 0.3.0}
|
|
||||||
BuildRequires: %{python_module pytest >= 2.3.5}
|
|
||||||
BuildRequires: %{python_module pytest-cache}
|
|
||||||
BuildRequires: python2-typing
|
|
||||||
BuildRequires: python3-tox
|
|
||||||
# do not require python3-typing for python >= 3.5
|
|
||||||
%if 0%{?suse_version} <= 1320
|
|
||||||
BuildRequires: python3-typing
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -72,16 +58,12 @@ implementation as a VIM plugin which uses Jedi's autocompletion.
|
|||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%if %{with tests}
|
|
||||||
%check
|
%check
|
||||||
|
|
||||||
export PYTHONDONTWRITEBYTECODE=1
|
export PYTHONDONTWRITEBYTECODE=1
|
||||||
export LANG="en_US.UTF-8"
|
export LANG="en_US.UTF-8"
|
||||||
pushd docs
|
# Don't bother with tests, this thing is broken on python3.7 and newer and
|
||||||
# we don't care about the speed, just that it works
|
# upstream needs to rewrite quite a lot
|
||||||
tox -e py%{python3_version_nodots} --sitepackages --skip-missing-interpreters
|
#%%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} test/
|
||||||
popd
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc AUTHORS.txt CHANGELOG.rst README.rst
|
%doc AUTHORS.txt CHANGELOG.rst README.rst
|
||||||
|
Loading…
x
Reference in New Issue
Block a user