1 |
commit: f2247b336beb039806ccf884bd6c86cf5cff87be |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 7 07:21:10 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 7 07:27:48 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2247b33 |
7 |
|
8 |
dev-python/mypy_extensions: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
.../mypy_extensions/mypy_extensions-0.4.3.ebuild | 50 ---------------------- |
13 |
1 file changed, 50 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/mypy_extensions/mypy_extensions-0.4.3.ebuild b/dev-python/mypy_extensions/mypy_extensions-0.4.3.ebuild |
16 |
deleted file mode 100644 |
17 |
index 0536aa7c3de..00000000000 |
18 |
--- a/dev-python/mypy_extensions/mypy_extensions-0.4.3.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,50 +0,0 @@ |
21 |
-# Copyright 1999-2020 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=6 |
25 |
-PYTHON_COMPAT=( python3_6 python3_7 python3_8 ) |
26 |
- |
27 |
-inherit distutils-r1 |
28 |
- |
29 |
-DESCRIPTION="Optional static typing for Python" |
30 |
-HOMEPAGE="http://www.mypy-lang.org/" |
31 |
-SRC_URI="https://github.com/python/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
32 |
- |
33 |
-if [ "${PV}" == "9999" ]; then |
34 |
-inherit git-r3 |
35 |
-EGIT_REPO_URI="https://github.com/python/${PN}" |
36 |
-EGIT_COMMIT="master" |
37 |
-else |
38 |
-EGIT_REPO_URI="${PV}" |
39 |
-fi |
40 |
- |
41 |
-LICENSE="MIT" |
42 |
-SLOT="0" |
43 |
-KEYWORDS="amd64 x86" |
44 |
-IUSE="doc test" |
45 |
-RESTRICT="!test? ( test )" |
46 |
- |
47 |
-RDEPEND=" |
48 |
- doc? ( |
49 |
- dev-python/sphinx[${PYTHON_USEDEP}] |
50 |
- dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] |
51 |
- ) |
52 |
-" |
53 |
-DEPEND=" |
54 |
- test? ( dev-python/flake8[${PYTHON_USEDEP}] ) |
55 |
- ${RDEPEND} |
56 |
-" |
57 |
- |
58 |
-python_compile_all() { |
59 |
- use doc && emake -C docs html |
60 |
-} |
61 |
- |
62 |
-python_test() { |
63 |
- "${PYTHON}" -m unittest discover tests -v || die "tests fail with ${EPYTHON}" |
64 |
-} |
65 |
- |
66 |
-python_install_all() { |
67 |
- use doc && local HTML_DOCS=( docs/build/html/. ) |
68 |
- |
69 |
- distutils-r1_python_install_all |
70 |
-} |