Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Update
python3-jedi
python3-jedi.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python3-jedi.spec of Package python3-jedi
# # spec file for package python3-jedi # # Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: python3-jedi Version: 0.9.0 Release: 0 Summary: An autocompletion tool for Python 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 BuildRequires: python3-devel BuildRequires: python3-docopt BuildRequires: python3-pytest BuildRequires: python3-setuptools Requires: python3-docopt BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %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. %prep %setup -q -n jedi-%{version} # fix unicode issues sed -i "s/).read()/, encoding='utf-8').read()/g" setup.py %build python3 setup.py build %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} rm -rf build %check # fix unicode issues sed -i "s/open(path).read()/open(path, encoding='utf-8').read()/g" test/run.py # we don't care about the speed, just that it works # skip failing import tests on 0.9.0 py.test -k "not test_speed" --ignore=test/test_integration_import.py %files %defattr(0644,root,root,0755) %doc AUTHORS.txt CHANGELOG.rst README.rst LICENSE.txt %{python3_sitelib}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor