1 |
commit: cb3769134c646fc22c73bc5992ac5620ff44904f |
2 |
Author: Mike Auty <ikelos <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 29 20:50:06 2019 +0000 |
4 |
Commit: Mike Auty <ikelos <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 29 20:51:48 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb376913 |
7 |
|
8 |
dev-python/mypy: Bump to 0.750 and fix pslist deps |
9 |
|
10 |
Bumped to 0.750. |
11 |
Removed old versions. |
12 |
Still unable to add python3.8 support (due to dependencies). |
13 |
Fixes bug 701320. |
14 |
|
15 |
Package-Manager: Portage-2.3.80, Repoman-2.3.19 |
16 |
Signed-off-by: Mike Auty <ikelos <AT> gentoo.org> |
17 |
|
18 |
dev-python/mypy/Manifest | 14 +--- |
19 |
dev-python/mypy/mypy-0.570.ebuild | 68 -------------------- |
20 |
dev-python/mypy/mypy-0.590.ebuild | 68 -------------------- |
21 |
dev-python/mypy/mypy-0.600.ebuild | 68 -------------------- |
22 |
dev-python/mypy/mypy-0.630.ebuild | 68 -------------------- |
23 |
dev-python/mypy/mypy-0.670.ebuild | 75 ---------------------- |
24 |
dev-python/mypy/mypy-0.740.ebuild | 3 +- |
25 |
.../mypy/{mypy-0.660.ebuild => mypy-0.750.ebuild} | 15 ++--- |
26 |
8 files changed, 8 insertions(+), 371 deletions(-) |
27 |
|
28 |
diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest |
29 |
index a511d3022ca..4505973edaf 100644 |
30 |
--- a/dev-python/mypy/Manifest |
31 |
+++ b/dev-python/mypy/Manifest |
32 |
@@ -1,18 +1,8 @@ |
33 |
-DIST mypy-0.570.tar.gz 1050041 BLAKE2B 034d49627242ad67283689a653d416e956ae0b78287f78d910aa2b3b2b07af5a07d08503259a2c26bbf37154a52b120fcad1bfbb3daccbd9b80d4c1e9fedbddf SHA512 f0822d9e757faedd9cbce5e8b47782fae02523244688a3900a9f202de9f68b5ae094da65526fba79911a42d4d0621c4e5bf1984e57201117db8f5b630314ea4c |
34 |
-DIST mypy-0.590.tar.gz 1081426 BLAKE2B 396083f81a1bf6f8230abe3e3e48b9fcf0288edfa6ae2bbcb7b6bd8f50f4e8dd093cacc326d561f5f10fce0bfd213e559d98e32a35a712bd022d8d0682f239d2 SHA512 129356a4326e80e292645e3b44b673ab463b1ad9b6388396680ca15a4c9aad6da2a3734a3da5d4ab005fb0572fd08863b20ba80e71af2e87d11546abc7fd78c0 |
35 |
-DIST mypy-0.600.tar.gz 1097269 BLAKE2B ee3327cdd7383a93f319335017815bb3341d1b91e3620f7bdc69d1c401e3c8aaa3157cfd8d4657fe072ad90b672017fc2b948ad4ff217d5e4ab91b8946d4569e SHA512 8e89bcbb53d385bbc3bf72de123d4a99230ee5154e1af19adccff7133f86495aa366058e04092356a80036214113ac90ecddcf5e30da59ae2a7c6f3d320b07ef |
36 |
-DIST mypy-0.630.tar.gz 1172089 BLAKE2B 672f05f5fa45b922ddebb5ea802358f8a63eecf2671540e9fd53419e9bf04f9513815bdb9cca546b4f9483443ea0d4b55bca259d972f124a33f3a77c4b853e17 SHA512 42e2874c2334d04a08a4ac95ea3adae6e910a7811abc9f8a480ae7b87b3034fa8096c12b4dba1d3a9722a2857da8bb76813dd1d858b828934273c1147bc7387d |
37 |
-DIST mypy-0.660.tar.gz 1274856 BLAKE2B da59dbae31df1c2c8530fddf44f02d608cc9019c9294919e015ef7e62ac8680162a044a98d109e5aa7cdb1f1a611b09659f828c2366ce5a850c23d5f68a11047 SHA512 4d18fb8e04ba2e4d290582ecc2af660ca26c4ef3ccf5ee5455f4be9fe9dabddafe644ce6463a8079dbfb04c463b759283af23014065f290edfa0255879bd0076 |
38 |
-DIST mypy-0.670.tar.gz 1376917 BLAKE2B 1c7de26e48d91a1dd8b007607e6e8989e6b622eb62ad98b3c575faef1373ba510acba546977d26984689c5cd245ea341022ae68209d498d8bac78b01760daa24 SHA512 1fb994410acb3ae3ef6c4380f1b76d2f65790fa7822067dfd75eb34d0336547f85810e475563c797dca268de35b1594217cb3edfe32033eb012d121a3a2e6406 |
39 |
DIST mypy-0.700.tar.gz 1413962 BLAKE2B 6739960bdb5984115b4bd84ec3ca63e6b7a4c4494c48fcde8bab4b3679814e3ffdbe1319a4c0e221e3cab6521d95568839ded58c29dc6f2528d15d684e3c870d SHA512 934adaaf8ef48a843c8cce159502a2d4ca9697cf44bfd9a1c0f77e05da9bfb75ec099819e5543a4bc2492c670ee1f1f843df82746aaf7573776006d7dc6b57b0 |
40 |
DIST mypy-0.701.tar.gz 1413988 BLAKE2B e705a1da6af8c68b9226d67acaf7976951ff5ddfe926f52cf51f70be59e75cd12cf303aad98e136ee342487c07e1273d0ca8ea582621552924c40ee725e6c01d SHA512 6dde048c211d1dd8f3c02af9500d5151588810d9989528ec4bee0ccbb5a8636fc4e03a373b80d177ca0937c0c92e0ffad1faf82b23db22248b782ec6812e3c1a |
41 |
DIST mypy-0.740.tar.gz 1916030 BLAKE2B ef2259fbfa24baa7dc28ed4818c988f5708d1f0be8665e97c5be231fe43f6edfeaf7f8cb4a6f05a8051b95b9457752238f044890686fdad9dce2e3fcf7f1a67f SHA512 f583be8bcb05d8f2c772f7d416bb425590263d759a719de67dc1186d0a1a8178a0c5461f90811c7799b06a49df820c98a3e369b3fcc4b045703d38084eafd0fe |
42 |
-DIST mypy-typeshed-0.570.tar.gz 413076 BLAKE2B 774a6d07308228c379a5deec2ee36a498863a1386181b47ceb8783537afdb75bc0fb4893b07cf8cf7bf5bfe977babbdc44a6420784e2cba6ce94346175858573 SHA512 e9afb2fe841fa82ed264a73a1ce6c1c0fede42008042a34cf21f1e39aabaa8f1cd945861aa9e80a86f61f1dd6a362892b25a1c5469915fbca95406e72740ba6d |
43 |
-DIST mypy-typeshed-0.590.tar.gz 413076 BLAKE2B 774a6d07308228c379a5deec2ee36a498863a1386181b47ceb8783537afdb75bc0fb4893b07cf8cf7bf5bfe977babbdc44a6420784e2cba6ce94346175858573 SHA512 e9afb2fe841fa82ed264a73a1ce6c1c0fede42008042a34cf21f1e39aabaa8f1cd945861aa9e80a86f61f1dd6a362892b25a1c5469915fbca95406e72740ba6d |
44 |
-DIST mypy-typeshed-0.600-2dc7d39.tar.gz 425045 BLAKE2B e2ef63f2ed988f77f52e2a01c158ff8e3fbdec118c1f613ffe6c57d025da8d5bcf6dc0e6bcbc1bb8655fbf340a0f358535d7e1ed214a5a1af8e3188f2dde5459 SHA512 9c960c2dcb2cd5ed36d77efa47a5632698e841b685386f8d5a31200c61235b68d627fc450d070955ab14962d6a70a2d538929e2dc845512e83161c0299d91807 |
45 |
-DIST mypy-typeshed-0.630-8ed0159.tar.gz 451750 BLAKE2B 8d59204bf71fadc36788d93e817fe22cd498dfee08709f4c72ba67bca34d0db4792ea1a01f5632b5b52e94298c183e804357c9bb043e28e0628d82320d20852c SHA512 6c5a03853da452f6540b8411bd702ec59e70aae8ca6f923c16959bdba1ee97a619704c5825faa9e428151898b648f0436f9c9dd0c5ef20f5022598e3b88afcb3 |
46 |
-DIST mypy-typeshed-0.660-f343150.tar.gz 456324 BLAKE2B b7a0f7e3da84b4be8c4cfdb43a62887ab433c22395af2ecee558440b15b9ffadf824c1eb3e8084d8c74ec61301a14f73a7e1ed4802522481e3545872be3f1010 SHA512 c64dd1aa2eb1bb6a0bebe819f7f9ee1b81fb6f6f1da5a2246f5b60aea97a16d86051dcef176b673afe9788bf16f5378d03c5b071f72b9aea727737ddb5adbaca |
47 |
-DIST mypy-typeshed-0.670-3eb66ba.tar.gz 462981 BLAKE2B 9e321e71637edf6b7b08bdad3ffe76798aec2ad9ff7be0d1649e29ae7543536a6a6d413d9bd9bc4b15e164500e95ee3ba2ad58abc8f984499493c4753dd39337 SHA512 2b3d59451caaf4779c6543cee70461afd9a95b809ba5db7b0fc43e02711d8c4b28c98f680d9ddb9f0c01dcfb5011b6626fe746187c47e737d87689245da9344a |
48 |
+DIST mypy-0.750.tar.gz 1976988 BLAKE2B 46c008debb2d0f1757d4cc300adba53460c7e888650e9798c526bc55f16cdd79d0b9e5a52f1c5a45b4114446d3724211a513f3e4c98bd85c9e8e3f94587b6ba0 SHA512 6fbfb45296abd3d390d6fe97a39a63129cc1555645da9b4d81f08c6da5c4f45640690fbb7957a6c52144c06106e4148d3cfc244e5648b006c58445a3c49d0c63 |
49 |
DIST mypy-typeshed-0.700-f7c00b8.tar.gz 467098 BLAKE2B f10c9c6b3cfe9bc8518950839c2bb00d22521b6696a155cf721d34aac46205a8415f569d566f20ce865a44c23e5935748e5e488aff22950fbdd12bad4e679a42 SHA512 88e1ca3bc88f349a26cbd97303398de270eaf9332432b0402d7b44794cadbca86612df98ff1abed2a146450df760278946cb8eecc660f3dd5e00439c60807362 |
50 |
DIST mypy-typeshed-0.701-36b28e5.tar.gz 466822 BLAKE2B 6a1e2ae84250d6e51649aab9b1c65f4258533bc54ba470162ad4c4e894d6c73f32a9087fea3501f5b833069c717e6037dd848a514c5ea2880eca081337962806 SHA512 27fe5dda347903ac8fc925c7bc7d91ff0bac6421315a49fc8227f5ef8f476e6bcacafd07b87f80ee8dddc73009dc2f52fe6a57fd542283fcf2c52440ca09256e |
51 |
DIST mypy-typeshed-0.740-eca9375.tar.gz 480468 BLAKE2B 7c31e59e93303feced9730e505101641874c61cba1c68a5083c412b1e5ae50d704d69b77b23b0a54b33c8788b7a0c1cc519fbf8eb923e9124b3facfdee1f782f SHA512 53abd0aa58f58c6d3a4b4260d21053b5ab528dc1c736072942967bf21903cfea0105d92662693ca69bd7e795db481454705b57d8daf26a37728633a3c7173a3f |
52 |
+DIST mypy-typeshed-0.750-8df632b.tar.gz 494170 BLAKE2B cea871eee0e7f8e3bb0ea5bddf9936ac30dbc57b483a2b9927bd4e824d797ecb96c1dd9e9a9cbe59f76c3d5616ebeb28f8b60a2a8a2f3f048cd710612eb0b2e7 SHA512 409ec4de49322ab87cb3e146e654132bc8f217559b48b662e3ab4335a171d744f29d5dacd375bd0ead17c59fa07a398be61c8ab2f3d4fe2649a46348df371968 |
53 |
|
54 |
diff --git a/dev-python/mypy/mypy-0.570.ebuild b/dev-python/mypy/mypy-0.570.ebuild |
55 |
deleted file mode 100644 |
56 |
index de6fef14ee6..00000000000 |
57 |
--- a/dev-python/mypy/mypy-0.570.ebuild |
58 |
+++ /dev/null |
59 |
@@ -1,68 +0,0 @@ |
60 |
-# Copyright 1999-2019 Gentoo Authors |
61 |
-# Distributed under the terms of the GNU General Public License v2 |
62 |
- |
63 |
-EAPI=6 |
64 |
-PYTHON_COMPAT=( python3_{5,6} ) |
65 |
- |
66 |
-if [ "${PV}" == "9999" ]; then |
67 |
- inherit distutils-r1 git-r3 |
68 |
- EGIT_REPO_URI="https://github.com/python/${PN}" |
69 |
- SRC_URI="" |
70 |
-else |
71 |
- inherit distutils-r1 |
72 |
- TYPESHED_COMMIT="9b6df1d" |
73 |
- SRC_URI="https://github.com/python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz |
74 |
- https://api.github.com/repos/python/typeshed/tarball/${TYPESHED_COMMIT} -> mypy-typeshed-${PV}.tar.gz" |
75 |
-fi |
76 |
- |
77 |
-DESCRIPTION="Optional static typing for Python" |
78 |
-HOMEPAGE="http://www.mypy-lang.org/" |
79 |
- |
80 |
-LICENSE="MIT" |
81 |
-SLOT="0" |
82 |
-KEYWORDS="~amd64 ~x86" |
83 |
-IUSE="doc test" |
84 |
- |
85 |
-DEPEND=" |
86 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
87 |
- test? ( dev-python/flake8[${PYTHON_USEDEP}] ) |
88 |
- doc? ( |
89 |
- dev-python/sphinx[${PYTHON_USEDEP}] |
90 |
- dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] |
91 |
- ) |
92 |
-" |
93 |
-CDEPEND=" |
94 |
- !dev-util/stubgen |
95 |
- >=dev-python/psutil-5.4.0[${PYTHON_USEDEP}] |
96 |
- <dev-python/psutil-5.5.0[${PYTHON_USEDEP}] |
97 |
- >=dev-python/typed-ast-1.1.0[${PYTHON_USEDEP}] |
98 |
- <dev-python/typed-ast-1.2.0[${PYTHON_USEDEP}] |
99 |
- " |
100 |
- |
101 |
-RDEPEND="${CDEPEND}" |
102 |
- |
103 |
-src_unpack() { |
104 |
- if [ "${PV}" == "9999" ]; then |
105 |
- git-r3_src_unpack |
106 |
- else |
107 |
- unpack ${A} |
108 |
- rmdir "${S}/typeshed" |
109 |
- mv "${WORKDIR}/python-typeshed-${TYPESHED_COMMIT}" "${S}/typeshed" |
110 |
- fi |
111 |
-} |
112 |
- |
113 |
-python_compile_all() { |
114 |
- use doc && emake -C docs html |
115 |
-} |
116 |
- |
117 |
-python_test() { |
118 |
- local PYTHONPATH="$(pwd)" |
119 |
- |
120 |
- "${PYTHON}" runtests.py || die "tests failed under ${EPYTHON}" |
121 |
-} |
122 |
- |
123 |
-python_install_all() { |
124 |
- use doc && local HTML_DOCS=( docs/build/html/. ) |
125 |
- |
126 |
- distutils-r1_python_install_all |
127 |
-} |
128 |
|
129 |
diff --git a/dev-python/mypy/mypy-0.590.ebuild b/dev-python/mypy/mypy-0.590.ebuild |
130 |
deleted file mode 100644 |
131 |
index de6fef14ee6..00000000000 |
132 |
--- a/dev-python/mypy/mypy-0.590.ebuild |
133 |
+++ /dev/null |
134 |
@@ -1,68 +0,0 @@ |
135 |
-# Copyright 1999-2019 Gentoo Authors |
136 |
-# Distributed under the terms of the GNU General Public License v2 |
137 |
- |
138 |
-EAPI=6 |
139 |
-PYTHON_COMPAT=( python3_{5,6} ) |
140 |
- |
141 |
-if [ "${PV}" == "9999" ]; then |
142 |
- inherit distutils-r1 git-r3 |
143 |
- EGIT_REPO_URI="https://github.com/python/${PN}" |
144 |
- SRC_URI="" |
145 |
-else |
146 |
- inherit distutils-r1 |
147 |
- TYPESHED_COMMIT="9b6df1d" |
148 |
- SRC_URI="https://github.com/python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz |
149 |
- https://api.github.com/repos/python/typeshed/tarball/${TYPESHED_COMMIT} -> mypy-typeshed-${PV}.tar.gz" |
150 |
-fi |
151 |
- |
152 |
-DESCRIPTION="Optional static typing for Python" |
153 |
-HOMEPAGE="http://www.mypy-lang.org/" |
154 |
- |
155 |
-LICENSE="MIT" |
156 |
-SLOT="0" |
157 |
-KEYWORDS="~amd64 ~x86" |
158 |
-IUSE="doc test" |
159 |
- |
160 |
-DEPEND=" |
161 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
162 |
- test? ( dev-python/flake8[${PYTHON_USEDEP}] ) |
163 |
- doc? ( |
164 |
- dev-python/sphinx[${PYTHON_USEDEP}] |
165 |
- dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] |
166 |
- ) |
167 |
-" |
168 |
-CDEPEND=" |
169 |
- !dev-util/stubgen |
170 |
- >=dev-python/psutil-5.4.0[${PYTHON_USEDEP}] |
171 |
- <dev-python/psutil-5.5.0[${PYTHON_USEDEP}] |
172 |
- >=dev-python/typed-ast-1.1.0[${PYTHON_USEDEP}] |
173 |
- <dev-python/typed-ast-1.2.0[${PYTHON_USEDEP}] |
174 |
- " |
175 |
- |
176 |
-RDEPEND="${CDEPEND}" |
177 |
- |
178 |
-src_unpack() { |
179 |
- if [ "${PV}" == "9999" ]; then |
180 |
- git-r3_src_unpack |
181 |
- else |
182 |
- unpack ${A} |
183 |
- rmdir "${S}/typeshed" |
184 |
- mv "${WORKDIR}/python-typeshed-${TYPESHED_COMMIT}" "${S}/typeshed" |
185 |
- fi |
186 |
-} |
187 |
- |
188 |
-python_compile_all() { |
189 |
- use doc && emake -C docs html |
190 |
-} |
191 |
- |
192 |
-python_test() { |
193 |
- local PYTHONPATH="$(pwd)" |
194 |
- |
195 |
- "${PYTHON}" runtests.py || die "tests failed under ${EPYTHON}" |
196 |
-} |
197 |
- |
198 |
-python_install_all() { |
199 |
- use doc && local HTML_DOCS=( docs/build/html/. ) |
200 |
- |
201 |
- distutils-r1_python_install_all |
202 |
-} |
203 |
|
204 |
diff --git a/dev-python/mypy/mypy-0.600.ebuild b/dev-python/mypy/mypy-0.600.ebuild |
205 |
deleted file mode 100644 |
206 |
index 49eba971b1a..00000000000 |
207 |
--- a/dev-python/mypy/mypy-0.600.ebuild |
208 |
+++ /dev/null |
209 |
@@ -1,68 +0,0 @@ |
210 |
-# Copyright 1999-2019 Gentoo Authors |
211 |
-# Distributed under the terms of the GNU General Public License v2 |
212 |
- |
213 |
-EAPI=6 |
214 |
-PYTHON_COMPAT=( python3_{5,6} ) |
215 |
- |
216 |
-if [ "${PV}" == "9999" ]; then |
217 |
- inherit distutils-r1 git-r3 |
218 |
- EGIT_REPO_URI="https://github.com/python/${PN}" |
219 |
- SRC_URI="" |
220 |
-else |
221 |
- inherit distutils-r1 |
222 |
- TYPESHED_COMMIT="2dc7d39" |
223 |
- SRC_URI="https://github.com/python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz |
224 |
- https://api.github.com/repos/python/typeshed/tarball/${TYPESHED_COMMIT} -> mypy-typeshed-${PV}-${TYPESHED_COMMIT}.tar.gz" |
225 |
-fi |
226 |
- |
227 |
-DESCRIPTION="Optional static typing for Python" |
228 |
-HOMEPAGE="http://www.mypy-lang.org/" |
229 |
- |
230 |
-LICENSE="MIT" |
231 |
-SLOT="0" |
232 |
-KEYWORDS="~amd64 ~x86" |
233 |
-IUSE="doc test" |
234 |
- |
235 |
-DEPEND=" |
236 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
237 |
- test? ( dev-python/flake8[${PYTHON_USEDEP}] ) |
238 |
- doc? ( |
239 |
- dev-python/sphinx[${PYTHON_USEDEP}] |
240 |
- dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] |
241 |
- ) |
242 |
-" |
243 |
-CDEPEND=" |
244 |
- !dev-util/stubgen |
245 |
- >=dev-python/psutil-5.4.0[${PYTHON_USEDEP}] |
246 |
- <dev-python/psutil-5.5.0[${PYTHON_USEDEP}] |
247 |
- >=dev-python/typed-ast-1.1.0[${PYTHON_USEDEP}] |
248 |
- <dev-python/typed-ast-1.2.0[${PYTHON_USEDEP}] |
249 |
- " |
250 |
- |
251 |
-RDEPEND="${CDEPEND}" |
252 |
- |
253 |
-src_unpack() { |
254 |
- if [ "${PV}" == "9999" ]; then |
255 |
- git-r3_src_unpack |
256 |
- else |
257 |
- unpack ${A} |
258 |
- rmdir "${S}/typeshed" |
259 |
- mv "${WORKDIR}/python-typeshed-${TYPESHED_COMMIT}" "${S}/typeshed" |
260 |
- fi |
261 |
-} |
262 |
- |
263 |
-python_compile_all() { |
264 |
- use doc && emake -C docs html |
265 |
-} |
266 |
- |
267 |
-python_test() { |
268 |
- local PYTHONPATH="$(pwd)" |
269 |
- |
270 |
- "${PYTHON}" runtests.py || die "tests failed under ${EPYTHON}" |
271 |
-} |
272 |
- |
273 |
-python_install_all() { |
274 |
- use doc && local HTML_DOCS=( docs/build/html/. ) |
275 |
- |
276 |
- distutils-r1_python_install_all |
277 |
-} |
278 |
|
279 |
diff --git a/dev-python/mypy/mypy-0.630.ebuild b/dev-python/mypy/mypy-0.630.ebuild |
280 |
deleted file mode 100644 |
281 |
index 570bc6c7edc..00000000000 |
282 |
--- a/dev-python/mypy/mypy-0.630.ebuild |
283 |
+++ /dev/null |
284 |
@@ -1,68 +0,0 @@ |
285 |
-# Copyright 1999-2019 Gentoo Authors |
286 |
-# Distributed under the terms of the GNU General Public License v2 |
287 |
- |
288 |
-EAPI=6 |
289 |
-PYTHON_COMPAT=( python3_{5,6} ) |
290 |
- |
291 |
-if [ "${PV}" == "9999" ]; then |
292 |
- inherit distutils-r1 git-r3 |
293 |
- EGIT_REPO_URI="https://github.com/python/${PN}" |
294 |
- SRC_URI="" |
295 |
-else |
296 |
- inherit distutils-r1 |
297 |
- TYPESHED_COMMIT="8ed0159" |
298 |
- SRC_URI="https://github.com/python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz |
299 |
- https://api.github.com/repos/python/typeshed/tarball/${TYPESHED_COMMIT} -> mypy-typeshed-${PV}-${TYPESHED_COMMIT}.tar.gz" |
300 |
-fi |
301 |
- |
302 |
-DESCRIPTION="Optional static typing for Python" |
303 |
-HOMEPAGE="http://www.mypy-lang.org/" |
304 |
- |
305 |
-LICENSE="MIT" |
306 |
-SLOT="0" |
307 |
-KEYWORDS="~amd64 ~x86" |
308 |
-IUSE="doc test" |
309 |
- |
310 |
-DEPEND=" |
311 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
312 |
- test? ( dev-python/flake8[${PYTHON_USEDEP}] ) |
313 |
- doc? ( |
314 |
- dev-python/sphinx[${PYTHON_USEDEP}] |
315 |
- dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] |
316 |
- ) |
317 |
-" |
318 |
-CDEPEND=" |
319 |
- !dev-util/stubgen |
320 |
- >=dev-python/psutil-5.4.0[${PYTHON_USEDEP}] |
321 |
- <dev-python/psutil-5.5.0[${PYTHON_USEDEP}] |
322 |
- >=dev-python/typed-ast-1.1.0[${PYTHON_USEDEP}] |
323 |
- <dev-python/typed-ast-1.2.0[${PYTHON_USEDEP}] |
324 |
- " |
325 |
- |
326 |
-RDEPEND="${CDEPEND}" |
327 |
- |
328 |
-src_unpack() { |
329 |
- if [ "${PV}" == "9999" ]; then |
330 |
- git-r3_src_unpack |
331 |
- else |
332 |
- unpack ${A} |
333 |
- rmdir "${S}/mypy/typeshed" |
334 |
- mv "${WORKDIR}/python-typeshed-${TYPESHED_COMMIT}" "${S}/mypy/typeshed" |
335 |
- fi |
336 |
-} |
337 |
- |
338 |
-python_compile_all() { |
339 |
- use doc && emake -C docs html |
340 |
-} |
341 |
- |
342 |
-python_test() { |
343 |
- local PYTHONPATH="$(pwd)" |
344 |
- |
345 |
- "${PYTHON}" runtests.py || die "tests failed under ${EPYTHON}" |
346 |
-} |
347 |
- |
348 |
-python_install_all() { |
349 |
- use doc && local HTML_DOCS=( docs/build/html/. ) |
350 |
- |
351 |
- distutils-r1_python_install_all |
352 |
-} |
353 |
|
354 |
diff --git a/dev-python/mypy/mypy-0.670.ebuild b/dev-python/mypy/mypy-0.670.ebuild |
355 |
deleted file mode 100644 |
356 |
index f163167fb71..00000000000 |
357 |
--- a/dev-python/mypy/mypy-0.670.ebuild |
358 |
+++ /dev/null |
359 |
@@ -1,75 +0,0 @@ |
360 |
-# Copyright 1999-2019 Gentoo Authors |
361 |
-# Distributed under the terms of the GNU General Public License v2 |
362 |
- |
363 |
-EAPI=6 |
364 |
-PYTHON_COMPAT=( python3_{5,6,7} ) |
365 |
- |
366 |
-if [ "${PV}" == "9999" ]; then |
367 |
- inherit distutils-r1 git-r3 |
368 |
- EGIT_REPO_URI="https://github.com/python/${PN}" |
369 |
- SRC_URI="" |
370 |
-else |
371 |
- inherit distutils-r1 |
372 |
- TYPESHED_COMMIT="3eb66ba" |
373 |
- SRC_URI="https://github.com/python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz |
374 |
- https://api.github.com/repos/python/typeshed/tarball/${TYPESHED_COMMIT} -> mypy-typeshed-${PV}-${TYPESHED_COMMIT}.tar.gz" |
375 |
-fi |
376 |
- |
377 |
-DESCRIPTION="Optional static typing for Python" |
378 |
-HOMEPAGE="http://www.mypy-lang.org/" |
379 |
- |
380 |
-LICENSE="MIT" |
381 |
-SLOT="0" |
382 |
-KEYWORDS="~amd64 ~x86" |
383 |
-IUSE="doc test" |
384 |
- |
385 |
-DEPEND=" |
386 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
387 |
- test? ( dev-python/flake8[${PYTHON_USEDEP}] ) |
388 |
- doc? ( |
389 |
- dev-python/sphinx[${PYTHON_USEDEP}] |
390 |
- dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] |
391 |
- ) |
392 |
-" |
393 |
-CDEPEND=" |
394 |
- !dev-util/stubgen |
395 |
- >=dev-python/psutil-5.4.0[${PYTHON_USEDEP}] |
396 |
- <dev-python/psutil-5.5.0[${PYTHON_USEDEP}] |
397 |
- >=dev-python/typed-ast-1.3.1[${PYTHON_USEDEP}] |
398 |
- <dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}] |
399 |
- >=dev-python/mypy_extensions-0.4.0[${PYTHON_USEDEP}] |
400 |
- <dev-python/mypy_extensions-0.5.0[${PYTHON_USEDEP}] |
401 |
- " |
402 |
- |
403 |
-RDEPEND="${CDEPEND}" |
404 |
- |
405 |
-src_unpack() { |
406 |
- if [ "${PV}" == "9999" ]; then |
407 |
- git-r3_src_unpack |
408 |
- else |
409 |
- unpack ${A} |
410 |
- rmdir "${S}/mypy/typeshed" |
411 |
- mv "${WORKDIR}/python-typeshed-${TYPESHED_COMMIT}" "${S}/mypy/typeshed" |
412 |
- fi |
413 |
-} |
414 |
- |
415 |
-src_prepare() { |
416 |
- sed -i -e 's/mypy_extensions >= 0.4.0, < 0.5.0/mypy_extensions >= 0.4.0, < 0.6.0/' "${S}/setup.py" |
417 |
- default |
418 |
-} |
419 |
- |
420 |
-python_compile_all() { |
421 |
- use doc && emake -C docs html |
422 |
-} |
423 |
- |
424 |
-python_test() { |
425 |
- local PYTHONPATH="$(pwd)" |
426 |
- |
427 |
- "${PYTHON}" runtests.py || die "tests failed under ${EPYTHON}" |
428 |
-} |
429 |
- |
430 |
-python_install_all() { |
431 |
- use doc && local HTML_DOCS=( docs/build/html/. ) |
432 |
- |
433 |
- distutils-r1_python_install_all |
434 |
-} |
435 |
|
436 |
diff --git a/dev-python/mypy/mypy-0.740.ebuild b/dev-python/mypy/mypy-0.740.ebuild |
437 |
index 548803e201f..40b579062ab 100644 |
438 |
--- a/dev-python/mypy/mypy-0.740.ebuild |
439 |
+++ b/dev-python/mypy/mypy-0.740.ebuild |
440 |
@@ -33,8 +33,7 @@ DEPEND=" |
441 |
" |
442 |
CDEPEND=" |
443 |
!dev-util/stubgen |
444 |
- >=dev-python/psutil-5.4.0[${PYTHON_USEDEP}] |
445 |
- <dev-python/psutil-5.5.0[${PYTHON_USEDEP}] |
446 |
+ >=dev-python/psutil-4[${PYTHON_USEDEP}] |
447 |
>=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}] |
448 |
<dev-python/typed-ast-1.5.0[${PYTHON_USEDEP}] |
449 |
>=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}] |
450 |
|
451 |
diff --git a/dev-python/mypy/mypy-0.660.ebuild b/dev-python/mypy/mypy-0.750.ebuild |
452 |
similarity index 81% |
453 |
rename from dev-python/mypy/mypy-0.660.ebuild |
454 |
rename to dev-python/mypy/mypy-0.750.ebuild |
455 |
index 3058178afb6..5301bd6fecb 100644 |
456 |
--- a/dev-python/mypy/mypy-0.660.ebuild |
457 |
+++ b/dev-python/mypy/mypy-0.750.ebuild |
458 |
@@ -10,7 +10,7 @@ if [ "${PV}" == "9999" ]; then |
459 |
SRC_URI="" |
460 |
else |
461 |
inherit distutils-r1 |
462 |
- TYPESHED_COMMIT="f343150" |
463 |
+ TYPESHED_COMMIT="8df632b" |
464 |
SRC_URI="https://github.com/python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz |
465 |
https://api.github.com/repos/python/typeshed/tarball/${TYPESHED_COMMIT} -> mypy-typeshed-${PV}-${TYPESHED_COMMIT}.tar.gz" |
466 |
fi |
467 |
@@ -33,10 +33,10 @@ DEPEND=" |
468 |
" |
469 |
CDEPEND=" |
470 |
!dev-util/stubgen |
471 |
- >=dev-python/psutil-5.4.0[${PYTHON_USEDEP}] |
472 |
- <dev-python/psutil-5.5.0[${PYTHON_USEDEP}] |
473 |
- >=dev-python/typed-ast-1.2.0[${PYTHON_USEDEP}] |
474 |
- <dev-python/typed-ast-1.3.0[${PYTHON_USEDEP}] |
475 |
+ >=dev-python/psutil-4[${PYTHON_USEDEP}] |
476 |
+ >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}] |
477 |
+ <dev-python/typed-ast-1.5.0[${PYTHON_USEDEP}] |
478 |
+ >=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}] |
479 |
>=dev-python/mypy_extensions-0.4.0[${PYTHON_USEDEP}] |
480 |
<dev-python/mypy_extensions-0.5.0[${PYTHON_USEDEP}] |
481 |
" |
482 |
@@ -53,11 +53,6 @@ src_unpack() { |
483 |
fi |
484 |
} |
485 |
|
486 |
-src_prepare() { |
487 |
- sed -i -e 's/mypy_extensions >= 0.4.0, < 0.5.0/mypy_extensions >= 0.4.0, < 0.6.0/' "${S}/setup.py" |
488 |
- default |
489 |
-} |
490 |
- |
491 |
python_compile_all() { |
492 |
use doc && emake -C docs html |
493 |
} |