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