diff --git a/jedi-0.6.0.tar.gz b/jedi-0.6.0.tar.gz deleted file mode 100644 index 29182cc..0000000 --- a/jedi-0.6.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0f16c4249111e375c6c63e2b79243f8764ec6bd085bc1b214ff1fa64a2b2474c -size 96715 diff --git a/jedi-0.7.0.tar.gz b/jedi-0.7.0.tar.gz new file mode 100644 index 0000000..107031e --- /dev/null +++ b/jedi-0.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:01f0d070ff3852bb6325f436c87070714ccf3d6edb057d9b562a1b19a601daa9 +size 136647 diff --git a/python-jedi.changes b/python-jedi.changes index a777175..adbb5e8 100644 --- a/python-jedi.changes +++ b/python-jedi.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sun Dec 8 19:52:44 UTC 2013 - p.drouand@gmail.com + +- Update to version 0.7.0 + * switched from LGPL to MIT license + * added an Interpreter class to the API to make autocompletion + in REPL possible. + * added autocompletion support for namespace packages + * add sith.py, a new random testing method +- Change License to MIT +- Drop old python3 stuff + ------------------------------------------------------------------- Thu Oct 24 11:07:13 UTC 2013 - speilicke@suse.com diff --git a/python-jedi.spec b/python-jedi.spec index 8cc7f51..26983a3 100644 --- a/python-jedi.spec +++ b/python-jedi.spec @@ -15,35 +15,22 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - -%global build_for_python3 0 - -%if %{build_for_python3} -%global my_sitelib %{python3_sitelib} -%global my_python %{_bindir}/python3 -%else -%global my_sitelib %{python_sitelib} -%global my_python %{_bindir}/python2 -%endif - Name: python-jedi -Version: 0.6.0 +Version: 0.7.0 Release: 0 Summary: An autocompletion tool for Python -License: LGPL-3.0+ +License: MIT 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 - -%if %{build_for_python3} -BuildRequires: python3-devel -BuildRequires: python3-distribute -%else BuildRequires: python-devel BuildRequires: python-setuptools -%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()")} +%else BuildArch: noarch +%endif %description Jedi is an autocompletion tool for Python. It works. With and without syntax @@ -63,14 +50,14 @@ licensing, just contact me. %setup -q -n jedi-%{version} %build -%{my_python} setup.py build +python setup.py build %install -%{my_python} setup.py install --prefix=%{_prefix} --root=%{buildroot} +python setup.py install --prefix=%{_prefix} --root=%{buildroot} %files -%defattr(0644,root,root,0755) +%defattr(-,root,root,-) %doc AUTHORS.txt README.rst LICENSE.txt -%{my_sitelib}/* +%{python_sitelib}/* %changelog