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/files/, dev-python/jedi/
Date: Thu, 20 Aug 2020 11:39:59
Message-Id: 1597923585.ecfe76618891dccb487c3e7de533681f1fb50ee3.mgorny@gentoo
1 commit: ecfe76618891dccb487c3e7de533681f1fb50ee3
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 20 11:38:09 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 20 11:39:45 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecfe7661
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/files/jedi-0.17.0-tests.patch | 26 ---------
14 dev-python/jedi/jedi-0.17.0.ebuild | 76 ---------------------------
15 3 files changed, 103 deletions(-)
16
17 diff --git a/dev-python/jedi/Manifest b/dev-python/jedi/Manifest
18 index e686eef9d2d..da3f6c79a8c 100644
19 --- a/dev-python/jedi/Manifest
20 +++ b/dev-python/jedi/Manifest
21 @@ -1,6 +1,5 @@
22 DIST django-stubs-1.5.0.tar.gz 180400 BLAKE2B 0619a76f89fe4fad456a82e3048009f25fdfd8b8e3071fd5a0cc0eebd62b3e9e8b77d29c5e4e8d1e0297fc466cc7e0c49771750b609fff49516e2aa1499c198b SHA512 c3e89f02a22561b5446e1cc0f01be791767984b5791fe5bd362ec6128e2ba7b32e921f9ee719a80ace05f7f0c84a912731700b457761f64617c1415cd232c7da
23 DIST jedi-0.15.2.tar.gz 422520 BLAKE2B f382e4026e1d0388c03b5116ea49fe4abf117c1555ccf0159541557e8d0d344774e15b983fbc66f996f60ae38552bb3b89f3f9cc809ab57f511a01664612f08f SHA512 079d9fc104125d188c72cfc0bd0ccd4de88eb5e7cdfba86e44f840e2427d0ab114bb812dad8e814e502e773d3a59f166547f5f6f287a5eedae64af99e8b5616e
24 -DIST jedi-0.17.0.tar.gz 462810 BLAKE2B 71eeb3e3fa23786c577fbcb3727a49111d6188c2a5d9e13538123c7c6817b67d457f3bb88423dc9dac6ee09dec89d7281c86166bc771fa0215cd327a4432ebd7 SHA512 562ae25f0c4709cfe36fe4e737d383190d8ad435b3ff580b9fbe966544c8d035cfa29815459ceecfafd704547560a8dc397f841989043e6e18c8f9d639f75399
25 DIST jedi-0.17.1.tar.gz 472489 BLAKE2B 7486925cb307f6a25538c2f5d52763802222561cfc4beca1637e433f4450b06ef328204e75779b6b2ac4ca2cfcf5ab647daecd329941ca6fb0ae2a5dd2bd8b5f SHA512 0a9d552d2b4c45730c9cccf06ebb434b159b755acea0dbaddf5f628dccf8e9c752e03d151258e377b817f1a25fb9ca8e0289dbd2da290f55dc719883413b65cf
26 DIST jedi-0.17.2.tar.gz 474372 BLAKE2B cd0bf217202e4413a7d4f1d4095fb22ad5c3de557993fd33e246a1fb516992a16a7382db9e18e0c0414ff5d927008c8148e9bbd8ee0dbd62368d01a31611c326 SHA512 cd96faa6f9cd6e8ad8b9a52ceaa6a84f30c8ced51b20d621932f0babf1b90bbc445fbe5ffd11a4f0e356bf20bdd1da756ccc3574e5fc978883de72dfdb519977
27 DIST typeshed-jedi_v0.15.0.tar.gz 466890 BLAKE2B 7c4956c60646ecb7f21704e3ce95cd38a44e40849e4efba352a0be11c4511fc28d77f32308a3f136cd72833f937f802194ae57f1cdf1d53ae7824ebe4f4bc323 SHA512 46250822eb4aa20203db9b99626e33f2b60ec77072e20dbd94219d782cf204e2cc5a94579b1753c634f931445ad4ef9f0bd7ccfed287d86bca96b945d2eb27c1
28
29 diff --git a/dev-python/jedi/files/jedi-0.17.0-tests.patch b/dev-python/jedi/files/jedi-0.17.0-tests.patch
30 deleted file mode 100644
31 index d045340d093..00000000000
32 --- a/dev-python/jedi/files/jedi-0.17.0-tests.patch
33 +++ /dev/null
34 @@ -1,26 +0,0 @@
35 -From 57f2a731d2e5c4fe5794d823154983e44e8df003 Mon Sep 17 00:00:00 2001
36 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@g.o>
37 -Date: Wed, 15 Apr 2020 07:54:01 +0200
38 -Subject: [PATCH] Sort test_project::test_search results to fix failures
39 -
40 -Fixes #1542
41 ----
42 - test/test_api/test_project.py | 2 +-
43 - 1 file changed, 1 insertion(+), 1 deletion(-)
44 -
45 -diff --git a/test/test_api/test_project.py b/test/test_api/test_project.py
46 -index a7d4846e..c21579a5 100644
47 ---- a/test/test_api/test_project.py
48 -+++ b/test/test_api/test_project.py
49 -@@ -135,7 +135,7 @@ def test_search(string, full_names, kwargs, skip_pre_python36):
50 - defs = project.complete_search(string, **kwargs)
51 - else:
52 - defs = project.search(string, **kwargs)
53 -- assert [('stub:' if d.is_stub() else '') + d.full_name for d in defs] == full_names
54 -+ assert sorted([('stub:' if d.is_stub() else '') + d.full_name for d in defs]) == full_names
55 -
56 -
57 - @pytest.mark.parametrize(
58 ---
59 -2.26.0
60 -
61
62 diff --git a/dev-python/jedi/jedi-0.17.0.ebuild b/dev-python/jedi/jedi-0.17.0.ebuild
63 deleted file mode 100644
64 index 4e89165f9f5..00000000000
65 --- a/dev-python/jedi/jedi-0.17.0.ebuild
66 +++ /dev/null
67 @@ -1,76 +0,0 @@
68 -# Copyright 1999-2020 Gentoo Authors
69 -# Distributed under the terms of the GNU General Public License v2
70 -
71 -EAPI=7
72 -
73 -PYTHON_COMPAT=( python3_{6..9} )
74 -
75 -inherit distutils-r1
76 -
77 -TYPESHED_PV="0.16.0"
78 -TYPESHED_P="typeshed-jedi_v${TYPESHED_PV}"
79 -
80 -DESCRIPTION="Autocompletion library for Python"
81 -HOMEPAGE="https://github.com/davidhalter/jedi"
82 -SRC_URI="
83 - https://github.com/davidhalter/${PN}/archive/v${PV}.tar.gz
84 - -> ${P}.tar.gz
85 - https://github.com/davidhalter/typeshed/archive/${TYPESHED_P#typeshed-}.tar.gz
86 - -> ${TYPESHED_P}.tar.gz"
87 -
88 -LICENSE="MIT
89 - test? ( Apache-2.0 )"
90 -SLOT="0"
91 -KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 x86"
92 -
93 -RDEPEND=">=dev-python/parso-0.5.2[${PYTHON_USEDEP}]"
94 -
95 -distutils_enable_sphinx docs \
96 - dev-python/sphinx_rtd_theme
97 -distutils_enable_tests pytest
98 -
99 -python_prepare_all() {
100 - local PATCHES=(
101 - "${FILESDIR}"/jedi-0.17.0-tests.patch
102 - )
103 -
104 - # upstream includes this as a submodule ...
105 - rmdir "${S}/jedi/third_party/typeshed" || die
106 - mv "${WORKDIR}/${TYPESHED_P}" \
107 - "${S}/jedi/third_party/typeshed" || die
108 -
109 - # don't run doctests, don't depend on colorama
110 - sed -i "s:'docopt',:: ; s:'colorama',::" setup.py || die
111 - sed -i "s: --doctest-modules::" pytest.ini || die
112 -
113 - # speed tests are fragile
114 - rm test/test_speed.py || die
115 -
116 - # test_complete_expanduser relies on $HOME not being empty
117 - touch "${HOME}"/somefile || die
118 -
119 - # TODO: investigate
120 - sed -e 's:test_local_import:_&:' \
121 - -i test/test_utils.py || die
122 - sed -e '/with sqlite3\.connect/,+2d' \
123 - -i test/completion/stdlib.py || die
124 -
125 - # really silly assumptions, not fit for py3.8/3.9
126 - sed -e '/len(difference)/s:20:27:' \
127 - -i test/test_utils.py || die
128 - # py3.9
129 - sed -e 's:test_infer_on_generator:_&:' \
130 - -i test/test_api/test_api.py || die
131 -
132 - # tests relying on pristine virtualenv
133 - # this relies on test* not matching anything else
134 - sed -e "/#\? \['test'\]/,+1d" \
135 - -i test/completion/on_import.py || die
136 - # this one's broken by 'path' module (dev-python/path-py)
137 - sed -e 's:test_os_issues:_&:' \
138 - -i test/test_inference/test_imports.py || die
139 - sed -e 's:test_venv_and_pths:_&:' \
140 - -i test/test_inference/test_sys_path.py || die
141 -
142 - distutils-r1_python_prepare_all
143 -}