1 |
commit: 545ae8944fe940a934a9d75f325309cca2b26963 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 31 06:36:39 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 31 06:38:01 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=545ae894 |
7 |
|
8 |
dev-python/jupyter_console: Fix installing entry points |
9 |
|
10 |
Closes: https://bugs.gentoo.org/734786 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
...jupyter_console-6.1.0.ebuild => jupyter_console-6.1.0-r1.ebuild} | 6 ++++++ |
14 |
1 file changed, 6 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/jupyter_console/jupyter_console-6.1.0.ebuild b/dev-python/jupyter_console/jupyter_console-6.1.0-r1.ebuild |
17 |
similarity index 86% |
18 |
rename from dev-python/jupyter_console/jupyter_console-6.1.0.ebuild |
19 |
rename to dev-python/jupyter_console/jupyter_console-6.1.0-r1.ebuild |
20 |
index 1ef4cd71b97..a17d1256538 100644 |
21 |
--- a/dev-python/jupyter_console/jupyter_console-6.1.0.ebuild |
22 |
+++ b/dev-python/jupyter_console/jupyter_console-6.1.0-r1.ebuild |
23 |
@@ -37,6 +37,12 @@ PATCHES=( |
24 |
"${FILESDIR}"/${P}-py39.patch |
25 |
) |
26 |
|
27 |
+src_prepare() { |
28 |
+ # use setuptools unconditionally |
29 |
+ sed -i -e 's:distutils\.core:setuptools:' setup.py || die |
30 |
+ distutils-r1_src_prepare |
31 |
+} |
32 |
+ |
33 |
python_test() { |
34 |
script -eqc "nosetests -v" || die |
35 |
} |