Jedi is a static analysis tool for Python that can be used in IDEs/editors. Its

historic focus is autocompletion, but does static analysis for now as well.
Jedi is fast and is very well tested. It understands Python on a deeper level
than all other static analysis frameworks for Python.

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.
This commit is contained in:
adam 2017-10-16 17:03:06 +00:00
parent c74af3dfee
commit 34d979e366
5 changed files with 186 additions and 1 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.183 2017/09/30 07:24:22 wiz Exp $
# $NetBSD: Makefile,v 1.184 2017/10/16 17:03:06 adam Exp $
#
COMMENT= Editors
@ -110,6 +110,7 @@ SUBDIR+= pico
SUBDIR+= pluma
SUBDIR+= poedit
SUBDIR+= py-editor
SUBDIR+= py-jedi
SUBDIR+= rox-edit
SUBDIR+= sam
SUBDIR+= sandy

9
editors/py-jedi/DESCR Normal file
View file

@ -0,0 +1,9 @@
Jedi is a static analysis tool for Python that can be used in IDEs/editors. Its
historic focus is autocompletion, but does static analysis for now as well.
Jedi is fast and is very well tested. It understands Python on a deeper level
than all other static analysis frameworks for Python.
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.

19
editors/py-jedi/Makefile Normal file
View file

