1 |
commit: f0c73d02249b624357a1bba6d3b01f3fddd3d325 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 28 14:08:25 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 28 14:14:59 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0c73d02 |
7 |
|
8 |
dev-python/jupyter_server_mathjax: do not call npm |
9 |
|
10 |
Closes: https://bugs.gentoo.org/820317 |
11 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
12 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
13 |
|
14 |
.../jupyter_server_mathjax/jupyter_server_mathjax-0.2.3.ebuild | 8 ++++++++ |
15 |
1 file changed, 8 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/jupyter_server_mathjax/jupyter_server_mathjax-0.2.3.ebuild b/dev-python/jupyter_server_mathjax/jupyter_server_mathjax-0.2.3.ebuild |
18 |
index 54542e023dd4..2039caa6f85b 100644 |
19 |
--- a/dev-python/jupyter_server_mathjax/jupyter_server_mathjax-0.2.3.ebuild |
20 |
+++ b/dev-python/jupyter_server_mathjax/jupyter_server_mathjax-0.2.3.ebuild |
21 |
@@ -24,3 +24,11 @@ BDEPEND=" |
22 |
RDEPEND="dev-python/jupyter_server[${PYTHON_USEDEP}]" |
23 |
|
24 |
distutils_enable_tests pytest |
25 |
+ |
26 |
+python_prepare_all() { |
27 |
+ # Don't try (and fail) to fetch things from the internet with npm |
28 |
+ # https://bugs.gentoo.org/820317 |
29 |
+ sed -i -e '/install_npm(here)/d' setup.py || die |
30 |
+ |
31 |
+ distutils-r1_python_prepare_all |
32 |
+} |