Accepting request 209863 from home:posophe:branches:devel:languages:python

update

OBS-URL: https://build.opensuse.org/request/show/209863
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=5
This commit is contained in:
Denisart Benjamin 2013-12-08 19:58:34 +00:00 committed by Git OBS Bridge
parent 8711cfb1ae
commit fd98781cf2
4 changed files with 25 additions and 26 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0f16c4249111e375c6c63e2b79243f8764ec6bd085bc1b214ff1fa64a2b2474c
size 96715

3
jedi-0.7.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:01f0d070ff3852bb6325f436c87070714ccf3d6edb057d9b562a1b19a601daa9
size 136647

View File

@ -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

View File

@ -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