Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jedi/
Date: Sun, 06 Nov 2022 07:59:33
Message-Id: 1667721559.f6ba1bcfbb8856e297d5230c696b7cebb5984eb7.mgorny@gentoo
1 commit: f6ba1bcfbb8856e297d5230c696b7cebb5984eb7
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 6 07:36:44 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 6 07:59:19 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6ba1bcf
7
8 dev-python/jedi: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/jedi/Manifest | 1 -
13 dev-python/jedi/jedi-0.18.1.ebuild | 79 --------------------------------------
14 2 files changed, 80 deletions(-)
15
16 diff --git a/dev-python/jedi/Manifest b/dev-python/jedi/Manifest
17 index 7de7fa4cc6b1..946296b9216f 100644
18 --- a/dev-python/jedi/Manifest
19 +++ b/dev-python/jedi/Manifest
20 @@ -1,4 +1,3 @@
21 DIST django-stubs-fd057010f6cbf176f57d1099e82be46d39b99cb9.tar.gz 183312 BLAKE2B a68f6139903f5001db994ee0d881f40ab74932e81c3e2c3a0c22dc56e6be681d0fb42ce837603b21e4d0d448ccb25884ef0f69039305f309e82603267cee9f6a SHA512 506322c132f94e6a1e88cdbde6027a566387731fa6ad59934f95c3511f49d90eff2a3138363811be648b096407d418cd1f801df0bc35b1e464ef181e4076ada1
22 DIST jedi-0.18.1.gh.tar.gz 466884 BLAKE2B c2403b20447b27b1fb19c16d1131299154fcb767453116964b339bf7ef4a1ca20b6c3216c3fbd63c304dd2c0c02a67702d5228e1d847975b778597dc58b489d1 SHA512 c72dc4927fe44641ea57c61e68b3c74c3a3f70ddc2990454ba931026c288723e07263918ecbb4ecc6f79716d37e10a1b1448ae8cfc6d52465122b3d1e43bea25
23 -DIST jedi-0.18.1.tar.gz 466884 BLAKE2B c2403b20447b27b1fb19c16d1131299154fcb767453116964b339bf7ef4a1ca20b6c3216c3fbd63c304dd2c0c02a67702d5228e1d847975b778597dc58b489d1 SHA512 c72dc4927fe44641ea57c61e68b3c74c3a3f70ddc2990454ba931026c288723e07263918ecbb4ecc6f79716d37e10a1b1448ae8cfc6d52465122b3d1e43bea25
24 DIST typeshed-ae9d4f4b21bb5e1239816c301da7b1ea904b44c3.tar.gz 602044 BLAKE2B 53298918a7e9a1163e76d4c70ad2a2117ee90b49329aa82d82b2aaaeaf000c971872f83ed283af6dc4be068b813876760c8b1b4acb4131865572a4aed3ea9230 SHA512 b3b9da66b6c6e03e0b262b3262df31215a5e080468ca9ebf4332ed53d715cd3956db7067fad3ec267042ff704f81ac665c703ef2fd0c5b445d440bd8e52bf1aa
25
26 diff --git a/dev-python/jedi/jedi-0.18.1.ebuild b/dev-python/jedi/jedi-0.18.1.ebuild
27 deleted file mode 100644
28 index 6ae29b6d32a2..000000000000
29 --- a/dev-python/jedi/jedi-0.18.1.ebuild
30 +++ /dev/null
31 @@ -1,79 +0,0 @@
32 -# Copyright 1999-2022 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=8
36 -
37 -DISTUTILS_USE_PEP517=setuptools
38 -PYTHON_COMPAT=( python3_{8..10} )
39 -
40 -inherit distutils-r1
41 -
42 -TYPESHED_P="typeshed-ae9d4f4b21bb5e1239816c301da7b1ea904b44c3"
43 -DJANGO_STUBS_P="django-stubs-fd057010f6cbf176f57d1099e82be46d39b99cb9"
44 -
45 -DESCRIPTION="Autocompletion library for Python"
46 -HOMEPAGE="
47 - https://github.com/davidhalter/jedi/
48 - https://pypi.org/project/jedi/
49 -"
50 -SRC_URI="
51 - https://github.com/davidhalter/${PN}/archive/v${PV}.tar.gz
52 - -> ${P}.tar.gz
53 - https://github.com/davidhalter/typeshed/archive/${TYPESHED_P#typeshed-}.tar.gz
54 - -> ${TYPESHED_P}.tar.gz
55 - https://github.com/davidhalter/django-stubs/archive/${DJANGO_STUBS_P#django-stubs-}.tar.gz
56 - -> ${DJANGO_STUBS_P/v/}.tar.gz
57 -"
58 -
59 -LICENSE="
60 - MIT
61 - test? ( Apache-2.0 )
62 -"
63 -SLOT="0"
64 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86"
65 -
66 -RDEPEND="
67 - =dev-python/parso-0.8*[${PYTHON_USEDEP}]
68 -"
69 -
70 -# RDEPEND needed because of an import jedi inside conf.py
71 -distutils_enable_sphinx docs \
72 - dev-python/parso \
73 - dev-python/sphinx_rtd_theme
74 -distutils_enable_tests pytest
75 -
76 -python_prepare_all() {
77 - # upstream includes these as submodules ...
78 - rmdir "${S}"/jedi/third_party/{django-stubs,typeshed} || die
79 - mv "${WORKDIR}/${DJANGO_STUBS_P/v/}" \
80 - "${S}/jedi/third_party/django-stubs" || die
81 - mv "${WORKDIR}/${TYPESHED_P}" \
82 - "${S}/jedi/third_party/typeshed" || die
83 -
84 - # don't run doctests, don't depend on colorama
85 - sed -i "s:'docopt',:: ; s:'colorama',::" setup.py || die
86 - sed -i "s: --doctest-modules::" pytest.ini || die
87 -
88 - # test_complete_expanduser relies on $HOME not being empty
89 - > "${HOME}"/somefile || die
90 -
91 - distutils-r1_python_prepare_all
92 -}
93 -
94 -python_test() {
95 - local EPYTEST_DESELECT=(
96 - # fragile
97 - test/test_speed.py
98 - # assumes pristine virtualenv
99 - test/test_inference/test_imports.py::test_os_issues
100 - )
101 - [[ ${EPYTHON} != python3.8 ]] && EPYTEST_DESELECT+=(
102 - # TODO
103 - 'test/test_integration.py::test_completion[lambdas:112]'
104 - )
105 -
106 - # some plugin breaks case-insensitivity on completions
107 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
108 - # django and pytest tests are very version dependent
109 - epytest -k "not django and not pytest"
110 -}