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/mypy/
Date: Sat, 30 Jul 2022 11:19:41
Message-Id: 1659179938.0b16f779c77a1c7bbc8047c71195410c3ab1c809.mgorny@gentoo
1 commit: 0b16f779c77a1c7bbc8047c71195410c3ab1c809
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 30 11:18:58 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 30 11:18:58 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b16f779
7
8 dev-python/mypy: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/mypy/Manifest | 3 --
13 dev-python/mypy/mypy-0.942.ebuild | 66 ---------------------------------------
14 dev-python/mypy/mypy-0.950.ebuild | 55 --------------------------------
15 dev-python/mypy/mypy-0.960.ebuild | 61 ------------------------------------
16 4 files changed, 185 deletions(-)
17
18 diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest
19 index 42f128d7d32b..6f06f70e857c 100644
20 --- a/dev-python/mypy/Manifest
21 +++ b/dev-python/mypy/Manifest
22 @@ -1,5 +1,2 @@
23 -DIST mypy-0.942.tar.gz 2701940 BLAKE2B 5501466e57b4afb8825e6c804cbdc270c79ff457c39f2e5834f4b68df70263c05b2b9abb08fe58202ee65f5e22d2291f39fcb1fc47168416134538c5f6e12ab3 SHA512 79b83587eefad10d7d20d3bfd8484a9e8b2d363e68c1e5ffaa3a82ca8b8f8d9183036ea46695a634f9156911d6f918af684ac636105b37b3a5d0e958f5d661f4
24 -DIST mypy-0.950.tar.gz 2746164 BLAKE2B 8466012fd3622f5e730acef774115ac84ff8c6f5488213a450de63d5acc790f937b7c69a1b05b46deef6fe8f81a13ed8e85f83c6c22cce9abdbb73b2ecf4179c SHA512 949d1dade3f225bbef0934fff040f7d5aec47039f554a669ca491d6cb46d56de3fcae0186864cdcaf5dec1347bc3af453218520536a0afa77e89a5c0e4640500
25 -DIST mypy-0.960.tar.gz 2767017 BLAKE2B 54ca4b9ffeef1f9211569ae8daee3ae201bfc6239eb9530dd5b7bb53983b0f9d343951dc49e4c4cd257660491be3805d7b8a3b5621dd25f1b7726f522a1c74df SHA512 1caa5ea5d87631a00acabd712053193aac4ed2f475760da90e395d64c44092797e45a4793a5fa2dc05458e9d2411b5cde14811c8a5112376c00baf9792df923f
26 DIST mypy-0.961.gh.tar.gz 2767264 BLAKE2B 333e860f2416d065fd26f29f818e88c25f223c8f558bd174280ccfbe856c823253095830cc9cc44dd453b3661583d7626e5679ce1e44479b62ed75139051a9a2 SHA512 f7f57d38777256a45c950a45e832b6f1b9465a6663056472a9b32dc8c1d38b4d28ed856f4de12202de5910eeb6197a22073e12924a1e3f58d5631aaa938c0f2a
27 DIST mypy-0.971.gh.tar.gz 2808674 BLAKE2B 7f3b183a4c5342ddfc501b8091c078ac55803db86d43042220e18e3e616664ce91ddeb341b45b1d80c7686f8c2f3606af074a5dcb9c9eaacd6307578d3689981 SHA512 5088efbd74385b5a8c155ae6e756deed274bf3e597df13e57970a29c029c34c91453c45fc1d2d03b7d83cd786b8930a387a781e1b9cb72102c1f07263a346c6d
28
29 diff --git a/dev-python/mypy/mypy-0.942.ebuild b/dev-python/mypy/mypy-0.942.ebuild
30 deleted file mode 100644
31 index 885551008048..000000000000
32 --- a/dev-python/mypy/mypy-0.942.ebuild
33 +++ /dev/null
34 @@ -1,66 +0,0 @@
35 -# Copyright 1999-2022 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=8
39 -
40 -DISTUTILS_USE_PEP517=setuptools
41 -PYTHON_COMPAT=( python3_{8..10} )
42 -
43 -inherit distutils-r1 multiprocessing
44 -
45 -DESCRIPTION="Optional static typing for Python"
46 -HOMEPAGE="http://www.mypy-lang.org/"
47 -SRC_URI="https://github.com/python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
48 -
49 -LICENSE="MIT"
50 -SLOT="0"
51 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86"
52 -
53 -# stubgen collides with this package: https://bugs.gentoo.org/585594
54 -RDEPEND="
55 - !dev-util/stubgen
56 - >=dev-python/psutil-4[${PYTHON_USEDEP}]
57 - >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]
58 - <dev-python/typed-ast-1.5.0[${PYTHON_USEDEP}]
59 - >=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}]
60 - >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}]
61 - <dev-python/mypy_extensions-0.5.0[${PYTHON_USEDEP}]
62 - dev-python/tomli[${PYTHON_USEDEP}]
63 -"
64 -BDEPEND="
65 - test? (
66 - >=dev-python/attrs-18.0[${PYTHON_USEDEP}]
67 - >=dev-python/lxml-4.4.0[${PYTHON_USEDEP}]
68 - >=dev-python/pytest-6.1.0[${PYTHON_USEDEP}]
69 - >=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}]
70 - >=dev-python/py-1.5.2[${PYTHON_USEDEP}]
71 - >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]
72 - >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]
73 - )
74 -"
75 -
76 -distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme
77 -distutils_enable_tests pytest
78 -
79 -# this requires packaging a lot of type stubs
80 -export MYPY_USE_MYPYC=0
81 -
82 -python_test() {
83 - local EPYTEST_DESELECT=(
84 - # Fails with pytest-xdist 2.3.0
85 - # https://github.com/python/mypy/issues/11019
86 - mypy/test/teststubtest.py
87 - # fails due to setuptools deprecation warnings
88 - mypyc/test/test_run.py::TestRun::run-imports.test::testImports
89 - )
90 -
91 - [[ "${EPYTHON}" == "python3.10" ]] && EPYTEST_DESELECT+=(
92 - # https://github.com/python/mypy/issues/11018
93 - mypyc/test/test_commandline.py::TestCommandLine::testErrorOutput
94 - )
95 -
96 - # Some mypy/test/testcmdline.py::PythonCmdlineSuite tests
97 - # fail with high COLUMNS values
98 - local -x COLUMNS=80
99 - epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
100 -}
101
102 diff --git a/dev-python/mypy/mypy-0.950.ebuild b/dev-python/mypy/mypy-0.950.ebuild
103 deleted file mode 100644
104 index 06f879d5724c..000000000000
105 --- a/dev-python/mypy/mypy-0.950.ebuild
106 +++ /dev/null
107 @@ -1,55 +0,0 @@
108 -# Copyright 1999-2022 Gentoo Authors
109 -# Distributed under the terms of the GNU General Public License v2
110 -
111 -EAPI=8
112 -
113 -DISTUTILS_USE_PEP517=setuptools
114 -PYTHON_COMPAT=( python3_{8..10} )
115 -
116 -inherit distutils-r1 multiprocessing
117 -
118 -DESCRIPTION="Optional static typing for Python"
119 -HOMEPAGE="http://www.mypy-lang.org/"
120 -SRC_URI="https://github.com/python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
121 -
122 -LICENSE="MIT"
123 -SLOT="0"
124 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
125 -
126 -# stubgen collides with this package: https://bugs.gentoo.org/585594
127 -RDEPEND="
128 - !dev-util/stubgen
129 - >=dev-python/psutil-4[${PYTHON_USEDEP}]
130 - >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]
131 - <dev-python/typed-ast-1.5.0[${PYTHON_USEDEP}]
132 - >=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}]
133 - >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}]
134 - <dev-python/mypy_extensions-0.5.0[${PYTHON_USEDEP}]
135 - $(python_gen_cond_dep '
136 - dev-python/tomli[${PYTHON_USEDEP}]
137 - ' 3.8 3.9 3.10)
138 -"
139 -BDEPEND="
140 - test? (
141 - >=dev-python/attrs-18.0[${PYTHON_USEDEP}]
142 - >=dev-python/lxml-4.4.0[${PYTHON_USEDEP}]
143 - >=dev-python/pytest-6.1.0[${PYTHON_USEDEP}]
144 - >=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}]
145 - >=dev-python/py-1.5.2[${PYTHON_USEDEP}]
146 - >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]
147 - >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]
148 - )
149 -"
150 -
151 -distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme
152 -distutils_enable_tests pytest
153 -
154 -# this requires packaging a lot of type stubs
155 -export MYPY_USE_MYPYC=0
156 -
157 -python_test() {
158 - # Some mypy/test/testcmdline.py::PythonCmdlineSuite tests
159 - # fail with high COLUMNS values
160 - local -x COLUMNS=80
161 - epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
162 -}
163
164 diff --git a/dev-python/mypy/mypy-0.960.ebuild b/dev-python/mypy/mypy-0.960.ebuild
165 deleted file mode 100644
166 index 53e61a80d3b6..000000000000
167 --- a/dev-python/mypy/mypy-0.960.ebuild
168 +++ /dev/null
169 @@ -1,61 +0,0 @@
170 -# Copyright 1999-2022 Gentoo Authors
171 -# Distributed under the terms of the GNU General Public License v2
172 -
173 -EAPI=8
174 -
175 -DISTUTILS_USE_PEP517=setuptools
176 -PYTHON_COMPAT=( python3_{8..10} )
177 -
178 -inherit distutils-r1 multiprocessing
179 -
180 -DESCRIPTION="Optional static typing for Python"
181 -HOMEPAGE="
182 - http://www.mypy-lang.org/
183 - https://github.com/python/mypy/
184 - https://pypi.org/project/mypy/
185 -"
186 -SRC_URI="
187 - https://github.com/python/mypy/archive/v${PV}.tar.gz -> ${P}.tar.gz
188 -"
189 -
190 -LICENSE="MIT"
191 -SLOT="0"
192 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
193 -
194 -# stubgen collides with this package: https://bugs.gentoo.org/585594
195 -RDEPEND="
196 - !dev-util/stubgen
197 - >=dev-python/psutil-4[${PYTHON_USEDEP}]
198 - >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]
199 - <dev-python/typed-ast-1.5.0[${PYTHON_USEDEP}]
200 - >=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}]
201 - >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}]
202 - <dev-python/mypy_extensions-0.5.0[${PYTHON_USEDEP}]
203 - $(python_gen_cond_dep '
204 - dev-python/tomli[${PYTHON_USEDEP}]
205 - ' 3.8 3.9 3.10)
206 -"
207 -BDEPEND="
208 - test? (
209 - >=dev-python/attrs-18.0[${PYTHON_USEDEP}]
210 - >=dev-python/lxml-4.4.0[${PYTHON_USEDEP}]
211 - >=dev-python/pytest-6.1.0[${PYTHON_USEDEP}]
212 - >=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}]
213 - >=dev-python/py-1.5.2[${PYTHON_USEDEP}]
214 - >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]
215 - >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]
216 - )
217 -"
218 -
219 -distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme
220 -distutils_enable_tests pytest
221 -
222 -# this requires packaging a lot of type stubs
223 -export MYPY_USE_MYPYC=0
224 -
225 -python_test() {
226 - # Some mypy/test/testcmdline.py::PythonCmdlineSuite tests
227 - # fail with high COLUMNS values
228 - local -x COLUMNS=80
229 - epytest -n "$(makeopts_jobs)"
230 -}