diff options
| author | Crucible <crucible@localhost> | 2026-10-13 03:05:05 -0500 |
|---|---|---|
| committer | Crucible <crucible@localhost> | 2026-10-13 03:05:05 -0500 |
| commit | 08c02fb1d2b7ed86dd6ab8a3cd5d189ddceaae30 (patch) | |
| tree | 8edc2129eda023768fbc465adad6d7c607c9a5e1 /dev-python/jedi | |
| parent | 42e1d69f600f60eeea07929200c9f1242db29617 (diff) | |
| download | srcux-08c02fb1d2b7ed86dd6ab8a3cd5d189ddceaae30.tar.gz srcux-08c02fb1d2b7ed86dd6ab8a3cd5d189ddceaae30.tar.xz srcux-08c02fb1d2b7ed86dd6ab8a3cd5d189ddceaae30.zip | |
Publish srcux candidate 0000000648-20261013-030308
Diffstat (limited to 'dev-python/jedi')
| -rw-r--r-- | dev-python/jedi/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/jedi/jedi-0.20.1.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/jedi/Manifest b/dev-python/jedi/Manifest index 9eed22a4c1ba..0401e7b81ebe 100644 --- a/dev-python/jedi/Manifest +++ b/dev-python/jedi/Manifest @@ -1 +1,2 @@ DIST jedi-0.20.0.tar.gz 3119416 BLAKE2B a5e70e6e815b417ce22f518af384d26452695bcc3693505960aba5ed417fdf06f23e9d9d197b1b0aae17fd302c77fc3275390da3828767b395211c118b253970 SHA512 17775ab845b661dd3b93963b12055013a54314680d717087d49f64cb03332a5b5716dbfeb59e821aba34e2962c8bd01b86e8de881fb64dd31b374ef58b50ff00 +DIST jedi-0.20.1.tar.gz 3121738 BLAKE2B 014f7b2a38f65142c8c8c22884471bee183d1bab823d3611c1316a7dd2729a66cd37d9ed0faed603eca914337f6b161571d157f6cce1bebc944e6f9096e3f7da SHA512 761f46e092f4f238562824e825d5a940af0d77ec0d4fec60103484743025e71fc3752d7f6d561895735f2e27f5c9bb477e9e80a79fb86de84a28650eb8693a52 diff --git a/dev-python/jedi/jedi-0.20.1.ebuild b/dev-python/jedi/jedi-0.20.1.ebuild new file mode 100644 index 000000000000..ec037c5d42c3 --- /dev/null +++ b/dev-python/jedi/jedi-0.20.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Autocompletion library for Python" +HOMEPAGE=" + https://github.com/davidhalter/jedi/ + https://pypi.org/project/jedi/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +RDEPEND=" + <dev-python/parso-0.9[${PYTHON_USEDEP}] + >=dev-python/parso-0.8.6[${PYTHON_USEDEP}] +" + +# RDEPEND needed because of an import jedi inside conf.py +distutils_enable_sphinx docs \ + dev-python/parso \ + dev-python/sphinx-rtd-theme +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_prepare_all() { + # test_complete_expanduser relies on $HOME not being empty + > "${HOME}"/somefile || die + + distutils-r1_python_prepare_all +} + +python_test() { + local EPYTEST_DESELECT=( + # fragile + test/test_speed.py + # assumes pristine virtualenv + test/test_inference/test_imports.py::test_duplicated_import + test/test_inference/test_imports.py::test_os_issues + ) + + case ${EPYTHON} in + python3.15*) + EPYTEST_DESELECT+=( + test/test_inference/test_sys_path.py::test_venv_and_pths + ) + ;; + esac + + # django and pytest tests are very version dependent + epytest -o addopts= -k "not django and not pytest" +} |