@ -0,0 +1,19 @@
# $NetBSD: Makefile,v 1.1 2017/10/16 17:03:06 adam Exp $
DISTNAME= jedi-0.11.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= editors python
MASTER_SITES= ${MASTER_SITE_PYPI:=j/jedi/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/davidhalter/jedi
COMMENT= Autocompletion tool for Python that can be used for text editors
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-parso>=0.1.0:../../lang/py-parso
DEPENDS+= ${PYPKGPREFIX}-readline-[0-9]*:../../devel/py-readline
USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

150
editors/py-jedi/PLIST Normal file
View file

@ -0,0 +1,150 @@
@comment $NetBSD: PLIST,v 1.1 2017/10/16 17:03:06 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/jedi/__init__.py
${PYSITELIB}/jedi/__init__.pyc
${PYSITELIB}/jedi/__init__.pyo
${PYSITELIB}/jedi/__main__.py
${PYSITELIB}/jedi/__main__.pyc
${PYSITELIB}/jedi/__main__.pyo
${PYSITELIB}/jedi/_compatibility.py
${PYSITELIB}/jedi/_compatibility.pyc
${PYSITELIB}/jedi/_compatibility.pyo
${PYSITELIB}/jedi/api/__init__.py
${PYSITELIB}/jedi/api/__init__.pyc
${PYSITELIB}/jedi/api/__init__.pyo
${PYSITELIB}/jedi/api/classes.py
${PYSITELIB}/jedi/api/classes.pyc
${PYSITELIB}/jedi/api/classes.pyo
${PYSITELIB}/jedi/api/completion.py
${PYSITELIB}/jedi/api/completion.pyc
${PYSITELIB}/jedi/api/completion.pyo
${PYSITELIB}/jedi/api/helpers.py
${PYSITELIB}/jedi/api/helpers.pyc
${PYSITELIB}/jedi/api/helpers.pyo
${PYSITELIB}/jedi/api/interpreter.py
${PYSITELIB}/jedi/api/interpreter.pyc
${PYSITELIB}/jedi/api/interpreter.pyo
${PYSITELIB}/jedi/api/keywords.py
${PYSITELIB}/jedi/api/keywords.pyc
${PYSITELIB}/jedi/api/keywords.pyo
${PYSITELIB}/jedi/api/replstartup.py
${PYSITELIB}/jedi/api/replstartup.pyc
${PYSITELIB}/jedi/api/replstartup.pyo
${PYSITELIB}/jedi/api/usages.py
${PYSITELIB}/jedi/api/usages.pyc
${PYSITELIB}/jedi/api/usages.pyo
${PYSITELIB}/jedi/cache.py
${PYSITELIB}/jedi/cache.pyc
${PYSITELIB}/jedi/cache.pyo
${PYSITELIB}/jedi/common.py
${PYSITELIB}/jedi/common.pyc
${PYSITELIB}/jedi/common.pyo
${PYSITELIB}/jedi/debug.py
${PYSITELIB}/jedi/debug.pyc
${PYSITELIB}/jedi/debug.pyo
${PYSITELIB}/jedi/evaluate/__init__.py
${PYSITELIB}/jedi/evaluate/__init__.pyc
${PYSITELIB}/jedi/evaluate/__init__.pyo
${PYSITELIB}/jedi/evaluate/analysis.py
${PYSITELIB}/jedi/evaluate/analysis.pyc
${PYSITELIB}/jedi/evaluate/analysis.pyo
${PYSITELIB}/jedi/evaluate/cache.py
${PYSITELIB}/jedi/evaluate/cache.pyc
${PYSITELIB}/jedi/evaluate/cache.pyo
${PYSITELIB}/jedi/evaluate/compiled/__init__.py
${PYSITELIB}/jedi/evaluate/compiled/__init__.pyc
${PYSITELIB}/jedi/evaluate/compiled/__init__.pyo
${PYSITELIB}/jedi/evaluate/compiled/fake.py
${PYSITELIB}/jedi/evaluate/compiled/fake.pyc
${PYSITELIB}/jedi/evaluate/compiled/fake.pyo
${PYSITELIB}/jedi/evaluate/compiled/fake/_functools.pym
${PYSITELIB}/jedi/evaluate/compiled/fake/_sqlite3.pym
${PYSITELIB}/jedi/evaluate/compiled/fake/_sre.pym
${PYSITELIB}/jedi/evaluate/compiled/fake/_weakref.pym
${PYSITELIB}/jedi/evaluate/compiled/fake/builtins.pym
${PYSITELIB}/jedi/evaluate/compiled/fake/datetime.pym
${PYSITELIB}/jedi/evaluate/compiled/fake/io.pym
${PYSITELIB}/jedi/evaluate/compiled/fake/operator.pym
${PYSITELIB}/jedi/evaluate/compiled/fake/posix.pym
${PYSITELIB}/jedi/evaluate/compiled/getattr_static.py
${PYSITELIB}/jedi/evaluate/compiled/getattr_static.pyc
${PYSITELIB}/jedi/evaluate/compiled/getattr_static.pyo
${PYSITELIB}/jedi/evaluate/compiled/mixed.py
${PYSITELIB}/jedi/evaluate/compiled/mixed.pyc
${PYSITELIB}/jedi/evaluate/compiled/mixed.pyo
${PYSITELIB}/jedi/evaluate/context.py
${PYSITELIB}/jedi/evaluate/context.pyc
${PYSITELIB}/jedi/evaluate/context.pyo
${PYSITELIB}/jedi/evaluate/docstrings.py
${PYSITELIB}/jedi/evaluate/docstrings.pyc
${PYSITELIB}/jedi/evaluate/docstrings.pyo
${PYSITELIB}/jedi/evaluate/dynamic.py
${PYSITELIB}/jedi/evaluate/dynamic.pyc
${PYSITELIB}/jedi/evaluate/dynamic.pyo
${PYSITELIB}/jedi/evaluate/filters.py
${PYSITELIB}/jedi/evaluate/filters.pyc
${PYSITELIB}/jedi/evaluate/filters.pyo
${PYSITELIB}/jedi/evaluate/finder.py
${PYSITELIB}/jedi/evaluate/finder.pyc
${PYSITELIB}/jedi/evaluate/finder.pyo
${PYSITELIB}/jedi/evaluate/flow_analysis.py
${PYSITELIB}/jedi/evaluate/flow_analysis.pyc
${PYSITELIB}/jedi/evaluate/flow_analysis.pyo
${PYSITELIB}/jedi/evaluate/helpers.py
${PYSITELIB}/jedi/evaluate/helpers.pyc
${PYSITELIB}/jedi/evaluate/helpers.pyo
${PYSITELIB}/jedi/evaluate/imports.py
${PYSITELIB}/jedi/evaluate/imports.pyc
${PYSITELIB}/jedi/evaluate/imports.pyo
${PYSITELIB}/jedi/evaluate/instance.py
${PYSITELIB}/jedi/evaluate/instance.pyc
${PYSITELIB}/jedi/evaluate/instance.pyo
${PYSITELIB}/jedi/evaluate/iterable.py
${PYSITELIB}/jedi/evaluate/iterable.pyc
${PYSITELIB}/jedi/evaluate/iterable.pyo
${PYSITELIB}/jedi/evaluate/jedi_typing.py
${PYSITELIB}/jedi/evaluate/jedi_typing.pyc
${PYSITELIB}/jedi/evaluate/jedi_typing.pyo
${PYSITELIB}/jedi/evaluate/param.py
${PYSITELIB}/jedi/evaluate/param.pyc
${PYSITELIB}/jedi/evaluate/param.pyo
${PYSITELIB}/jedi/evaluate/parser_cache.py
${PYSITELIB}/jedi/evaluate/parser_cache.pyc
${PYSITELIB}/jedi/evaluate/parser_cache.pyo
${PYSITELIB}/jedi/evaluate/pep0484.py
${PYSITELIB}/jedi/evaluate/pep0484.pyc
${PYSITELIB}/jedi/evaluate/pep0484.pyo
${PYSITELIB}/jedi/evaluate/precedence.py
${PYSITELIB}/jedi/evaluate/precedence.pyc
${PYSITELIB}/jedi/evaluate/precedence.pyo
${PYSITELIB}/jedi/evaluate/recursion.py
${PYSITELIB}/jedi/evaluate/recursion.pyc
${PYSITELIB}/jedi/evaluate/recursion.pyo
${PYSITELIB}/jedi/evaluate/representation.py
${PYSITELIB}/jedi/evaluate/representation.pyc
${PYSITELIB}/jedi/evaluate/representation.pyo
${PYSITELIB}/jedi/evaluate/site.py
${PYSITELIB}/jedi/evaluate/site.pyc
${PYSITELIB}/jedi/evaluate/site.pyo
${PYSITELIB}/jedi/evaluate/stdlib.py
${PYSITELIB}/jedi/evaluate/stdlib.pyc
${PYSITELIB}/jedi/evaluate/stdlib.pyo
${PYSITELIB}/jedi/evaluate/sys_path.py
${PYSITELIB}/jedi/evaluate/sys_path.pyc
${PYSITELIB}/jedi/evaluate/sys_path.pyo
${PYSITELIB}/jedi/parser_utils.py
${PYSITELIB}/jedi/parser_utils.pyc
${PYSITELIB}/jedi/parser_utils.pyo
${PYSITELIB}/jedi/refactoring.py
${PYSITELIB}/jedi/refactoring.pyc
${PYSITELIB}/jedi/refactoring.pyo
${PYSITELIB}/jedi/settings.py
${PYSITELIB}/jedi/settings.pyc
${PYSITELIB}/jedi/settings.pyo
${PYSITELIB}/jedi/utils.py
${PYSITELIB}/jedi/utils.pyc
${PYSITELIB}/jedi/utils.pyo

6
editors/py-jedi/distinfo Normal file
View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2017/10/16 17:03:06 adam Exp $
SHA1 (jedi-0.11.0.tar.gz) = 3dde84f870027f343e03dd33206c5aab30ca38b1
RMD160 (jedi-0.11.0.tar.gz) = c057c5e28b98fc00386ad7024a9e0ea2d20b38f9
SHA512 (jedi-0.11.0.tar.gz) = 64ea90518b6f88ceea9b3a18a8bba23815a49f5aa93a89a56763224dbb949c4e6d5641180d1793f06006ae138eb8b1a25d08e0e53188ce0cd193925d450260bd
Size (jedi-0.11.0.tar.gz) = 337972 bytes