Hello community,

here is the log from the commit of package python-jedi for openSUSE:Factory 
checked in at 2017-05-17 17:17:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jedi (Old)
 and      /work/SRC/openSUSE:Factory/.python-jedi.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jedi"

Wed May 17 17:17:46 2017 rev:5 rq:493067 version:0.10.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jedi/python-jedi.changes  2015-11-06 
00:04:33.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-jedi.new/python-jedi.changes     
2017-05-17 17:17:50.489412859 +0200
@@ -1,0 +2,35 @@
+Fri Apr 28 17:16:29 UTC 2017 - [email protected]
+
+- Grammatical corrections to description.
+  Replace historic focus by current focus.
+
+-------------------------------------------------------------------
+Thu Apr 27 18:17:53 UTC 2017 - [email protected]
+
+- Fix license.
+
+-------------------------------------------------------------------
+Thu Apr 27 15:47:45 UTC 2017 - [email protected]
+
+- Disable tests on non-x86/x86_64 platforms.
+
+-------------------------------------------------------------------
+Tue Apr 25 15:40:49 UTC 2017 - [email protected]
+
+- Update to version 0.10.2
+  * Python Packaging sucks. Some files were not included in 0.10.1.
+- Update to version 0.10.1
+  * Fixed a few very annoying bugs.
+  * Prepared the parser to be factored out of Jedi.
+- Update to version 0.10.0
+  * Actual semantic completions for the complete Python syntax.
+  * Basic type inference for ``yield from`` PEP 380.
+  * PEP 484 support (most of the important features of it).
+  * Added ``get_line_code`` to ``Definition`` and ``Completion``
+    objects.
+  * Completely rewritten the type inference engine.
+  * A new and better parser for (fast) parsing diffs of Python
+    code.
+- Implement single-spec version
+
+-------------------------------------------------------------------

Old:
----
  jedi-0.9.0.tar.gz

New:
----
  jedi-0.10.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-jedi.spec ++++++
--- /var/tmp/diff_new_pack.p9xH2B/_old  2017-05-17 17:17:51.129322623 +0200
+++ /var/tmp/diff_new_pack.p9xH2B/_new  2017-05-17 17:17:51.133322059 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jedi
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,60 +16,81 @@
 #
 
 
+# Compiled file tests only work on particular architectures and only run on 
python 3.4
+%ifnarch %ix86 x86_64
+%if %{python3_version_nodots} == 34
+%bcond_with tests
+%else
+%bcond_without tests
+%endif
+%else
+%bcond_without tests
+%endif
+
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-jedi
-Version:        0.9.0
+Version:        0.10.2
 Release:        0
 Summary:        An autocompletion tool for Python
-License:        MIT
+License:        MIT and Python-2.0
 Group:          Development/Languages/Python
-Url:            https://jedi.readthedocs.org/en/latest/index.html
-Source0:        
https://pypi.python.org/packages/source/j/jedi/jedi-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-docopt
-BuildRequires:  python-pytest
-BuildRequires:  python-setuptools
-Requires:       python-docopt
+Url:            https://github.com/davidhalter/jedi
+Source0:        
https://files.pythonhosted.org/packages/source/j/jedi/jedi-%{version}.tar.gz
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+%if %{with tests}
+# Test requirements
+BuildRequires:  %{python_module colorama}
+BuildRequires:  %{python_module docopt}
+BuildRequires:  %{python_module pytest >= 2.3.5}
+BuildRequires:  %{python_module pytest-cache}
+BuildRequires:  %{python_module typing}
+BuildRequires:  python3-tox
+%endif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-BuildRequires:  python-unittest2
-%else
 BuildArch:      noarch
-%endif
+%python_subpackages
 
 %description
-Jedi is an autocompletion tool for Python. It works. With and without syntax
-errors. Sometimes it sucks, but that's normal in dynamic languages. But it
-sucks less than other tools. It understands almost all of the basic Python
-syntax elements including many builtins.
-
-Jedi suports two different goto functions and has support for renaming.
-Probably it will also have some support for refactoring in the future.
-
-Jedi uses a very simple interface to connect with IDE's. As an reference, there
-is a VIM implementation, which uses Jedi's autocompletion. However, I encourage
-you to use Jedi in your IDEs. Start writing plugins! If there are problems with
-licensing, just contact me.
+Jedi is a static analysis tool for Python that can be used in
+IDEs/editors. Its focus is autocompletion and static
+analysis.
+
+Jedi has support for two different goto functions. It’s possible to
+search for related names and to list all names in a Python file and
+infer them. Jedi understands docstrings and you can use Jedi
+autocompletion in your REPL as well.
+
+Jedi uses an API to connect with IDEs. There is a reference
+implementation as a VIM plugin which uses Jedi's autocompletion.
 
 %prep
 %setup -q -n jedi-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-rm -rf build
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%if %{with tests}
 %check
+
+export PYTHONDONTWRITEBYTECODE=1
+export LANG="en_US.UTF-8"
+pushd docs
 # we don't care about the speed, just that it works
-# skip failing import tests on 0.9.0
-# skip broken doctests on 0.9.0
-py.test -p "no:doctest" -k "not test_speed" 
--ignore=test/test_integration_import.py 
--ignore=test/test_evaluate/test_extension.py
+tox --sitepackages --skip-missing-interpreters
+popd
+%endif
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
-%doc AUTHORS.txt CHANGELOG.rst README.rst LICENSE.txt
-%{python_sitelib}/*
+%doc AUTHORS.txt CHANGELOG.rst LICENSE.txt README.rst 
+%{python_sitelib}/jedi-%{version}-py*.egg-info
+%{python_sitelib}/jedi/
 
 %changelog

++++++ jedi-0.9.0.tar.gz -> jedi-0.10.2.tar.gz ++++++
++++ 29768 lines of diff (skipped)


Reply via email to