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, 27 Aug 2022 23:05:08
Message-Id: 1661623945.4c340cda5eebb87703896d7527b6082a5e73a2e3.mgorny@gentoo
1 commit: 4c340cda5eebb87703896d7527b6082a5e73a2e3
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 27 18:12:25 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 27 18:12:25 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c340cda
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 | 1 -
13 dev-python/mypy/mypy-0.961.ebuild | 62 ---------------------------------------
14 2 files changed, 63 deletions(-)
15
16 diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest
17 index 6f06f70e857c..f119a4becb2e 100644
18 --- a/dev-python/mypy/Manifest
19 +++ b/dev-python/mypy/Manifest
20 @@ -1,2 +1 @@
21 -DIST mypy-0.961.gh.tar.gz 2767264 BLAKE2B 333e860f2416d065fd26f29f818e88c25f223c8f558bd174280ccfbe856c823253095830cc9cc44dd453b3661583d7626e5679ce1e44479b62ed75139051a9a2 SHA512 f7f57d38777256a45c950a45e832b6f1b9465a6663056472a9b32dc8c1d38b4d28ed856f4de12202de5910eeb6197a22073e12924a1e3f58d5631aaa938c0f2a
22 DIST mypy-0.971.gh.tar.gz 2808674 BLAKE2B 7f3b183a4c5342ddfc501b8091c078ac55803db86d43042220e18e3e616664ce91ddeb341b45b1d80c7686f8c2f3606af074a5dcb9c9eaacd6307578d3689981 SHA512 5088efbd74385b5a8c155ae6e756deed274bf3e597df13e57970a29c029c34c91453c45fc1d2d03b7d83cd786b8930a387a781e1b9cb72102c1f07263a346c6d
23
24 diff --git a/dev-python/mypy/mypy-0.961.ebuild b/dev-python/mypy/mypy-0.961.ebuild
25 deleted file mode 100644
26 index e51f025cb461..000000000000
27 --- a/dev-python/mypy/mypy-0.961.ebuild
28 +++ /dev/null
29 @@ -1,62 +0,0 @@
30 -# Copyright 1999-2022 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=8
34 -
35 -DISTUTILS_USE_PEP517=setuptools
36 -PYTHON_COMPAT=( python3_{8..10} )
37 -
38 -inherit distutils-r1 multiprocessing
39 -
40 -DESCRIPTION="Optional static typing for Python"
41 -HOMEPAGE="
42 - http://www.mypy-lang.org/
43 - https://github.com/python/mypy/
44 - https://pypi.org/project/mypy/
45 -"
46 -SRC_URI="
47 - https://github.com/python/mypy/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
48 -"
49 -
50 -LICENSE="MIT"
51 -SLOT="0"
52 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
53 -
54 -# stubgen collides with this package: https://bugs.gentoo.org/585594
55 -RDEPEND="
56 - !dev-util/stubgen
57 - >=dev-python/psutil-4[${PYTHON_USEDEP}]
58 - >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]
59 - <dev-python/typed-ast-1.5.0[${PYTHON_USEDEP}]
60 - >=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}]
61 - >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}]
62 - <dev-python/mypy_extensions-0.5.0[${PYTHON_USEDEP}]
63 - $(python_gen_cond_dep '
64 - dev-python/tomli[${PYTHON_USEDEP}]
65 - ' 3.8 3.9 3.10)
66 -"
67 -BDEPEND="
68 - test? (
69 - >=dev-python/attrs-18.0[${PYTHON_USEDEP}]
70 - >=dev-python/lxml-4.4.0[${PYTHON_USEDEP}]
71 - >=dev-python/pytest-6.1.0[${PYTHON_USEDEP}]
72 - >=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}]
73 - >=dev-python/py-1.5.2[${PYTHON_USEDEP}]
74 - >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]
75 - >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]
76 - )
77 -"
78 -
79 -distutils_enable_sphinx docs/source \
80 - dev-python/furo
81 -distutils_enable_tests pytest
82 -
83 -# this requires packaging a lot of type stubs
84 -export MYPY_USE_MYPYC=0
85 -
86 -python_test() {
87 - # Some mypy/test/testcmdline.py::PythonCmdlineSuite tests
88 - # fail with high COLUMNS values
89 - local -x COLUMNS=80
90 - epytest -n "$(makeopts_jobs)"
91 -}