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